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

Gevater_Tod4711's Comments

Back to Gevater_Tod4711's profile

Das Spiel wäre besser wenn der ball nicht immer gleich von deinem Schläger abprallen würde. Sonst ist das Spiel immer das selbe. Versuch die rotation so zumachen das der Ball anders abgelenkt wird wenn er auf der rechten seite des schlägers auftrifft als wenn er auf der linken Seite auftrifft. Dazu musst du nur die relative Position des Balles zu der des Schlägers berechnen.
looks very realistic. Goot job!
A realy funny game but I think it would be better if I couldn't shoot without waiting a bit between the shots. That would be more difficult. And I think it would be good to have a countdown and maybe a Highscore. Maybe you can use UserInfo.
realy funny game. But on hint: There is a Greenfoot mehtod in the class GreenfootImage called mirorHorizontaly or something like that. If you use this the frog will not be upside down. http://www.greenfoot.org/files/javadoc/greenfoot/GreenfootImage.html on this webside there are all GreenfootImage mehtods.
@adamkjelstroem I don't get why you can't play it. Have you got the same problem with other Szenarios? Or doe's anyone know why it doesn't work?
nice game but I think it would be better if you couldn't see the mouse Cursor Look at this: http://www.greenfoot.org/scenarios/3039
@adamkjelstroem There is an Exception but I catched it with a try, catch, finaly block. I don't think there is another one.
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)
@SPower Yes thanks. That scenario is much easyer to understand.