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

2015/1/26

Heyy I NEED HELP

stedmon stedmon

2015/1/26

#
How do I make an object shoot out another object in Greenfoot version 2.4.1
danpost danpost

2015/1/26

#
For the sake of clarity, I will call your objects the 'shooter' and the 'shot'. Provided the shooter is in the world, it can add the shot at its current location in the world. The class that creates the shot should have the code that gives its movement. For further assistance, show the code you tried (use the 'code' link below the reply box to insert code into your posts) and provide any error messages you are getting (copy/paste in entirety).
stedmon stedmon

2015/1/26

#
I was trying figure out the code to make the object appear when I press "space" while its moving and then the object will automatically move in the direction the shooter is facing
danpost danpost

2015/1/26

#
danpost wrote...
For further assistance, show the code you tried
Noone can help you fix your code without seeing what needs fixed.
You need to login to post a reply.