To be clear. I'm not trying to build a game yet. I'm just starting out and I'm using an example that pushes
Blocks in 4 different directions. So how would I add an action that when I touch an object it slides across an area until it touches another object?
Check out this demo:
howtoconstructdemos.com/push-objects-in-tile-based-game-sokoban-style
It's a bit advanced, there may be an easier way to do it, if you don't need to snap objects to grid.
Develop games in your browser. Powerful, performant & highly capable.
Hey dop. That the example I'm looking at already. So what would I do to make it so those chest, when touched move until they touch another object. Maybe some type of bullet action?
It depends on the game. You can use Bullet, but it won't be accurate.
If you need precise grid-based movement, use MoveTo behavior or TileMovement (as in my demo).
What I'm looking for is the same action from an old 80's arcade game called pengo.
I'll try the MoveTo or TileMovement functions. Thanks