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

2018/11/14

How to respawn an object(s)

jonah420123 jonah420123

2018/11/14

#
Hi, in my game there is a button that once touched, disappears. When is goes some coins spawn in. My problem is that I have coded the button to disappear on touch but I cant figure out how to make the coins spawn in when the button disappears. I don't know what code to show so if you need any just let me know.
danpost danpost

2018/11/14

#
jonah420123 wrote...
I have coded the button to disappear on touch but I cant figure out how to make the coins spawn in when the button disappears. I don't know what code to show so if you need any just let me know.
Show any and all codes related to the button. Also include any attempt to spawn the coins when the button disappears or provide what ideas you might have for implementing it.
ErnieBoi ErnieBoi

2018/11/15

#

hello can we see the code i am ernie we can see the code for the giving you help

ErnieBoi ErnieBoi

2018/11/15

#
danpost wrote...
jonah420123 wrote...
I have coded the button to disappear on touch but I cant figure out how to make the coins spawn in when the button disappears. I don't know what code to show so if you need any just let me know.
Show any and all codes related to the button. Also include any attempt to spawn the coins when the button disappears or provide what ideas you might have for implementing it.

I am th fan of yours i am ernie you are great greenfoot man yes yes

You need to login to post a reply.