Quote:
Originally Posted by Deadly_Killer
Hmm, it would be cool if stefan made an onwall check public function. (release in gscript -- not hard-coded)
EX:
PHP Code:
player.checkWall(tx, ty);
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).