Hi guys.
I wanna make a hole in my game, and after my character jumps in there, he dies. How I do this?
samme
2
There are a few ways. Simplest is to check player y
in scene update()
. You will have to add
this.physics.world.checkCollision.down = false;
if using world bounds.