I'm looking the way to create a object at random time!!!
Develop games in your browser. Powerful, performant & highly capable.
Please be more clear. Nobody is gonna answer questions like that. Like, I mean, from what time to what time? from 0.1 seconds to 99999999 hours? P:0:OTIS LET THIS BE LESSON FOR YOU!
between 1 - 10 seconds, sorry i'm new here
avinashizhere
you need the system expression every x seconds .
that's every 0.01 seconds to 99999999 hours ..
<img src="smileys/smiley1.gif" border="0" align="middle" />
So in a period of 10 seconds, an object appears at random time once?
loop, after ten seconds again at random time between 0.1 sec to 10 seconds
You are familiar with global variables, right?
yup, i'm a experience scirra user, i'm just stuck with this part.....
But you said you are new here!
Well, you can do a loop like this:
A variable is set to a random number between 0.1 and 10
You wait this much seconds
Spawn your object
Wait 10- the ransomed variable seconds
And loop it again, and again, and again.
can you make a small sample? i'm confused with what you said....btw i'm new here in forum <img src="smileys/smiley17.gif" border="0" align="middle" />
Hold on, Windows is lagging
While you wait, you can look at this sprite sheet:
spriters-resource.com/snes/sonicth/index.html