I am working on an infinite runner game, which is pretty new for me. But I don't know if my problem comes from inexperience. This is how my game works right now:
In my runner game the player runs over Platforms (Tiledbackground). These Platforms repeat themselves, so it's infinite. For the challenging part, the player has to jump over Puddles with water (also Tiledbackground). Puddles spawn randomly, but only after a Platform, so that they don't overlap. After a Puddle the Platforms continue until a new Puddle spawns. The Platforms and Puddles that are outside the screen get destroyed.
The whole concept I mentioned above works fine when I run the project in debug mode, but it doesn't when running in normal browser mode. A platform spawns, a gap appears, another platform spawns and then it just stops. I can't figure out what the problem is because it's working perfectly in debug mode! I don't get any error messages or something.
This is the .capx: https://www.dropbox.com/s/2obyguesn6gue9c/Adventure%20Runner.capx?dl=0
Any idea how I can solve this?