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

2015/11/11

How do I make an actor pass through another actor?

Javanovice Javanovice

2015/11/11

#
I am creating a game right now where you control a penguin that dodges the icicles and catches the fish. When I jump onto the fish, I double jump on it instead of eating it. How do I code the penguin to pass through the fish instead of jumping on top of it?
danpost danpost

2015/11/11

#
Javanovice wrote...
I am creating a game right now where you control a penguin that dodges the icicles and catches the fish. When I jump onto the fish, I double jump on it instead of eating it. How do I code the penguin to pass through the fish instead of jumping on top of it?
Show your code! The Penguin class code should be supplied -- else, how can one help fix it. Use 'code' tags (refer to link below reply box labeled 'Posting code? read this!').
You need to login to post a reply.