Guest-1052: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
[https://ourworldoftext.com/archivetests /archivetests] | [https://ourworldoftext.com/archivetests /archivetests] | ||
[[File:Archivetests.png|center|thumb|/archivetests in its entirety(''as of May 6th, 2025'')]] | [[File:Archivetests.png|center|thumb|/archivetests in its entirety(''as of May 6th, 2025'')]] | ||
== Scripts == | |||
=== Headache3d === | |||
A script for viewing OWOT through a 3D interface. | |||
It can also be used on [[Your World of Text|YWOT]] and [[Our World of Pixels|OWOP]]. | |||
Updates added features like sound effects, a more detailed skybox, the ability to jump/fly, the ability to adjust perspective, better movement, and a separate mode that imposes a gun onto the UI which users can fire. | |||
'''''<small>*For a 3D text canvas, see [[Related Sites#Typetobuild.com(3D YWOT)|typetobuild.com]].</small>''''' | |||
<div class="mw-collapsible mw-collapsed" data-expandtext="Open Collapsible" data-collapsetext="Close Collapsible"> | |||
/* HEADACHE3D - EXTENDED! */ | |||
/* I've told headache3d will stop getting updates but i've decided to make a extended version. | |||
this version is better for development. | |||
This is not Headache3D 2. Headache3D 2 will be a full rewrite of the engine because this engine right now is using css for 3D, Not too good. | |||
If you have a idea, DM me on discord, I'll be happy to add it since this release is fully made from my ideas. | |||
Also this release was beautified via beautifier.io | |||
*/ | |||
footstep = new Audio("<nowiki>https://www.myinstants.com/media/sounds/fnaf-footstep2.mp3</nowiki>"); | |||
jump = new Audio("<nowiki>https://www.myinstants.com/media/sounds/cartoon-jump.mp3</nowiki>"); | |||
per = "120"; | |||
why = "0" | |||
dingdingdong = "0"; | |||
update = _ => { | |||
owot.style.transform = "perspective(" + per + "px) rotateX(65deg) rotate(" + dingdingdong + "deg) translate3d(0px,0px," + why + "px)"; | |||
}; | |||
update() | |||
document.body.style.background = "linear-gradient(180deg, black, darkblue,#2700ff)"; | |||
menu.addOption("change persepective pxiel garbag", _ => { | |||
per = prompt("ur pixels (default: 120)"); | |||
update() | |||
}) | |||
menu.addOption("reset rotat", _ => { | |||
dingdingdong = "0"; | |||
update() | |||
}) | |||
onkeydown = e => { | |||
if (e.key.startsWith("Arr")) { | |||
footstep.play(); | |||
} | |||
if (e.keyCode == "09") { | |||
dingdingdong -= 1; | |||
update() | |||
} | |||
if (e.keyCode == "32") { | |||
why -= 50; | |||
update() | |||
setTimeout(_ => { | |||
why += 25; | |||
update(); | |||
}, 750); | |||
setTimeout(_ => { | |||
why += 25; | |||
update(); | |||
}, 1000); | |||
jump.play() | |||
} | |||
if (e.keyCode == "16") { | |||
dingdingdong += 01; | |||
update() | |||
} | |||
}; | |||
/* mutliplayer garbage (remove if you want)*/ | |||
scream = new Audio("<nowiki>https://www.myinstants.com/media/sounds/screaming-goat.mp3</nowiki>"); | |||
menu.addOption("Scream", e => { | |||
w.broadcastCommand("scream"); | |||
}); | |||
w.broadcastReceive(1); | |||
w.on("cmd", e => { | |||
if (e.data == "scream" | |||
</div><br><hr> | |||
== Art == | == Art == | ||