File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments