gai-godot-games/instancing_starter/Main.tscn

152 lines
4.5 KiB
Plaintext

[gd_scene load_steps=13 format=3 uid="uid://bc04jgq832nvc"]
[ext_resource type="Script" path="res://Main.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://dm5jrnxmxnuof" path="res://Ball.tscn" id="2"]
[ext_resource type="Texture2D" uid="uid://dkq1swbmmxmbq" path="res://assets/Bouncy Platform Long.png" id="3"]
[sub_resource type="PhysicsMaterial" id="1"]
bounce = 0.5
[sub_resource type="CapsuleShape2D" id="2"]
radius = 28.7617
height = 309.37
[sub_resource type="PhysicsMaterial" id="3"]
bounce = 0.5
[sub_resource type="PhysicsMaterial" id="4"]
bounce = 0.5
[sub_resource type="PhysicsMaterial" id="5"]
bounce = 0.5
[sub_resource type="PhysicsMaterial" id="6"]
bounce = 0.5
[sub_resource type="PhysicsMaterial" id="7"]
bounce = 0.5
[sub_resource type="PhysicsMaterial" id="8"]
bounce = 0.5
[sub_resource type="PhysicsMaterial" id="9"]
bounce = 0.5
[node name="Main" type="Node"]
script = ExtResource("1")
Ball = ExtResource("2")
[node name="WallContainer" type="Node" parent="."]
[node name="Wall2" type="StaticBody2D" parent="WallContainer"]
position = Vector2(880.952, 495.157)
rotation = -0.264907
physics_material_override = SubResource("1")
[node name="Sprite2D" type="Sprite2D" parent="WallContainer/Wall2"]
texture = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallContainer/Wall2"]
rotation = 1.5708
shape = SubResource("2")
[node name="Wall7" type="StaticBody2D" parent="WallContainer"]
position = Vector2(462.444, 216.865)
rotation = -1.02983
physics_material_override = SubResource("3")
[node name="Sprite2D" type="Sprite2D" parent="WallContainer/Wall7"]
texture = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallContainer/Wall7"]
rotation = 1.5708
shape = SubResource("2")
[node name="Wall8" type="StaticBody2D" parent="WallContainer"]
position = Vector2(585.534, 221.147)
rotation = 1.07416
physics_material_override = SubResource("4")
[node name="Sprite2D" type="Sprite2D" parent="WallContainer/Wall8"]
texture = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallContainer/Wall8"]
rotation = 1.5708
shape = SubResource("2")
[node name="Wall8" type="StaticBody2D" parent="WallContainer/Wall8"]
position = Vector2(-351.915, 334.235)
rotation = 1.07416
physics_material_override = SubResource("4")
[node name="Sprite2D" type="Sprite2D" parent="WallContainer/Wall8/Wall8"]
texture = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallContainer/Wall8/Wall8"]
rotation = 1.5708
shape = SubResource("2")
[node name="Wall4" type="StaticBody2D" parent="WallContainer"]
position = Vector2(996.874, 342.897)
rotation = -1.5708
physics_material_override = SubResource("5")
[node name="Sprite2D" type="Sprite2D" parent="WallContainer/Wall4"]
texture = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallContainer/Wall4"]
rotation = 1.5708
shape = SubResource("2")
[node name="Wall1" type="StaticBody2D" parent="WallContainer"]
position = Vector2(148.047, 491.522)
rotation = 0.315662
physics_material_override = SubResource("6")
[node name="Sprite2D" type="Sprite2D" parent="WallContainer/Wall1"]
texture = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallContainer/Wall1"]
rotation = 1.5708
shape = SubResource("2")
[node name="Wall5" type="StaticBody2D" parent="WallContainer"]
position = Vector2(30.2087, 337.685)
rotation = 1.5708
physics_material_override = SubResource("7")
[node name="Sprite2D" type="Sprite2D" parent="WallContainer/Wall5"]
texture = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallContainer/Wall5"]
rotation = 1.5708
shape = SubResource("2")
[node name="Wall3" type="StaticBody2D" parent="WallContainer"]
position = Vector2(397.133, 570.384)
physics_material_override = SubResource("8")
[node name="Sprite2D" type="Sprite2D" parent="WallContainer/Wall3"]
texture = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallContainer/Wall3"]
rotation = 1.5708
shape = SubResource("2")
[node name="Wall6" type="StaticBody2D" parent="WallContainer"]
position = Vector2(699.667, 571.226)
physics_material_override = SubResource("9")
[node name="Sprite2D" type="Sprite2D" parent="WallContainer/Wall6"]
texture = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallContainer/Wall6"]
rotation = 1.5708
shape = SubResource("2")
[node name="Ball" parent="." instance=ExtResource("2")]
position = Vector2(427, 95)
[node name="Ball2" parent="." instance=ExtResource("2")]
position = Vector2(336, 115)