deleted demo task and added placable extractors
Build Godot Project (Linux) / build-linux (push) Successful in 28s
Build Godot Project (Linux) / build-linux (push) Successful in 28s
This commit is contained in:
@@ -32,6 +32,8 @@ func handle_keyboard_movement(delta: float) -> void:
|
||||
velocity.y -= 1
|
||||
if Input.is_key_pressed(KEY_DOWN):
|
||||
velocity.y += 1
|
||||
if Input.is_key_pressed(KEY_SPACE):
|
||||
global_position = Vector2i(0, 0)
|
||||
|
||||
# Move the camera based on direction, speed, and time passed
|
||||
global_position += velocity.normalized() * KEYBOARD_SPEED * delta
|
||||
|
||||
Reference in New Issue
Block a user