Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Tossing out a script.

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
Omega0




Joined: 27 Feb 2003
Posts: 37

PostPosted: Mon Dec 15, 2003 3:27 pm    Post subject: Tossing out a script. Reply with quote

For all those games where you spend ten minutes holding down the walk key...

http://spots.flatland.com/jms/walkfar.zip

Use W,A,S,D as the dirrection keys to use run.

This little guy implements a 'run' feature similar to that found in zAngband or ADOM (rather than the one in Ecopia). The script will attempt to move the character in the given dirrection until a barrier is reached, if it is obvious which way to move next, the script will continue. The script ends when it finds a dead end or faces a choice in dirrections.

Looking over it, I used an insane amount of unnecessary code. I'll probably be cleaning it up soon. (three days with absolutly nothing to do thanks to badly scheduled finals week)

Also, see if you can find the bug that causes it to give you a weird offset, its been driving me crazy.

js
_________________
JMS * BlackFox * Omega0
http://spots.flatland.com/jms/index.html
AIM: jmsQFtmp Y!M: jms_blkfox
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group