mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 16:53:47 +00:00
2D Smoothing
This commit is contained in:
parent
4cb902053d
commit
155d210e31
4 changed files with 10 additions and 18 deletions
|
|
@ -132,7 +132,7 @@ animations = [{
|
|||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Player" type="CharacterBody2D" node_paths=PackedStringArray("Muzzle")]
|
||||
[node name="Player" type="CharacterBody2D" node_paths=PackedStringArray("Muzzle") groups=["player"]]
|
||||
collision_layer = 2
|
||||
collision_mask = 3
|
||||
script = ExtResource("1_m27vu")
|
||||
|
|
@ -164,7 +164,7 @@ frame = 1
|
|||
[node name="CameraTarget" type="Node2D" parent="Smoothing2D"]
|
||||
script = ExtResource("5_cxvyt")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Smoothing2D"]
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Smoothing2D" groups=["player_sprite"]]
|
||||
y_sort_enabled = true
|
||||
sprite_frames = SubResource("SpriteFrames_q0rt3")
|
||||
animation = &"walk_left"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue