Gravity on grid? Need Help
larin555
Member Posts: 14
Hello!
I was wondering if you guys know a way to use gravity on a grid?
So it's kind of a platformer grid...if I push the block where there's no platform, I want it to fall but following the grid.
Anyone knows how to make this work?
Thanks!
I was wondering if you guys know a way to use gravity on a grid?
So it's kind of a platformer grid...if I push the block where there's no platform, I want it to fall but following the grid.
Anyone knows how to make this work?
Thanks!
Comments
Also, using the Codemonkey's demo of Grid movement, how can I make walls...that If my main actor is colliding with the wall, that he won't move, cause there's something to his (left or right).
Thanks
The character will move according to the grid. No need to set gravity for him.
Thanks!
How can I make a block detect that if there's the actor "wall" to his left or right, it won't move (block.position.X + 40 for instance)...
I'm using Codemonkey's grid demo.
Thanks a lot!