fix blastzone
This commit is contained in:
parent
be0d63d8cd
commit
3d8300743f
2 changed files with 26 additions and 34 deletions
|
@ -3,9 +3,6 @@
|
|||
[ext_resource type="PackedScene" uid="uid://snxpqx0ony7s" path="res://objects/Player.tscn" id="1_prjlb"]
|
||||
[ext_resource type="PackedScene" uid="uid://dii1q3f5dj72y" path="res://objects/CRT.tscn" id="2_mxtem"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1vofj"]
|
||||
size = Vector2(1289, 70.5)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4uh45"]
|
||||
size = Vector2(1281, 85.5)
|
||||
|
||||
|
@ -15,6 +12,9 @@ size = Vector2(63.75, 738.5)
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h7316"]
|
||||
size = Vector2(100, 753)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1vofj"]
|
||||
size = Vector2(1289, 70.5)
|
||||
|
||||
[node name="LevelBase" type="Node"]
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("1_prjlb")]
|
||||
|
@ -27,18 +27,22 @@ visible = false
|
|||
[node name="Walls" type="StaticBody2D" parent="."]
|
||||
collision_mask = 6
|
||||
|
||||
[node name="Ground" type="CollisionShape2D" parent="Walls"]
|
||||
position = Vector2(-12, 186)
|
||||
shape = SubResource("RectangleShape2D_1vofj")
|
||||
|
||||
[node name="Ceiling" type="CollisionShape2D" parent="Walls"]
|
||||
position = Vector2(3, -206)
|
||||
position = Vector2(11, -203)
|
||||
shape = SubResource("RectangleShape2D_4uh45")
|
||||
|
||||
[node name="LeftWall" type="CollisionShape2D" parent="Walls"]
|
||||
position = Vector2(-357, 42)
|
||||
position = Vector2(-352, 43)
|
||||
shape = SubResource("RectangleShape2D_nnio8")
|
||||
|
||||
[node name="RightWall" type="CollisionShape2D" parent="Walls"]
|
||||
position = Vector2(367, 16)
|
||||
position = Vector2(371, 17)
|
||||
shape = SubResource("RectangleShape2D_h7316")
|
||||
|
||||
[node name="BlastZone" type="CharacterBody2D" parent="."]
|
||||
collision_layer = 2
|
||||
collision_mask = 6
|
||||
|
||||
[node name="Ground" type="CollisionShape2D" parent="BlastZone"]
|
||||
position = Vector2(-9, 348)
|
||||
shape = SubResource("RectangleShape2D_1vofj")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue