fixing error
This commit is contained in:
1 parent
1c1e1c4234
commit
1fe2c0d703
92 files changed
+293
-2
No files matched your search
@@ -1,7 +1,7 @@
|
||||
extends CharacterBody2D
|
||||
|
||||
|
||||
const var SPEED = 300.0
|
||||
const SPEED = 300.0
|
||||
const JUMP_VELOCITY = -300.0
|
||||
|
||||
# Get the gravity from the project settings to be synced with RigidBody nodes.
|
||||
@@ -24,4 +24,4 @@ func _physics_process(delta):
|
||||
else:
|
||||
velocity.x = move_toward(velocity.x, 0, SPEED)
|
||||
|
||||
move_and_slide()
|
||||
move_and_slide()
|
||||
Reference in new issue
Block a user