I am creating a game where the player uses the 8direction behavior to move. I want the player to be able to push objects they run into while walking. How could I do this?
short answer: use physics
long answer: use phhhyyyyssssiiiiiccccssss
alternatively you could use physics
As far as I can tell, I cannot remove the downward force that the physics behavior uses.
Set gravity to zero on the physics object.
There's an example in the arcade.
Develop games in your browser. Powerful, performant & highly capable.
Where can I find the gravity input?
— - you can download the example
you can change gravity options at the behaviour's properties .. or do something like this:
on start of layout -> set "player" gravity to 0
Next time a Live demo or a .capx would be helpful ;)