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

2013/6/17

Explosions

I am making a game in which a spaceship is going through an asteroid field. I am trying to code it so that when an asteroid hits the ship, it blows up. can anyone help? The DoctorProfessor is out
Gevater_Tod4711 Gevater_Tod4711

2013/6/17

#
For an explosion you can either create some explosion images and after every act change the image of an explosion object to the next image or you can use only one image and change it's size. In the Luna Lander scenario you'll find an example for this. Luna Lander is a Greenfoot demo which you'll find in your greenfoot installation directiory.
You need to login to post a reply.