Skip to content

Commit ffa3670

Browse files
committed
Platformer: Remove unused Area2D from stationary platform
1 parent 397e50f commit ffa3670

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
[gd_scene load_steps=4 format=3 uid="uid://coq6d3u6wnvs2"]
1+
[gd_scene load_steps=3 format=3 uid="uid://coq6d3u6wnvs2"]
22

33
[ext_resource type="TileSet" uid="uid://bmkax0b814rmy" path="res://game-03/spaces/tileset-a.tres" id="1_3rwtc"]
44

5-
[sub_resource type="RectangleShape2D" id="RectangleShape2D_i4vtk"]
6-
size = Vector2(256, 32)
7-
85
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o2vn2"]
96
size = Vector2(256, 128)
107

@@ -17,13 +14,6 @@ collision_mask = 0
1714
mass = 1000.0
1815
freeze = true
1916

20-
[node name="Area2D" type="Area2D" parent="RigidBody2D"]
21-
22-
[node name="AreaCollisionShape2D" type="CollisionShape2D" parent="RigidBody2D/Area2D"]
23-
unique_name_in_owner = true
24-
position = Vector2(0, -16)
25-
shape = SubResource("RectangleShape2D_i4vtk")
26-
2717
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
2818
unique_name_in_owner = true
2919
position = Vector2(0, 64)
@@ -35,4 +25,3 @@ tile_map_data = PackedByteArray(0, 0, 255, 255, 0, 0, 0, 0, 10, 0, 1, 0, 0, 0, 0
3525
tile_set = ExtResource("1_3rwtc")
3626

3727
[connection signal="body_entered" from="RigidBody2D" to="." method="_on_rigid_body_2d_body_entered"]
38-
[connection signal="body_entered" from="RigidBody2D/Area2D" to="." method="_on_area_2d_body_entered"]

0 commit comments

Comments
 (0)