Removing superfluous code, updating camera a bit
This commit is contained in:
parent
cec9227b67
commit
fc896925d6
7 changed files with 157 additions and 119 deletions
|
|
@ -1,11 +1,10 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://rnfx7djn5qik"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://htaqjgupmiiu"]
|
||||
|
||||
[ext_resource type="Script" path="res://components/scripts/free_camera_component.gd" id="1_isqof"]
|
||||
[ext_resource type="Script" path="res://components/scripts/free_camera_game_camera_component.gd" id="2_g4lf4"]
|
||||
|
||||
[node name="FreeCameraComponent" type="Node2D"]
|
||||
script = ExtResource("1_isqof")
|
||||
|
||||
[node name="GameCamera" type="Camera2D" parent="."]
|
||||
script = ExtResource("1_isqof")
|
||||
zoom_out_limit = 10
|
||||
camera_speed = 400
|
||||
camera_margin = 10
|
||||
script = ExtResource("2_g4lf4")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue