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

Report as inappropriate.

Cocky
Cocky presents ...

2012/8/29

Breakout

man steuert mit den Pfeiltasten links und rechts und muss die roten Kreise oben abschießen. Der Ball darf nicht auf die Zacken unten fallen.

5334 views / 15 in the last 7 days

1 vote | 0 in the last 7 days

Tags: game with-source

open in greenfoot
Your browser does not support the canvas tag.
I think there is a problem while rebounding from the wall. You could trie to use this: //rebounding for (int i = 0; /*near the wall*/ && i < 25; i++) { move(1); } then the ball will rebound just one time. And you should think of a faster ball. but try to use greenfoot to make the ball move faster (that means Greenfoot.setSpeed() about 50 I think) Oder in Deutsch: Wenn du die oben angegebene schleife benutzt wird der Ball nun einmal an der Wand abprallen, wenn du die nach der abprallmethode benutzt. Und du solltest den Ball schneller werden lassen indem du die act-Geschwindigkeit erhöhst (unten rechts: speed)
A new version of this scenario was uploaded on Fri Sep 07 07:08:35 UTC 2012
imacatimacat

2012/9/7

I do not quite understand the physics here. ^^; The bounce direction seems to be unpredictable.

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

Who likes this?

Antonio