- Home /
Player gets stuck between platforms!!!
I'm working on a basic endless runner 2d game here as you can see in the image the player gets stuck between 2 platforms over each other. The player could exploit this bug to increase his score so I need help making some script preventing this by adding some kind of timer to make the player do something (jump) Note: The player always gets his transform.position.x stuck always!
This is just incomplete level design. Something needs to be in place to punish the player for not jumping such as the lower platform ending causing the player to fall or an enemy/obstacle of some sort.
Answer by danelforty · Dec 01, 2019 at 04:42 PM
If you are going to make an endless runner 2d game, (assuming that your score increases over time) you have to stop the score from increasing when the player gets stuck. This way, the player will not keep incrementing the score if the player is stuck.
Your answer
![](https://koobas.hobune.stream/wayback/20220612215425im_/https://answers.unity.com/themes/thub/images/avi.jpg)