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

Report as inappropriate.

pashatania
pashatania presents ...

2016/5/24

Chase the Elephants

Tangkap semua gajah menggunakan mobil. Untuk menggerakkan mobil tekan tombol Up, Down, Left, dan Right.

730 views / 6 in the last 7 days

1 vote | 0 in the last 7 days

Tags: game simulation demo with-source

open in greenfoot
Your browser does not support the canvas tag.
valdesvaldes

2016/5/25

May I suggest a change? In class Mobil instead of using turn(45), use setRotation(0); // right setRotation(180); // left setRotation(90); //down setRotation(270); //up and move(5); and you can delete the nested if -elses, arah variable and the setLocations
A new version of this scenario was uploaded on 2016-05-25 02:10:50 UTC
pashataniapashatania

2016/5/25

thanks for the suggestion
A new version of this scenario was uploaded on 2016-05-25 02:18:20 UTC

Want to leave a comment? You must first log in.

Who likes this?

valdes