Skip to content

Commit 7f4a057

Browse files
committed
DO NOT MERGE: Enable special abilities
1 parent 87b244e commit 7f4a057

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/player.gd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func _physics_process(delta):
181181
if Global.lives <= 0:
182182
return
183183

184-
# _phase()
184+
_phase()
185185

186186
# Handle jump
187187
if is_on_floor():
@@ -203,7 +203,7 @@ func _physics_process(delta):
203203
if coyote_timer <= 0:
204204
velocity.y += gravity * delta
205205

206-
# _shrink()
206+
_shrink()
207207

208208
# Get the input direction and handle the movement/deceleration.
209209
var direction = Input.get_axis(Actions.lookup(player, "left"), Actions.lookup(player, "right"))
@@ -216,7 +216,7 @@ func _physics_process(delta):
216216
else:
217217
velocity.x = move_toward(velocity.x, 0, acceleration * delta)
218218

219-
# _glide()
219+
_glide()
220220

221221
if velocity == Vector2.ZERO:
222222
_sprite.play("idle")
@@ -232,7 +232,7 @@ func _physics_process(delta):
232232

233233
move_and_slide()
234234

235-
# _teleport(direction)
235+
_teleport(direction)
236236

237237
coyote_timer -= delta
238238
jump_buffer_timer -= delta

0 commit comments

Comments
 (0)