add more spacing between functions
This commit is contained in:
@@ -22,6 +22,7 @@ var mouse_position: Vector2 = Vector2()
|
||||
var zoom_value: float = 0.3
|
||||
var zoom_raw: float = zoom_value
|
||||
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
zoom_value = lerp(zoom_value, zoom_raw, delta * ZOOM_DAMP)
|
||||
|
||||
@@ -37,6 +38,7 @@ func _process(delta: float) -> void:
|
||||
|
||||
DebugDraw.marker(target_position, 0.05)
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
if event is InputEventMouseMotion:
|
||||
mouse_position = (event as InputEventMouseMotion).position
|
||||
@@ -50,6 +52,7 @@ func _input(event: InputEvent) -> void:
|
||||
zoom_raw += ZOOM_SPEED
|
||||
zoom_raw = clamp(zoom_raw, 0, 1)
|
||||
|
||||
|
||||
func _handle_movement(delta: float) -> void:
|
||||
var viewport_size := get_viewport().get_visible_rect().size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user