For every 10000 traveled create a sprite
in the center of the screen.
10000 object appears, 20000 object appears, 30000 object appears ...etc
If the speed at which your screen scrolls remains constant, then you could do something like this:
Every (10000 / ScrollSpeed) seconds: Create object at x, y
Where ScrollSpeed is the speed of your screen scrolling in pixels per second.
Develop games in your browser. Powerful, performant & highly capable.
I refer to Template:Auto-runner
Can you post a link/tutorial/example? or capx file.
plz
Everything I said still applies -- find out how fast the platforms in the level move and that would be your ScrollSpeed.
When a player falls the layout restarts and this tip does not work.
How can I do to make it re-count? "reset"
use reset global variables action
Based on the auto-runner template you want to use the global variable "TotalDistance" with Linkman's idea.
Global variables reset but time will not.
This causes the object to be created before 10 000
Please someone
I managed to solve the problem of the object. but I have another question.
How to create a different object in different positions on the screen?