[gd_scene load_steps=26 format=3 uid="uid://rd1m2fu22g1s"] [ext_resource type="PackedScene" uid="uid://ccvoi0qmvlxmj" path="res://Reusable Scenes/number_node.tscn" id="1_j877y"] [ext_resource type="Script" path="res://Scripts/Generator.gd" id="1_uaslf"] [ext_resource type="Script" path="res://Scripts/Player.gd" id="3_j3fp5"] [ext_resource type="Script" path="res://Scripts/GameLoop.gd" id="3_u7xnc"] [ext_resource type="FontFile" uid="uid://bhybdqwdcpywa" path="res://Assets/Fonts/Quicksand-Bold.ttf" id="4_5ifsc"] [ext_resource type="FontFile" uid="uid://df0pr57kqfmcr" path="res://Assets/Fonts/Quicksand-SemiBold.ttf" id="4_cjrjl"] [ext_resource type="Script" path="res://Scripts/Tutorial.gd" id="4_fqetg"] [ext_resource type="Script" path="res://Levels/IncreaseSize.gd" id="5_8xpc8"] [ext_resource type="Script" path="res://Scripts/ModifierLabel.gd" id="5_lj1b3"] [ext_resource type="Script" path="res://Scripts/AI.gd" id="6_ncui2"] [ext_resource type="Texture2D" uid="uid://cci7pus1kdxjj" path="res://Assets/Visuals/blob0.png" id="8_esilc"] [ext_resource type="Texture2D" uid="uid://hinhcem271jc" path="res://Assets/Visuals/blob1.png" id="8_u1qbb"] [ext_resource type="Texture2D" uid="uid://022ury5knnn" path="res://Assets/Visuals/blob2.png" id="9_13brs"] [ext_resource type="Texture2D" uid="uid://cgirl46k2wyxe" path="res://Assets/Visuals/squircle.png" id="13_8aorr"] [ext_resource type="AudioStream" uid="uid://cgoxk43t03yqt" path="res://Assets/Audio/win.wav" id="14_62x5v"] [ext_resource type="AudioStream" uid="uid://bt22xn53ylcg" path="res://Assets/Audio/lose.wav" id="15_q08y5"] [ext_resource type="Texture2D" uid="uid://bumq6rg220orv" path="res://Assets/Visuals/hole.png" id="17_tl6rx"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_ludyn"] size = Vector2(38, 38) [sub_resource type="Animation" id="Animation_dkjtm"] resource_name = "mod" length = 2.0 tracks/0/type = "bezier" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("TextureRect2:scale:x") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "handle_modes": PackedInt32Array(0, 0, 0, 0), "points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0.08, -0.25, 0, 0.25, 0, 0.08, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.5, 1.5, 2) } tracks/1/type = "bezier" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("TextureRect2:scale:y") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "handle_modes": PackedInt32Array(0, 0, 0, 0), "points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0.08, -0.25, 0, 0.25, 0, 0.08, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.5, 1.5, 2) } tracks/2/type = "bezier" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("TextureRect:scale:x") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "handle_modes": PackedInt32Array(0, 0, 0, 0), "points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0.08, -0.25, 0, 0.25, 0, 0.08, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.5, 1.5, 2) } tracks/3/type = "bezier" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("TextureRect:scale:y") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "handle_modes": PackedInt32Array(0, 0, 0, 0), "points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0.08, -0.25, 0, 0.25, 0, 0.08, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.5, 1.5, 2) } tracks/4/type = "bezier" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("ModifierLabel:theme_override_colors/font_color:r") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(1, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } tracks/5/type = "bezier" tracks/5/imported = false tracks/5/enabled = true tracks/5/path = NodePath("ModifierLabel:theme_override_colors/font_color:g") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(1, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } tracks/6/type = "bezier" tracks/6/imported = false tracks/6/enabled = true tracks/6/path = NodePath("ModifierLabel:theme_override_colors/font_color:b") tracks/6/interp = 1 tracks/6/loop_wrap = true tracks/6/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(1, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } tracks/7/type = "bezier" tracks/7/imported = false tracks/7/enabled = true tracks/7/path = NodePath("ModifierLabel:theme_override_colors/font_color:a") tracks/7/interp = 1 tracks/7/loop_wrap = true tracks/7/keys = { "handle_modes": PackedInt32Array(0, 0, 0, 0), "points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0, 0.7, 1.5, 2.1) } [sub_resource type="AnimationLibrary" id="AnimationLibrary_gpmpl"] _data = { "mod": SubResource("Animation_dkjtm") } [sub_resource type="CircleShape2D" id="CircleShape2D_ml6nm"] radius = 260.83 [sub_resource type="CircleShape2D" id="CircleShape2D_4p6y7"] radius = 160.0 [sub_resource type="Animation" id="Animation_3chpf"] length = 0.001 loop_mode = 1 [sub_resource type="Animation" id="Animation_ugcil"] resource_name = "win" length = 7.0 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("TextureRect2:scale") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(1.00255, 1.11788, 1.45173), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(0.003, 0.003), Vector2(0.42251, 0.392513)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("TextureRect:scale") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(1.11412, 1.17928, 1.50156), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(0.1, 0.1), Vector2(0.4, 0.4)] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("WonLabel:scale") tracks/2/interp = 2 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(1.32477, 2.07709), "transitions": PackedFloat32Array(0.258816, 2.12929), "update": 0, "values": [Vector2(0, 0), Vector2(1, 1)] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("WonLabel:position") tracks/3/interp = 2 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(1.38495, 2.07709), "transitions": PackedFloat32Array(0.210224, 0.659754), "update": 0, "values": [Vector2(530, 300), Vector2(0, 0)] } tracks/4/type = "value" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("ResetLabel2:theme_override_colors/font_color") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "times": PackedFloat32Array(2.65637, 3.63815), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(0.717647, 0.717647, 0.717647, 0), Color(0.717647, 0.717647, 0.717647, 1)] } tracks/5/type = "value" tracks/5/imported = false tracks/5/enabled = true tracks/5/path = NodePath("ResetLabel2:theme_override_colors/font_outline_color") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/keys = { "times": PackedFloat32Array(2.66013, 3.62686), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(0.113725, 0.184314, 0.541176, 0), Color(0.113725, 0.184314, 0.541176, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_1r2yy"] _data = { "RESET": SubResource("Animation_3chpf"), "win": SubResource("Animation_ugcil") } [node name="MainNode2D" type="Node2D"] [node name="Generator" type="Node" parent="."] script = ExtResource("1_uaslf") numbernode = ExtResource("1_j877y") min_nodes = 60 max_nodes = 90 [node name="GameLoop" type="Node" parent="." node_paths=PackedStringArray("label", "turn_label", "win_control", "anim", "anim_label")] script = ExtResource("3_u7xnc") turns = 10 label = NodePath("../Control/HBoxContainer/Label") turn_label = NodePath("../Control/TurnLabel") level = "res://Levels/game.tscn" win_control = NodePath("../Control/Won") anim = NodePath("../Control/Won/AnimationPlayer") anim_label = NodePath("../Control/Won/WonLabel") [node name="BetweenPlayerAndAI" type="Timer" parent="GameLoop"] one_shot = true [node name="AudioDelay" type="Timer" parent="GameLoop"] one_shot = true [node name="Tutorial" type="Node" parent="." node_paths=PackedStringArray("step_controls")] script = ExtResource("4_fqetg") step_controls = [NodePath("../Control/Tutorial0"), NodePath("../Control/Tutorial1"), NodePath("../Control/Tutorial2"), NodePath("../Control/Tutorial3"), NodePath("../Control/Tutorial4")] [node name="Player" parent="." instance=ExtResource("1_j877y")] z_index = 4096 position = Vector2(68, 661) do_scanning = false color = Color(0.156863, 0.298039, 0.929412, 1) [node name="Player" type="Node" parent="Player" node_paths=PackedStringArray("line")] script = ExtResource("3_j3fp5") max_distance = 160.0 line = NodePath("../Line2D") [node name="IncreaseSize" type="Node" parent="Player" node_paths=PackedStringArray("me", "player")] script = ExtResource("5_8xpc8") me = NodePath("..") player = NodePath("../Player") max_value = 100 min_size = 0.08 max_size = 0.2 min_range = 180.0 max_range = 370.0 [node name="Line2D" type="Line2D" parent="Player"] z_index = -1 z_as_relative = false points = PackedVector2Array(0, 0, 0, 0) width = 20.0 default_color = Color(0.156863, 0.298039, 0.929412, 1) texture_mode = 2 begin_cap_mode = 2 end_cap_mode = 2 [node name="PlayerArea2D" type="Area2D" parent="Player"] collision_layer = 2 collision_mask = 2 collision_priority = 9999.0 [node name="CollisionShape2D" type="CollisionShape2D" parent="Player/PlayerArea2D"] shape = SubResource("RectangleShape2D_ludyn") [node name="Control" type="Control" parent="Player"] layout_mode = 3 anchors_preset = 0 offset_left = -19.0 offset_top = -66.0 offset_right = 21.0 offset_bottom = -26.0 mouse_filter = 1 [node name="TextureRect2" type="TextureRect" parent="Player/Control"] modulate = Color(0.458824, 0, 0.105882, 1) layout_mode = 0 offset_left = -22.0 offset_top = 2.99997 offset_right = 1002.0 offset_bottom = 515.0 rotation = -0.170645 scale = Vector2(1e-05, 1e-05) texture = ExtResource("13_8aorr") [node name="TextureRect" type="TextureRect" parent="Player/Control"] modulate = Color(0.85098, 0.0666667, 0.2, 1) layout_mode = 0 offset_left = -19.0 offset_top = -3.0 offset_right = 1005.0 offset_bottom = 509.0 scale = Vector2(1e-05, 1e-05) texture = ExtResource("13_8aorr") [node name="ModifierLabel" type="Label" parent="Player/Control"] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -30.0 offset_top = -34.0 offset_right = 32.0 offset_bottom = -11.0 grow_horizontal = 2 grow_vertical = 0 theme_override_colors/font_color = Color(1, 1, 1, 0) theme_override_fonts/font = ExtResource("4_5ifsc") text = "+ X" horizontal_alignment = 1 vertical_alignment = 1 script = ExtResource("5_lj1b3") [node name="Timer" type="Timer" parent="Player/Control/ModifierLabel"] wait_time = 2.0 [node name="AnimationPlayer" type="AnimationPlayer" parent="Player/Control"] libraries = { "": SubResource("AnimationLibrary_gpmpl") } [node name="AI" parent="." instance=ExtResource("1_j877y")] z_index = 80 position = Vector2(1207, 52) do_scanning = false color = Color(0.921569, 0.403922, 0.627451, 1) [node name="AI" type="Node" parent="AI" node_paths=PackedStringArray("shape_cast_original", "shape_cast_skill_issue")] script = ExtResource("6_ncui2") shape_cast_original = NodePath("../AIShapeCast2D") shape_cast_skill_issue = NodePath("../ThisAIHasSkillIssue") [node name="IncreaseSize" type="Node" parent="AI" node_paths=PackedStringArray("me", "player")] script = ExtResource("5_8xpc8") me = NodePath("..") player = NodePath("../AI") max_value = 100 min_size = 0.08 max_size = 0.2 min_range = 180.0 max_range = 370.0 [node name="ThisAIHasSkillIssue" type="ShapeCast2D" parent="AI"] modulate = Color(1, 0, 0, 1) shape = SubResource("CircleShape2D_ml6nm") target_position = Vector2(0, 0) collide_with_areas = true [node name="AIShapeCast2D" type="ShapeCast2D" parent="AI"] modulate = Color(1, 0, 1, 1) shape = SubResource("CircleShape2D_4p6y7") target_position = Vector2(0, 0) collide_with_areas = true [node name="Control" type="Control" parent="AI"] layout_mode = 3 anchors_preset = 0 offset_left = -19.0 offset_top = -66.0 offset_right = 21.0 offset_bottom = -26.0 mouse_filter = 1 [node name="TextureRect2" type="TextureRect" parent="AI/Control"] modulate = Color(0.458824, 0, 0.105882, 1) layout_mode = 0 offset_left = -22.0 offset_top = 2.99997 offset_right = 1002.0 offset_bottom = 515.0 rotation = -0.170645 scale = Vector2(1e-05, 1e-05) texture = ExtResource("13_8aorr") [node name="TextureRect" type="TextureRect" parent="AI/Control"] modulate = Color(0.85098, 0.0666667, 0.2, 1) layout_mode = 0 offset_left = -19.0 offset_top = -3.0 offset_right = 1005.0 offset_bottom = 509.0 scale = Vector2(1e-05, 1e-05) texture = ExtResource("13_8aorr") [node name="ModifierLabel" type="Label" parent="AI/Control"] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -30.0 offset_top = -34.0 offset_right = 32.0 offset_bottom = -11.0 grow_horizontal = 2 grow_vertical = 0 theme_override_colors/font_color = Color(1, 1, 1, 0) theme_override_fonts/font = ExtResource("4_5ifsc") text = "+ X" horizontal_alignment = 1 vertical_alignment = 1 script = ExtResource("5_lj1b3") [node name="Timer" type="Timer" parent="AI/Control/ModifierLabel"] wait_time = 2.0 [node name="AnimationPlayer" type="AnimationPlayer" parent="AI/Control"] libraries = { "": SubResource("AnimationLibrary_gpmpl") } [node name="NumberNode" parent="." instance=ExtResource("1_j877y")] position = Vector2(95, 551) [node name="NumberNode2" parent="." instance=ExtResource("1_j877y")] position = Vector2(1214, 127) [node name="Blob0" type="Sprite2D" parent="."] modulate = Color(0.615686, 0.792157, 1, 0.933333) z_index = -999 position = Vector2(252, 169) texture = ExtResource("8_esilc") [node name="Blob2" type="Sprite2D" parent="."] modulate = Color(0.72549, 0.639216, 0.858824, 0.631373) z_index = -999 position = Vector2(1051, 191) scale = Vector2(0.866211, 0.779297) texture = ExtResource("9_13brs") [node name="Blob1" type="Sprite2D" parent="."] modulate = Color(0.839216, 0.623529, 1, 0.533333) z_index = -999 position = Vector2(702, 656) texture = ExtResource("8_u1qbb") [node name="ColorRect" type="ColorRect" parent="."] z_index = -1000 custom_minimum_size = Vector2(1280, 720) offset_right = 1280.0 offset_bottom = 720.0 mouse_filter = 1 color = Color(0.835294, 0.956863, 1, 1) [node name="Control" type="Control" parent="."] z_index = 4096 layout_mode = 3 anchors_preset = 0 offset_right = 1280.0 offset_bottom = 720.0 mouse_filter = 1 [node name="HBoxContainer" type="HBoxContainer" parent="Control"] layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_bottom = 91.515 grow_horizontal = 2 alignment = 1 [node name="Label" type="Label" parent="Control/HBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 13 theme_override_fonts/font = ExtResource("4_5ifsc") theme_override_font_sizes/font_size = 48 text = "X" horizontal_alignment = 1 vertical_alignment = 2 [node name="Label2" type="Label" parent="Control/HBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.835294, 0.835294, 0.835294, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 13 theme_override_fonts/font = ExtResource("4_5ifsc") theme_override_font_sizes/font_size = 22 text = " turn(s) left" horizontal_alignment = 1 vertical_alignment = 2 [node name="TurnLabel" type="Label" parent="Control"] layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_top = 89.335 offset_bottom = 117.335 grow_horizontal = 2 rotation = -0.0349066 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 8 theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "your turn!" horizontal_alignment = 1 [node name="ResetLabel" type="Label" parent="Control"] visible = false layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -164.0 offset_top = -62.0 offset_right = -26.0 offset_bottom = -34.0 grow_horizontal = 0 grow_vertical = 0 rotation = 0.101229 theme_override_colors/font_color = Color(0, 0, 0, 0.223529) theme_override_colors/font_outline_color = Color(1, 1, 1, 0.317647) theme_override_constants/outline_size = 7 theme_override_fonts/font = ExtResource("4_5ifsc") theme_override_font_sizes/font_size = 18 text = "press R to reset" horizontal_alignment = 1 [node name="Won" type="Control" parent="Control"] visible = false anchors_preset = 0 offset_right = 1280.0 offset_bottom = 720.0 [node name="TextureRect2" type="TextureRect" parent="Control/Won"] modulate = Color(0.113725, 0.184314, 0.541176, 1) layout_mode = 0 offset_left = 400.0 offset_top = 297.0 offset_right = 1424.0 offset_bottom = 809.0 rotation = -0.170645 scale = Vector2(1e-05, 1e-05) texture = ExtResource("13_8aorr") [node name="TextureRect" type="TextureRect" parent="Control/Won"] modulate = Color(0.172549, 0.419608, 1, 1) layout_mode = 0 offset_left = 435.0 offset_top = 255.0 offset_right = 1459.0 offset_bottom = 767.0 scale = Vector2(1e-05, 1e-05) texture = ExtResource("13_8aorr") [node name="WonLabel" type="Label" parent="Control/Won"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 530.0 offset_top = 300.0 offset_right = 530.0 offset_bottom = 300.0 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(1e-05, 1e-05) theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0.113725, 0.184314, 0.541176, 1) theme_override_constants/outline_size = 15 theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 78 text = "YOU won!" horizontal_alignment = 1 vertical_alignment = 1 [node name="ResetLabel2" type="Label" parent="Control/Won"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -700.0 offset_top = -316.0 offset_right = -562.0 offset_bottom = -288.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(0.717647, 0.717647, 0.717647, 0) theme_override_colors/font_outline_color = Color(0.113725, 0.184314, 0.541176, 0) theme_override_constants/outline_size = 7 theme_override_fonts/font = ExtResource("4_5ifsc") theme_override_font_sizes/font_size = 18 text = "press R to reset" horizontal_alignment = 1 [node name="AnimationPlayer" type="AnimationPlayer" parent="Control/Won"] libraries = { "": SubResource("AnimationLibrary_1r2yy") } [node name="Win" type="AudioStreamPlayer2D" parent="Control/Won"] stream = ExtResource("14_62x5v") [node name="Lose" type="AudioStreamPlayer2D" parent="Control/Won"] stream = ExtResource("15_q08y5") [node name="Tutorial0" type="Control" parent="Control"] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="TextureRect" type="TextureRect" parent="Control/Tutorial0"] modulate = Color(1, 1, 1, 0.439216) layout_mode = 0 offset_left = -572.0 offset_top = 295.0 offset_right = 1988.0 offset_bottom = 1735.0 scale = Vector2(0.5, 0.5) texture = ExtResource("17_tl6rx") [node name="ColorRect" type="ColorRect" parent="Control/Tutorial0"] layout_mode = 0 offset_left = -128.0 offset_top = -98.0 offset_right = 1459.0 offset_bottom = 295.0 color = Color(0, 0, 0, 0.439216) [node name="ColorRect2" type="ColorRect" parent="Control/Tutorial0"] layout_mode = 0 offset_left = 708.0 offset_top = 295.0 offset_right = 1459.0 offset_bottom = 1357.0 color = Color(0, 0, 0, 0.439216) [node name="Label" type="Label" parent="Control/Tutorial0"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 123.0 offset_top = 535.0 offset_right = 371.0 offset_bottom = 584.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 5 theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "hey this is you, you are a number" [node name="Label2" type="Label" parent="Control/Tutorial0"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 150.0 offset_top = 594.0 offset_right = 289.0 offset_bottom = 622.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(0.713726, 0.713726, 0.713726, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 5 theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "[space] for next" [node name="Tutorial1" type="Control" parent="Control"] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="TextureRect" type="TextureRect" parent="Control/Tutorial1"] modulate = Color(1, 1, 1, 0.439216) layout_mode = 0 offset_left = 570.0 offset_top = -297.0 offset_right = 3130.0 offset_bottom = 1143.0 scale = Vector2(0.5, 0.5) texture = ExtResource("17_tl6rx") [node name="ColorRect" type="ColorRect" parent="Control/Tutorial1"] layout_mode = 0 offset_left = -128.0 offset_top = -98.0 offset_right = 570.0 offset_bottom = 1086.0 color = Color(0, 0, 0, 0.439216) [node name="ColorRect2" type="ColorRect" parent="Control/Tutorial1"] layout_mode = 0 offset_left = 570.0 offset_top = 423.0 offset_right = 1397.0 offset_bottom = 882.0 color = Color(0, 0, 0, 0.439216) [node name="Label" type="Label" parent="Control/Tutorial1"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 740.0 offset_top = -21.0 offset_right = 1072.0 offset_bottom = 54.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 5 theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "that, is an ai. defeat him by getting a larger number" horizontal_alignment = 2 [node name="Label2" type="Label" parent="Control/Tutorial1"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 1070.0 offset_top = 128.0 offset_right = 1209.0 offset_bottom = 156.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(0.713726, 0.713726, 0.713726, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 5 theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "[space] for next" [node name="Tutorial2" type="Control" parent="Control"] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 mouse_filter = 1 [node name="TextureRect" type="TextureRect" parent="Control/Tutorial2"] modulate = Color(0, 0, 0, 0.662745) layout_mode = 0 offset_left = 244.0 offset_top = 534.0 offset_right = 1372.0 offset_bottom = 1110.0 scale = Vector2(0.25, 0.25) texture = ExtResource("13_8aorr") [node name="Label" type="Label" parent="Control/Tutorial2"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 230.0 offset_top = 539.0 offset_right = 457.0 offset_bottom = 588.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "join numbers together by dragging and dropping. you take turns with the ai." [node name="Label2" type="Label" parent="Control/Tutorial2"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 322.0 offset_top = 596.0 offset_right = 461.0 offset_bottom = 624.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(0.713726, 0.713726, 0.713726, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "[space] for next" [node name="Tutorial3" type="Control" parent="Control"] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 mouse_filter = 1 [node name="TextureRect" type="TextureRect" parent="Control/Tutorial3"] modulate = Color(0, 0, 0, 0.662745) layout_mode = 0 offset_left = 316.0 offset_top = 425.0 offset_right = 1340.0 offset_bottom = 937.0 scale = Vector2(0.3, 0.3) texture = ExtResource("13_8aorr") [node name="Label" type="Label" parent="Control/Tutorial3"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 295.0 offset_top = 401.0 offset_right = 555.0 offset_bottom = 502.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "some numbers have modifiers in them, they can do extra operations after you join a number." [node name="Label2" type="Label" parent="Control/Tutorial3"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 421.0 offset_top = 498.0 offset_right = 560.0 offset_bottom = 526.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(0.713726, 0.713726, 0.713726, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "[space] for next" [node name="Tutorial4" type="Control" parent="Control"] visible = false anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 mouse_filter = 1 [node name="TextureRect" type="TextureRect" parent="Control/Tutorial4"] modulate = Color(0, 0, 0, 0.662745) layout_mode = 0 offset_left = 316.0 offset_top = 425.0 offset_right = 1340.0 offset_bottom = 937.0 scale = Vector2(0.32, 0.32) texture = ExtResource("13_8aorr") [node name="Label" type="Label" parent="Control/Tutorial4"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 306.0 offset_top = 411.0 offset_right = 541.0 offset_bottom = 512.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "easy, right? well, good luck! (oh right, [R] to reset if you got stuck)" [node name="Label2" type="Label" parent="Control/Tutorial4"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 424.0 offset_top = 508.0 offset_right = 569.0 offset_bottom = 536.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(0.713726, 0.713726, 0.713726, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("4_cjrjl") theme_override_font_sizes/font_size = 18 text = "[space] for done" [connection signal="timeout" from="GameLoop/BetweenPlayerAndAI" to="GameLoop" method="_on_between_player_and_ai_timeout"] [connection signal="timeout" from="GameLoop/AudioDelay" to="GameLoop" method="_on_audio_delay_timeout"] [connection signal="input_event" from="Player/PlayerArea2D" to="Player/Player" method="_on_player_area_2d_input_event"] [connection signal="timeout" from="Player/Control/ModifierLabel/Timer" to="Player/Control/ModifierLabel" method="_on_timer_timeout"] [connection signal="timeout" from="AI/Control/ModifierLabel/Timer" to="AI/Control/ModifierLabel" method="_on_timer_timeout"]