Hi all, I'm making an endless runner where the character has to jump to dodge obstacles.
Right now, the level and speed are determined by the score. Two big problems usually occur:
1) Sometimes old obstacle is moving at X speed then the new lvl kicks in and the new obstacle moves at X+1 speed and bypasses the old obstacles on screen. Should I be using bullet behavior for my obstacles instead of moving it by doing X - 1?
2) The spawn event is janky and sometimes 4 obstacles will spawn between levels, making it impossible to jump. How do I have more control over what is spawn instead of doing random?