1
Fork 0
mirror of https://github.com/RYGhub/the-cold-night.git synced 2024-11-21 20:24:20 +00:00

🔧 Make the Fire scene itself a StaticBody2D

This commit is contained in:
Steffo 2022-04-02 21:24:50 +02:00
parent 6161ca3dce
commit 185eb7a7fa
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -7,7 +7,7 @@
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 16, 16 )
[node name="Fire" type="Node2D"]
[node name="Fire" type="StaticBody2D"]
script = ExtResource( 3 )
[node name="Light" type="Light2D" parent="."]
@ -15,10 +15,8 @@ texture = ExtResource( 1 )
texture_scale = 0.5
color = Color( 1, 0.592157, 0.592157, 1 )
[node name="Body" type="StaticBody2D" parent="."]
[node name="Shape" type="CollisionShape2D" parent="Body"]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="Shape" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )