2024-08-27 18:53:33 +02:00
|
|
|
[gd_scene load_steps=13 format=3 uid="uid://coq78ajuagqrq"]
|
|
|
|
|
2024-09-11 19:03:50 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/balls.gd" id="1"]
|
2024-08-27 18:53:33 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dm5jrnxmxnuof" path="res://scenes/ball.tscn" id="2"]
|
2024-09-11 19:03:50 +02:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dkq1swbmmxmbq" path="res://assets/img/Bouncy Platform Long.png" id="3"]
|
2024-08-27 18:53:33 +02:00
|
|
|
|
|
|
|
[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(948.743, 478.292)
|
|
|
|
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(530.235, 200)
|
|
|
|
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(653.325, 204.282)
|
|
|
|
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="Wall4" type="StaticBody2D" parent="WallContainer"]
|
|
|
|
position = Vector2(1064.67, 326.032)
|
|
|
|
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(215.838, 474.657)
|
|
|
|
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(98, 320.82)
|
|
|
|
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(464.924, 553.519)
|
|
|
|
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(767.458, 554.361)
|
|
|
|
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(456, 110)
|
|
|
|
|
|
|
|
[node name="Ball2" parent="." instance=ExtResource("2")]
|
|
|
|
position = Vector2(300, 97)
|
|
|
|
|
|
|
|
[node name="Ball3" parent="." instance=ExtResource("2")]
|
|
|
|
position = Vector2(204, 171)
|
|
|
|
|
|
|
|
[node name="Ball4" parent="." instance=ExtResource("2")]
|
|
|
|
position = Vector2(805, 107)
|
|
|
|
|
|
|
|
[node name="Ball5" parent="." instance=ExtResource("2")]
|
|
|
|
position = Vector2(987, 130)
|
|
|
|
|
|
|
|
[node name="Ball6" parent="." instance=ExtResource("2")]
|
|
|
|
position = Vector2(701, 81)
|