hey everybody,i am working on a game where the user is this bike boy and your going through the dessert. this game is for a grade and i ran into a few issues and need some help. I used a method of re-spawning objects and i am having some bugs that i cant figure out whats causing them. basically what happens is a rock or something will re-spawn, the immediately re-spawn again and again. and it usually all the items at once constantly re-spawning.
Thank you to all who can help and give some time to view my game
(also side question, if anyone can look at the tilt detector method and can help me improve it, that would be greatly appreciated)
The Bike Game
*edit*
heres the updated version, with the spawn fixed, but now i need more help, sometimes you will randomly die, i cant figure out why, any sugestions?
Bike game v2