Skip to content

Commit bf74940

Browse files
committed
platform: Update scene file
Loading and saving platform.tscn, without modification, causes these changes to be written to disk. The platform width change is because the default width in the script is 2 tiles, but the scene was set up for 3 tiles.
1 parent c4ac46e commit bf74940

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

components/platform/platform.tscn

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
[ext_resource type="Script" uid="uid://dilh5jyuklov6" path="res://components/platform/platform.gd" id="1_dpc6h"]
44

55
[sub_resource type="RectangleShape2D" id="RectangleShape2D_i4vtk"]
6-
size = Vector2(384, 40)
6+
size = Vector2(256, 40)
77

88
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o2vn2"]
9-
size = Vector2(384, 128)
9+
size = Vector2(256, 128)
1010

1111
[sub_resource type="Animation" id="Animation_6232f"]
1212
resource_name = "shake"
@@ -58,7 +58,7 @@ texture_filter = 3
5858
unique_name_in_owner = true
5959
root_node = NodePath("../Sprites")
6060
libraries = {
61-
"": SubResource("AnimationLibrary_cwxfq")
61+
&"": SubResource("AnimationLibrary_cwxfq")
6262
}
6363

6464
[connection signal="body_entered" from="RigidBody2D" to="." method="_on_rigid_body_2d_body_entered"]

0 commit comments

Comments
 (0)