This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
hr17_
wrote ...
2020/3/4
Spawn with a time delay
hr17_
2020/3/4
#
hi, i have a question... How can I spawn objects with a time delay? I build a space shooter...
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_
2020/3/4
#
can you show me an example in the source code?
You need to login to post a reply.
X