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
keepee
As far as I can tell, I cannot remove the downward force that the physics behavior uses.
Bump
Set gravity to zero on the physics object.
There's an example in the arcade.
http://www.scirra.com/arcade/example/5104/wind-example
JohnnySix
Where can I find the gravity input?
Develop games in your browser. Powerful, performant & highly capable.
— - you can download the example
http://static1.scirra.net/arcade/games/5104/wind-example.capx
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 ;)