portals yo

This commit is contained in:
Debugman committed 2026-10-16 20:29:32 -05:00
1 parent fa1050d017
commit 366f449d79
13 files changed
+288 -3

No files matched your search

+3 -1
View File
@@ -7,7 +7,7 @@ const GRAVITY_MULT = 0.8
const JUMP_VELOCITY = -410.0
var fall_timer = 0.0
var teleport_cooldown = 0
var jumps = 0
func _ready() -> void:
@@ -41,9 +41,11 @@ func _process(delta: float) -> void:
if is_on_floor():
fall_timer = 0
jumps = 1
teleport_cooldown = 0
if is_on_wall():
jumps = 1
teleport_cooldown = 0
func _physics_process(delta: float) -> void: