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
A\aron91
wrote ...
2013/12/18
Random spawning my barrel actor
1
2
danpost
2013/12/19
#
@A\aron91, you still need to call the 'spawn' method from the act method of this class.
A\aron91
2013/12/19
#
copy/pasted the wrong code.. i called the spawn(); under the prepare(); .. but i cant get any barrel to spawn at the given coordinate
danpost
2013/12/19
#
Calling 'spawn' in the 'prepare' method will not work as you want. Call it from the 'act' method.
You need to login to post a reply.
1
2
X