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

2016/4/5

Loop that creates 10 new instances

edwards_38 edwards_38

2016/4/5

#
How would I create a loop that adds 10 new instances each time the world is reinitialized? I am supposed to have the instances play a sound file when the "x" key is pressed, but I cannot figure out what code I am supposed to use. Can you help me?+
danpost danpost

2016/4/5

#
Sounds like two issues here. Please stick to one issue at a time and show what code you have tried (try something).
You need to login to post a reply.