mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 11:35:53 +00:00
Cheat Gun
This commit is contained in:
parent
f2e6025b35
commit
cb27f33a6d
21 changed files with 620 additions and 436 deletions
|
|
@ -48,10 +48,10 @@ func smooth_damp(current: float, target: float, current_velocity: float, smooth_
|
|||
return [output, current_velocity]
|
||||
|
||||
func _unhandled_input(_event: InputEvent) -> void:
|
||||
if Input.is_key_pressed(KEY_1):
|
||||
if Input.is_action_just_pressed("debug_camera_1"):
|
||||
pixel_snap = not pixel_snap
|
||||
print("Camera pixel snap: ", pixel_snap)
|
||||
if Input.is_key_pressed(KEY_2):
|
||||
if Input.is_action_just_pressed("debug_camera_2"):
|
||||
enable_smoothing = not enable_smoothing
|
||||
print("Camera smoothing: ", enable_smoothing)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue