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

2017/11/2

Spawner

Djolex Djolex

2017/11/2

#
Hi,plz help me i want to learn spawner command i am beaginer and my Eanglish is bad i am from Serbia i am bad and i want to learn Java in greenfoot!
danpost danpost

2017/11/2

#
Djolex wrote...
i want to learn spawner command i am beaginer and my Eanglish is bad i am from Serbia i am bad and i want to learn Java in greenfoot!
Manually spawn an object (right click on Actor subclass and select 'new ...'); next, save the world (use menubar: Controls >> Save the World). Then, look at the code in the 'prepare' method that was generated. It will show the kind of code required to spawn an actor into your world.
You need to login to post a reply.