RPG game with Grid Walking
Using deepblueapps template for zanda as a basis, I'm making a RPG game with it. But the movement on Zanda if anyone know what i'm talking about is just move anywhere. I'd like the movement to be a grid movement (like pokemon or something)
*Should/can tables be involved?
*Should it be an interpolate position or a move to position?
*I still need the animation of the actor moving when moving, so it can't be like the snap to grid demos because they just change the actors position rather than "moving" them to it.
*With a grid walking RPG, I would figure I also need some sort of locking for the movement, meaning if the actor is moving to a position, I can't allow movement of different direction until it reaches the position it was due to before. Which leads me to worry about a constant movement in one direction, i need it to be fluid and not stop every on every box of the grid when just moving left constantly for example.
I've tried doing this myself but my formula was wrong for moving.
If there is anyone with experience with this I'd appreciate the help.
Thanks.
*Should/can tables be involved?
*Should it be an interpolate position or a move to position?
*I still need the animation of the actor moving when moving, so it can't be like the snap to grid demos because they just change the actors position rather than "moving" them to it.
*With a grid walking RPG, I would figure I also need some sort of locking for the movement, meaning if the actor is moving to a position, I can't allow movement of different direction until it reaches the position it was due to before. Which leads me to worry about a constant movement in one direction, i need it to be fluid and not stop every on every box of the grid when just moving left constantly for example.
I've tried doing this myself but my formula was wrong for moving.
If there is anyone with experience with this I'd appreciate the help.
Thanks.
Answers
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang That is a good one, but it's not a "moving to" or "interpolating" motion, just a change attribute.
After 5 hours of working it out, I think I've figured it out myself, didn't use tables though.
I just used interpolate, and then on the dpad just locked the buttons until my boolean attribute for moving was false. Everything is working how I want it to so far.
Thanks anyways.