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:
parent
6161ca3dce
commit
185eb7a7fa
1 changed files with 4 additions and 6 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue