Page 1 of 1

Dump noob timer question

PostPosted: Thu Apr 28, 2005 3:23 pm
by oswald
I know, this might be a dump question... but checking the tutorials and some demos did not really brighten me up.
How can I have objects appear at random x-positions on the top of the screen. While the amount of objects and object-speed increases the more time is going by...

PostPosted: Fri Apr 29, 2005 3:57 am
by ingsan
VERY Rough and DIRTY
Put an invisible actor that holds a code that looks something like this :
On Draw actor > Create Timer A
On Timer A > Create actor (yourActor)
And finally on yourActor, put something like this :
On Create actor > Script >
    x = rand(xscreen) ;
    y = rand(yscreen)

Not sure of the vocabulary :?