How to make something appear when mouse is clicked? I want to make ammo appear out of my spaceship when I click. Can someone please tell me the code for that?
How to make something appear when mouse is clicked? I want to make ammo appear out of my spaceship when I click. Can someone please tell me the code for that?
Are you trying to shoot toward where the mouse was clicked at? What have you tried (show attempted code)?
I have another question though, how do you make a game stop once the player touches it?
Use the isTouching method in conjunction w/Greenfoot.stop.
Btw, you cannot download a scenario whose code has not been made available. You will see a big green foot button with the words "Open in Greenfoot" at upper-right of scenario frame when available to download. Also, it will be tagged "with-source".