-
Notifications
You must be signed in to change notification settings - Fork 0
/
world.tscn
75 lines (58 loc) · 2.58 KB
/
world.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[gd_scene load_steps=10 format=3 uid="uid://ct3020tu2w32g"]
[ext_resource type="PackedScene" uid="uid://cl4x0xyild4k5" path="res://boundary.tscn" id="1_7y6uc"]
[ext_resource type="Script" path="res://world.gd" id="1_n00kx"]
[ext_resource type="PackedScene" uid="uid://cnfnax356vh33" path="res://ai_paddle.tscn" id="2_gtsai"]
[ext_resource type="Script" path="res://Control.gd" id="2_qmbje"]
[ext_resource type="PackedScene" uid="uid://bdptcvgfv13qa" path="res://player_paddle.tscn" id="3_jhuwq"]
[ext_resource type="PackedScene" uid="uid://cgxjwxmc8m2xk" path="res://ball.tscn" id="4_nbnlu"]
[ext_resource type="PackedScene" uid="uid://s2clyiwuypk0" path="res://endzone.tscn" id="5_vxff4"]
[ext_resource type="Script" path="res://UI.gd" id="8_loq05"]
[ext_resource type="PackedScene" uid="uid://dgfxy7v2lhl68" path="res://pause_menu.tscn" id="9_4t43f"]
[node name="World" type="Node2D"]
script = ExtResource("1_n00kx")
metadata/_edit_lock_ = true
[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_qmbje")
[node name="Endzones" type="Node" parent="Control"]
[node name="player_endzone" parent="Control/Endzones" instance=ExtResource("5_vxff4")]
position = Vector2(-10, 0)
[node name="ai_endzone" parent="Control/Endzones" instance=ExtResource("5_vxff4")]
position = Vector2(110, 0)
[node name="Boundaries" type="Node" parent="Control"]
[node name="top_boundary" parent="Control/Boundaries" instance=ExtResource("1_7y6uc")]
position = Vector2(50, 1)
[node name="bot_boundary" parent="Control/Boundaries" instance=ExtResource("1_7y6uc")]
position = Vector2(50, 49)
[node name="Paddles" type="Node" parent="Control"]
[node name="ai_paddle" parent="Control/Paddles" instance=ExtResource("2_gtsai")]
position = Vector2(99, 25)
[node name="player_paddle" parent="Control/Paddles" instance=ExtResource("3_jhuwq")]
position = Vector2(1, 25)
[node name="Ball" type="Node" parent="Control"]
[node name="ball" parent="Control/Ball" instance=ExtResource("4_nbnlu")]
position = Vector2(50, 25)
[node name="UI" type="Control" parent="Control"]
layout_mode = 1
anchors_preset = 0
offset_left = 28.0
offset_top = -9.0
offset_right = 68.0
offset_bottom = 31.0
script = ExtResource("8_loq05")
[node name="score_ui" type="Label" parent="Control/UI"]
layout_mode = 0
offset_left = 14.0
offset_top = 9.0
offset_right = 27.0
offset_bottom = 24.0
theme_override_font_sizes/font_size = 10
text = "0-0"
[node name="PauseMenu" parent="." instance=ExtResource("9_4t43f")]
offset_right = 100.0
offset_bottom = 50.0