[gd_scene load_steps=17 format=3 uid="uid://bj1ita42m6vj5"] [ext_resource type="Texture2D" uid="uid://blkdbhu6usvic" path="res://model/GameConsole.png" id="1_1xnas"] [ext_resource type="Script" path="res://script/Gameboy.cs" id="1_8q5hj"] [ext_resource type="Texture2D" uid="uid://uudw2vydoal1" path="res://model/GCMenu.png" id="2_06g1x"] [ext_resource type="Texture2D" uid="uid://bf4apksygpavq" path="res://model/Boss1Phase1.png" id="4_4qacm"] [ext_resource type="Theme" uid="uid://547aer6bl6w8" path="res://themes/theme_buttons_gameboy.tres" id="4_a5nt6"] [ext_resource type="Texture2D" uid="uid://ddtdf5ipblr61" path="res://model/Boss1Phase2.png" id="6_45a70"] [ext_resource type="Theme" uid="uid://d0wymiuig18m3" path="res://themes/label.tres" id="6_pwgdt"] [ext_resource type="Texture2D" uid="uid://jckl6jmf3f5k" path="res://model/Boss2Phase1.png" id="7_qjgmv"] [ext_resource type="Texture2D" uid="uid://b0qlf56ngggfx" path="res://model/Boss2Phase2.png" id="8_n7m7p"] [ext_resource type="Texture2D" uid="uid://cb8hbsxgq1mp5" path="res://model/Boss3Phase1.png" id="9_15ltb"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fjb7e"] bg_color = Color(0.0862745, 0.0862745, 0.0862745, 0.596078) [sub_resource type="Animation" id="Animation_pwrbo"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Panel/CenterContainer/GcMenu:texture") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [ExtResource("2_06g1x")] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Panel/CenterContainer/boss:texture") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [ExtResource("4_4qacm")] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("Label:text") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": ["wedwedwdwdwde"] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("Label:visible") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } tracks/4/type = "value" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("Panel/CenterContainer/GcMenu:visible") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/5/type = "value" tracks/5/imported = false tracks/5/enabled = true tracks/5/path = NodePath("Panel/CenterContainer/boss:visible") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/keys = { "times": PackedFloat32Array(0.001), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } [sub_resource type="Animation" id="Animation_4imyd"] resource_name = "start" length = 0.2 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Panel/CenterContainer/boss:texture") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [ExtResource("4_4qacm")] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Label:text") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0.0333334), "transitions": PackedFloat32Array(1), "update": 1, "values": ["Black spell of destruction"] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("Label:visible") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0.2), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("Panel/CenterContainer/GcMenu:visible") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0, 0.2, 0.2001), "transitions": PackedFloat32Array(1, 1, 1), "update": 1, "values": [true, false, false] } tracks/4/type = "value" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("Panel/CenterContainer/boss:visible") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "times": PackedFloat32Array(0.2), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } [sub_resource type="Animation" id="Animation_r3lxe"] resource_name = "1" length = 0.5 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Panel/CenterContainer/boss:texture") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1), "update": 1, "values": [ExtResource("6_45a70"), ExtResource("4_4qacm"), ExtResource("6_45a70"), ExtResource("4_4qacm"), ExtResource("6_45a70"), ExtResource("7_qjgmv")] } [sub_resource type="Animation" id="Animation_fg42v"] resource_name = "2" length = 0.5 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Panel/CenterContainer/boss:texture") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1), "update": 1, "values": [ExtResource("8_n7m7p"), ExtResource("6_45a70"), ExtResource("8_n7m7p"), ExtResource("6_45a70"), ExtResource("8_n7m7p"), ExtResource("9_15ltb")] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_tpw5q"] _data = { "1": SubResource("Animation_r3lxe"), "2": SubResource("Animation_fg42v"), "RESET": SubResource("Animation_pwrbo"), "start": SubResource("Animation_4imyd") } [node name="gameboy" type="CanvasLayer" node_paths=PackedStringArray("anim", "scoreLabel")] script = ExtResource("1_8q5hj") anim = NodePath("AnimationPlayer") scoreLabel = NodePath("score") [node name="Panel" type="Panel" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_fjb7e") [node name="CenterContainer" type="CenterContainer" parent="Panel"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 grow_horizontal = 2 grow_vertical = 2 [node name="GameConsole" type="Sprite2D" parent="Panel/CenterContainer"] texture = ExtResource("1_1xnas") [node name="GcMenu" type="Sprite2D" parent="Panel/CenterContainer"] texture = ExtResource("2_06g1x") [node name="boss" type="Sprite2D" parent="Panel/CenterContainer"] visible = false texture = ExtResource("4_4qacm") [node name="A" type="Button" parent="."] offset_left = 125.0 offset_top = 186.0 offset_right = 149.0 offset_bottom = 218.0 theme = ExtResource("4_a5nt6") text = " " [node name="B" type="Button" parent="."] offset_left = 164.0 offset_top = 207.0 offset_right = 188.0 offset_bottom = 239.0 theme = ExtResource("4_a5nt6") text = " " [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_tpw5q") } [node name="Label" type="Label" parent="."] visible = false offset_left = 124.0 offset_top = 143.0 offset_right = 279.0 offset_bottom = 166.0 theme = ExtResource("6_pwgdt") theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_font_sizes/font_size = 14 text = "wedwedwdwdwde" vertical_alignment = 2 autowrap_mode = 3 [node name="score" type="Label" parent="."] offset_left = 112.0 offset_top = 44.0 offset_right = 152.0 offset_bottom = 67.0 theme = ExtResource("6_pwgdt") theme_override_font_sizes/font_size = 16 text = "High Score : 0" [connection signal="pressed" from="A" to="." method="APressed"] [connection signal="pressed" from="B" to="." method="BPressed"]