Hey, to some form of making a move similar to the bomberman?
Example: suppose I act a checkerboard background on a map, each square that has 25x25 cm.
Instead of the Player Add the x/y to get to this point, he jumps directly to the square.
Any idea?
Printable View
Hey, to some form of making a move similar to the bomberman?
Example: suppose I act a checkerboard background on a map, each square that has 25x25 cm.
Instead of the Player Add the x/y to get to this point, he jumps directly to the square.
Any idea?
player's X be 0;
on every frame or what ever: X += 0.1;
after that actual x = 25 * Math.round (X);
+ 25/2 maybe.
No, it didn't work properly, maybe I did the code wrongly.