Reset camera position smoothing without smoothing when loading a entrypoint
This commit is contained in:
parent
82034a09b4
commit
baf7fdc069
4 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
extends CharacterBody2D
|
||||
|
||||
@onready var camera = $Camera2D
|
||||
|
||||
# die
|
||||
|
||||
func die():
|
||||
|
|
|
@ -17,6 +17,7 @@ process_callback = 0
|
|||
position_smoothing_enabled = true
|
||||
drag_horizontal_enabled = true
|
||||
drag_vertical_enabled = true
|
||||
editor_draw_drag_margin = true
|
||||
|
||||
[node name="LightOccluder2D" type="LightOccluder2D" parent="."]
|
||||
occluder = SubResource("OccluderPolygon2D_p33ik")
|
||||
|
|
Reference in a new issue