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

2015/10/15

Asteroid scenario : Collision Detection & Scoreboard

Liam1989 Liam1989

2015/10/15

#
What I want you to do (try to do it in this order): In the Space class, add a method called gameOver. This new method will create a new scoreBoard object and place it in the World. This method will be called in the Rocket class when there is a collision. In the Rocket class, add a method called checkCollision. This new method will check and see if the Rocket is intersecting with an Asteroid object. If there is an intersection (aka collision), then I want you to: Put an explosion where the rocket is, Remove the rocket from the World, Show the scoreboard.
ando600 ando600

2015/10/15

#
Can you please try not to be so demanding? Most of those issues are covered in other forum discussions, and all it takes is a little google searching. Also, posting your code helps lots.
danpost danpost

2015/10/17

#
@ando600, I do not think that Liam1989 is being demanding, but putting his assignment up on the forum, which no help will be provided for. Only specific help with programming issues are provided. Attempted code should be posted before any help is given.
You need to login to post a reply.