there is a hero in my game and the map move from left to right
at first, the hero is on the ground as an object in the tiled map
but after then the hero will come up against precipice, however in my game, the hero "walk" through it instead of falling down .
My question is how can I detect the hero have leave the ground and make him falling down?
Comments
Ultimate Games on Appstore
Ultimate Games on Google Play
In the game if hero don't jump, he won't fall down
please help
Games: Android
In hero.lua, I try to set friction = 0 in hero body:
Ultimate Games on Appstore
Ultimate Games on Google Play
On hero.lua, line 16: