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

2013/1/17

Turn to Face

SunnyD212 SunnyD212

2013/1/17

#
In my program, I have a frog (the player) that eats flys and a ladybug that patrols the area; if you touch the ladybug you loose. My ladybug moves at random in any direction as the program runs, however I don't know how to have my ladybug turn to face the direction it is moving. If it decides to run to the left, it will continue to face right. It will stay facing right no matter the direction it starts to move in. Can anyone help me turn this ladybug around?
You need to login to post a reply.