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

2015/11/2

How can you change the following (I can find no solution)?

Windows10 Windows10

2015/11/2

#
The hedgehog is when he was run over by a car be put back on its initial position !!!!
Super_Hippo Super_Hippo

2015/11/2

#
We can't give you a solution without seeing the code you are using.
danpost danpost

2015/11/2

#
You will need fields in the class of the hedgehog to hold its initial position in the world. The 'addedToWorld' method of the Actor class, which is executed once (when the actor is added into a world), can be used to save its initial position coordinates.
You need to login to post a reply.