1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-22 08:04:23 +00:00
looping-for-loops/Scenes/SingleScreenWalls.tscn

35 lines
1 KiB
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://Scenes/Wall.tscn" type="PackedScene" id=1]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 20, 360 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 680, 20 )
[node name="SingleScreenWalls" type="Node2D"]
[node name="WallLeft" type="StaticBody2D" parent="." instance=ExtResource( 1 )]
collision_layer = 16
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallLeft"]
position = Vector2( -20, 360 )
shape = SubResource( 1 )
[node name="WallRight" type="StaticBody2D" parent="." instance=ExtResource( 1 )]
collision_layer = 16
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallRight"]
position = Vector2( 1300, 360 )
shape = SubResource( 1 )
[node name="WallTop" type="StaticBody2D" parent="." instance=ExtResource( 1 )]
collision_layer = 16
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallTop"]
position = Vector2( 640, -20 )
shape = SubResource( 2 )