Omega0

Joined: 27 Feb 2003 Posts: 37
|
Posted: Mon Dec 15, 2003 3:27 pm Post subject: Tossing out a script. |
|
|
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 |
|