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

Kartoffelbrot's Comments

Back to Kartoffelbrot's profile

Aww, my browser is blocking all scenarios -.- !
I suppose that the real Flappy Bird hasn't a pixel perfect collision detection. I saw it in a video of PewDiePie and noticed it myself. I think it is a simple rectangular bounding the bird, but I may be wrong.
You can ask here, too. But if you want to, I will give you my address.
Welche Methoden muss eine Klasse, die das Interface implementiert, überschreiben, alle öffentlichen?
Mir hat die geholfen, danke :)
Also mit der Methode getColorAt(int x, int y) von GreenfootImage kann man die Farbe an den Koordinaten in einem Bild abfragen. Dann könnte man den Alphawert auswerten, wenn das hilft.
Ach, brauche es gar nicht trotzdem danke.
Und darf ich dein Light.png benutzen?
Ich hatte auch mal soetwas gemacht, allerdings mit GreenfootImage, weil ich noch keine Ahnung von den javaeigenen Klasse hatte. Deshalb hat meine Version extrem viel RAM verbraucht. Was genau sind Composites? Ich werde daraus nicht ganz schlau, merke aber, dass die ganz schön wichtig sind.