|
1 | | -[gd_scene load_steps=31 format=3 uid="uid://tf7b8c64ecc0"] |
| 1 | +[gd_scene load_steps=32 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"] |
13 | 14 |
|
14 | 15 | [sub_resource type="Resource" id="Resource_535fl"] |
15 | 16 | script = ExtResource("5_wr38c") |
@@ -152,25 +153,28 @@ script = ExtResource("1_bjkc8") |
152 | 153 |
|
153 | 154 | [node name="PaddleLeft" parent="." instance=ExtResource("1_1k5k2")] |
154 | 155 | modulate = Color(0.511, 0.362, 0.972, 1) |
155 | | -position = Vector2(64, 576) |
| 156 | +position = Vector2(64, 544) |
156 | 157 |
|
157 | 158 | [node name="BlockCode" type="Node" parent="PaddleLeft"] |
158 | 159 | script = ExtResource("3_6jaq8") |
159 | 160 | bsd = SubResource("Resource_t7nl4") |
160 | 161 |
|
161 | 162 | [node name="PaddleRight" parent="." instance=ExtResource("1_1k5k2")] |
162 | 163 | modulate = Color(0.511, 0.362, 0.972, 1) |
163 | | -position = Vector2(1856, 576) |
| 164 | +position = Vector2(1856, 544) |
164 | 165 |
|
165 | 166 | [node name="BlockCode" type="Node" parent="PaddleRight"] |
166 | 167 | script = ExtResource("3_6jaq8") |
167 | 168 | bsd = SubResource("Resource_52r02") |
168 | 169 |
|
169 | 170 | [node name="Ball" parent="." instance=ExtResource("9_xrqll")] |
170 | 171 | modulate = Color(0.511, 0.362, 0.972, 1) |
171 | | -position = Vector2(960, 576) |
| 172 | +position = Vector2(960, 544) |
172 | 173 | linear_velocity = Vector2(353.553, 353.553) |
173 | 174 |
|
| 175 | +[node name="BallSpawnArea" parent="." groups=["ball_spawn_area"] instance=ExtResource("10_5vs1t")] |
| 176 | +position = Vector2(960, 544) |
| 177 | + |
174 | 178 | [node name="HUD" parent="." instance=ExtResource("8_yg457")] |
175 | 179 |
|
176 | 180 | [node name="BlockCode" type="Node" parent="."] |
|
0 commit comments