Thread: Onwaal
View Single Post
  #18  
Old 05-25-2007, 10:45 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Deadly_Killer View Post
Hmm, it would be cool if stefan made an onwall check public function. (release in gscript -- not hard-coded)

EX:

PHP Code:
player.checkWall(txty); 
and then it would check the appropriate sides of the wall for a regular movement system.
I have one if people would like to have it. It is more hardcoded into my "doMovePlayer()" function though. It has 100% perfect onwall checks and emulates the default Graal movement exactly with an added variable of speed (I tested it at a rate of 5000 tiles per second and did not cross a single wall).
__________________
Do it with a DON!
Reply With Quote