|
1 | | -[gd_scene load_steps=31 format=3 uid="uid://tf7b8c64ecc0"] |
| 1 | +[gd_scene load_steps=33 format=3 uid="uid://tf7b8c64ecc0"] |
2 | 2 |
|
3 | 3 | [ext_resource type="PackedScene" uid="uid://s7enbp56f256" path="res://pong_game/paddle.tscn" id="1_1k5k2"] |
4 | 4 | [ext_resource type="Script" path="res://pong_game/pong_game.gd" id="1_bjkc8"] |
|
10 | 10 | [ext_resource type="Script" path="res://addons/block_code/block_script_data/block_script_data.gd" id="7_uuuue"] |
11 | 11 | [ext_resource type="PackedScene" uid="uid://bis7afjjuwypq" path="res://pong_game/hud.tscn" id="8_yg457"] |
12 | 12 | [ext_resource type="PackedScene" uid="uid://c7l70grmkauij" path="res://pong_game/ball.tscn" id="9_xrqll"] |
| 13 | +[ext_resource type="PackedScene" uid="uid://1ownc3rikn2k" path="res://pong_game/ball_spawn_area.tscn" id="10_5vs1t"] |
| 14 | +[ext_resource type="PackedScene" uid="uid://vc7u0ljq02eh" path="res://pong_game/goal_area.tscn" id="12_nqmxu"] |
13 | 15 |
|
14 | 16 | [sub_resource type="Resource" id="Resource_535fl"] |
15 | 17 | script = ExtResource("5_wr38c") |
@@ -152,25 +154,34 @@ script = ExtResource("1_bjkc8") |
152 | 154 |
|
153 | 155 | [node name="PaddleLeft" parent="." instance=ExtResource("1_1k5k2")] |
154 | 156 | modulate = Color(0.511, 0.362, 0.972, 1) |
155 | | -position = Vector2(64, 576) |
| 157 | +position = Vector2(64, 544) |
156 | 158 |
|
157 | 159 | [node name="BlockCode" type="Node" parent="PaddleLeft"] |
158 | 160 | script = ExtResource("3_6jaq8") |
159 | 161 | bsd = SubResource("Resource_t7nl4") |
160 | 162 |
|
161 | 163 | [node name="PaddleRight" parent="." instance=ExtResource("1_1k5k2")] |
162 | 164 | modulate = Color(0.511, 0.362, 0.972, 1) |
163 | | -position = Vector2(1856, 576) |
| 165 | +position = Vector2(1856, 544) |
164 | 166 |
|
165 | 167 | [node name="BlockCode" type="Node" parent="PaddleRight"] |
166 | 168 | script = ExtResource("3_6jaq8") |
167 | 169 | bsd = SubResource("Resource_52r02") |
168 | 170 |
|
169 | 171 | [node name="Ball" parent="." instance=ExtResource("9_xrqll")] |
170 | 172 | modulate = Color(0.511, 0.362, 0.972, 1) |
171 | | -position = Vector2(960, 576) |
| 173 | +position = Vector2(960, 544) |
172 | 174 | linear_velocity = Vector2(353.553, 353.553) |
173 | 175 |
|
| 176 | +[node name="BallSpawnArea" parent="." groups=["ball_spawn_area"] instance=ExtResource("10_5vs1t")] |
| 177 | +position = Vector2(960, 544) |
| 178 | + |
| 179 | +[node name="GoalAreaLeft" parent="." groups=["goal", "goal_left"] instance=ExtResource("12_nqmxu")] |
| 180 | +position = Vector2(-64, 544) |
| 181 | + |
| 182 | +[node name="GoalAreaRight" parent="." groups=["goal", "goal_right"] instance=ExtResource("12_nqmxu")] |
| 183 | +position = Vector2(1984, 544) |
| 184 | + |
174 | 185 | [node name="HUD" parent="." instance=ExtResource("8_yg457")] |
175 | 186 |
|
176 | 187 | [node name="BlockCode" type="Node" parent="."] |
|
0 commit comments