Added spikes, Made a way to transition from level to level, and a base level to make level creation easier

This commit is contained in:
2026-02-21 23:53:55 -05:00
parent c3d09c9a88
commit 3b324caf67
15 changed files with 172 additions and 36 deletions

View File

@@ -108,15 +108,12 @@ func multiJump():
if Input.is_action_just_pressed("move_jump") and canWallJump:
var boost = 150
print("wall jump")
player.velocity.y = jumpHight
var wallDirection = player.get_wall_normal().x
var direction: float = GameInputEvents.movement_input()
if direction == wallDirection:
print("boost")
player.velocity.x =+ (wallPushBack + boost) * wallDirection
else:
print("no boost")
player.velocity.x =+ wallPushBack * wallDirection
currentJumpCount = 0