Open Adamkzh opened 7 years ago
If the player jump and hit the top ground, it will decrease score, this might because the jumping not finished. Even if the player is falling, the state of player is jumping, if will cause the damage, since the code mentioned && isfalling = true .
&& isfalling = true
If the player jump and hit the top ground, it will decrease score, this might because the jumping not finished. Even if the player is falling, the state of player is jumping, if will cause the damage, since the code mentioned
&& isfalling = true
.