OZONE Asylum
Forums
DHTML/Javascript
Been too long since I've done much JS hacking...
This page's ID:
28932
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Here's a little first-person dungeon thingy in 635 bytes... use the arrow keys to move and turn... and note that you CAN walk through walls, so be careful ;p http://www.rpi.edu/~laporj2/random/code/dungeon.html I was shooting for 512 bytes, but I am just not sure it's possible. In any case, the most interesting idea here is that the scene is made up of a bunch of 8x8 tiles which get composited together. I'm also certain that there's a better way to store the map to save space and be easier to render... [edit] oh yes, I should probably note that I've only tested it in Firefox, and I'd be pretty amazed if it worked in anything else... --- [url=http://www.rpi.edu/~laporj2/]Website[/url] [small](Edited by [url=http://www.ozoneasylum.com/user/4675]Iron Wallaby[/url] on 02-14-2007 02:21)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »