Grid-based movement
by Hasitha · in Torque Game Engine · 06/15/2008 (7:41 pm) · 3 replies
Does anyone have an idea on how to apply grid-based movement to the player?
As in, when you hit the 'A' key, the player will move left exactly 5 yards, regardless of how long you hold down the key?
I've been messing around with the $mvForwardAction (and related vars) variable and using a schedule to stop movement, but that's not working right and it's probably not the best way.
Any ideas?
As in, when you hit the 'A' key, the player will move left exactly 5 yards, regardless of how long you hold down the key?
I've been messing around with the $mvForwardAction (and related vars) variable and using a schedule to stop movement, but that's not working right and it's probably not the best way.
Any ideas?
About the author
Torque Owner Andy Rollins
ZDay Game