This site requires JavaScript, please enable it in your browser!
Greenfoot back
hr17_
hr17_ wrote ...

2020/3/4

Spawn with a time delay

hr17_ hr17_

2020/3/4

#
hi, i have a question... How can I spawn objects with a time delay? I build a space shooter...
danpost danpost

2020/3/4

#
Add an int timer field. Spawn if its value is zero, changing its value to some positive number when spawning. If its value is not zero (else), subtract one from its value.
hr17_ hr17_

2020/3/4

#
can you show me an example in the source code?
You need to login to post a reply.