| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- [gd_scene format=3]
- [ext_resource type="Script" path="res://scripts/title.gd" id="1_title"]
- [ext_resource type="Script" path="res://scripts/walls.gd" id="2_walls"]
- [ext_resource type="Script" path="res://scripts/core.gd" id="3_core"]
- [ext_resource type="Script" path="res://scripts/stars.gd" id="4_stars"]
- [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pill"]
- content_margin_left = 48.0
- content_margin_top = 12.0
- content_margin_right = 48.0
- content_margin_bottom = 14.0
- bg_color = Color(0.992157, 0.592157, 0.121569, 1)
- corner_radius_top_left = 34
- corner_radius_top_right = 34
- corner_radius_bottom_right = 34
- corner_radius_bottom_left = 34
- anti_aliasing_size = 1.5
- [node name="Title" type="Node2D"]
- script = ExtResource("1_title")
- [node name="Walls" type="StaticBody2D" parent="."]
- script = ExtResource("2_walls")
- [node name="Core" type="StaticBody2D" parent="."]
- script = ExtResource("3_core")
- radius = 180.0
- metadata/bounce = 0.9
- [node name="Balls" type="Node2D" parent="."]
- [node name="UI" type="CanvasLayer" parent="."]
- [node name="Title" type="Label" parent="UI"]
- anchor_top = 0.28
- anchor_right = 1.0
- anchor_bottom = 0.28
- offset_top = -70.0
- offset_bottom = 70.0
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_font_sizes/font_size = 96
- text = "RedCore"
- horizontal_alignment = 1
- vertical_alignment = 1
- [node name="MusicToggle" type="Button" parent="UI"]
- anchor_left = 1.0
- anchor_right = 1.0
- offset_left = -150.0
- offset_top = 8.0
- offset_right = -8.0
- offset_bottom = 48.0
- grow_horizontal = 0
- theme_override_colors/font_color = Color(1, 1, 1, 0.75)
- theme_override_font_sizes/font_size = 20
- text = "Music: on"
- flat = true
- alignment = 2
- [node name="Info" type="VBoxContainer" parent="UI"]
- anchor_top = 0.56
- anchor_right = 1.0
- anchor_bottom = 0.56
- offset_top = -60.0
- offset_bottom = 60.0
- grow_horizontal = 2
- grow_vertical = 2
- alignment = 1
- [node name="Level" type="Label" parent="UI/Info"]
- layout_mode = 2
- theme_override_font_sizes/font_size = 40
- text = "Level 0"
- horizontal_alignment = 1
- [node name="Totals" type="HBoxContainer" parent="UI/Info"]
- layout_mode = 2
- alignment = 1
- [node name="Star" type="Control" parent="UI/Info/Totals"]
- layout_mode = 2
- script = ExtResource("4_stars")
- count = 1
- filled = 1
- star_size = 26.0
- [node name="Count" type="Label" parent="UI/Info/Totals"]
- layout_mode = 2
- theme_override_font_sizes/font_size = 26
- text = "0"
- [node name="Best" type="Label" parent="UI/Info"]
- layout_mode = 2
- theme_override_colors/font_color = Color(1, 1, 1, 0.6)
- theme_override_font_sizes/font_size = 20
- horizontal_alignment = 1
- [node name="Play" type="Button" parent="UI"]
- anchor_left = 0.5
- anchor_top = 0.7
- anchor_right = 0.5
- anchor_bottom = 0.7
- offset_left = -130.0
- offset_top = -34.0
- offset_right = 130.0
- offset_bottom = 34.0
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_colors/font_color = Color(0.152941, 0.156863, 0.133333, 1)
- theme_override_colors/font_hover_color = Color(0.152941, 0.156863, 0.133333, 1)
- theme_override_colors/font_pressed_color = Color(0.152941, 0.156863, 0.133333, 1)
- theme_override_font_sizes/font_size = 36
- theme_override_styles/normal = SubResource("StyleBoxFlat_pill")
- theme_override_styles/hover = SubResource("StyleBoxFlat_pill")
- theme_override_styles/pressed = SubResource("StyleBoxFlat_pill")
- theme_override_styles/focus = SubResource("StyleBoxFlat_pill")
- text = "Play"
- [node name="Levels" type="Button" parent="UI"]
- anchor_left = 0.5
- anchor_top = 0.7
- anchor_right = 0.5
- anchor_bottom = 0.7
- offset_left = -100.0
- offset_top = 44.0
- offset_right = 100.0
- offset_bottom = 86.0
- grow_horizontal = 2
- theme_override_font_sizes/font_size = 26
- text = "Levels"
- flat = true
- [node name="Next" type="Label" parent="UI"]
- anchor_top = 0.82
- anchor_right = 1.0
- anchor_bottom = 0.82
- offset_left = 16.0
- offset_top = -16.0
- offset_right = -16.0
- offset_bottom = 16.0
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_colors/font_color = Color(0.4, 0.85098, 0.937255, 1)
- theme_override_font_sizes/font_size = 22
- horizontal_alignment = 1
- [node name="Decay" type="Label" parent="UI"]
- anchor_top = 0.9
- anchor_right = 1.0
- anchor_bottom = 0.9
- offset_left = 24.0
- offset_top = -24.0
- offset_right = -24.0
- offset_bottom = 30.0
- grow_horizontal = 2
- grow_vertical = 2
- theme_override_colors/font_color = Color(1, 1, 1, 0.55)
- theme_override_font_sizes/font_size = 17
- horizontal_alignment = 1
- autowrap_mode = 3
|