Items werden automatisch erzeugt
This commit is contained in:
@@ -81,7 +81,7 @@ public class Player extends Actor
|
||||
java.util.List<Plattform> platforms = getIntersectingObjects(Plattform.class);
|
||||
boolean landed = false;
|
||||
for (Plattform platform : platforms) {
|
||||
int groundTop = platform.getY()+5 - platform.getImage().getHeight() / 2;
|
||||
int groundTop = platform.getY() - platform.getImage().getHeight() / 2;
|
||||
int characterBottom = getY() + getImage().getHeight() / 2;
|
||||
int oldCharacterBottom = oldY + getImage().getHeight() / 2;
|
||||
// Prüfen, ob der Spieler von oben auf diese Plattform fällt
|
||||
|
||||
Reference in New Issue
Block a user