This repository has been archived on 2025-04-15. You can view files and clone it, but cannot push or open issues or pull requests.
Gamify-Life/Gamify Life/Magic Great Ball Stuffs/magic_great_ball.tscn
2025-04-15 11:55:58 -07:00

199 lines
7 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://hwoef5r4bo0r"]
[ext_resource type="Script" path="res://Magic Great Ball Stuffs/magic_great_ball.gd" id="1_j3hdm"]
[ext_resource type="Texture2D" uid="uid://cgadk407d1cw0" path="res://Magic Great Ball Stuffs/GBall.svg" id="2_ron2o"]
[ext_resource type="PackedScene" uid="uid://dw40u2fc4fhrc" path="res://ZGlobal/multi_music_player.tscn" id="3_slqbo"]
[sub_resource type="LabelSettings" id="LabelSettings_wy54x"]
font_size = 144
font_color = Color(0.121569, 0.121569, 0.121569, 1)
outline_size = 10
outline_color = Color(1, 0, 0, 1)
[sub_resource type="Animation" id="Animation_v86un"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("GBall/Label:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("GBall/Label:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-433, -68)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("GBall:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(471, 299)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("GBall/Label:scale")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1, 1)]
}
[sub_resource type="Animation" id="Animation_6p6sj"]
resource_name = "Shake"
step = 0.01
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("GBall/Label:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("GBall/Label:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.49, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector2(-433, -68), Vector2(-432.178, 50.1737), Vector2(-432.178, -71.8398), Vector2(-433, -68)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("GBall:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(471, 299), Vector2(424, 297), Vector2(516, 413), Vector2(594, 211), Vector2(445, 238), Vector2(504, 363), Vector2(533, 244), Vector2(408, 339), Vector2(368, 188), Vector2(549, 248), Vector2(441, 337), Vector2(378, 210), Vector2(627, 243), Vector2(370, 360), Vector2(471, 299)]
}
tracks/3/type = "method"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath(".")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.5),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"Select_Thing"
}]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("GBall/Label:scale")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 0.49, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector2(1, 1), Vector2(1, 0.01), Vector2(1, 0.01), Vector2(1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_g7f2u"]
_data = {
"RESET": SubResource("Animation_v86un"),
"Shake": SubResource("Animation_6p6sj")
}
[node name="Magic Great Ball" type="Node2D"]
script = ExtResource("1_j3hdm")
No_Strings = PackedStringArray("No.", "You shouldn\'t do that.", "It\'s best not to do that.", "Don\'t do it.", "Nuh-uh.", "uh, no.", "No, stop it!", "No no no no no no no no no no no no no no no no no no no no no no no no", "That shouldn\'t be done. Ever.", "Nope")
Probably_Not_Strings = PackedStringArray("Probably Not.", "75% chance of no.", "Maybe not.", "I believe it to be best if you were to stray from this.", "When it comes down to circumstances, I think not.", "The best answer is toward no, for me.", "If you haven\'t run out of luck after doing that, buy a lottery ticket.", "ehhh... not really", "Not really.", "Possibly not.")
Maybe = PackedStringArray("Maybe.", "Possibly.", "Ehh...", "I\'m in the middle here.", "50/50", "Tough question, maybe ask it differently?", "Try asking again.", "The possibilities are endless with that question.", "Say that again.")
Probably_Strings = PackedStringArray("Probably Should.", "Couldn\'t hurt to try, can it?", "75% chance of yes.", "I believe it well to do it.", "Let\'s see what happens.", "I\'m leaning toward yes.", "I feel like this is good.", "")
Yes_Strings = PackedStringArray("Yes.", "Couldn\'t hurt to try", "Do it!", "But of course.", "hell yea!", "Yup.", "Of course.", "Oh yeah!", "*nods head*")
[node name="ColorRect" type="ColorRect" parent="."]
offset_right = 960.0
offset_bottom = 600.0
color = Color(0, 0, 0.443137, 1)
[node name="GBall" type="Sprite2D" parent="."]
position = Vector2(471, 299)
scale = Vector2(0.876953, 0.876953)
texture = ExtResource("2_ron2o")
[node name="Label" type="Label" parent="GBall"]
offset_left = -433.0
offset_top = -68.0
offset_right = 409.0
offset_bottom = 48.0001
theme_override_font_sizes/font_size = 20
text = "The Magic Great Ball™ is a very large 8ball, capable of having loads more responses than a regular 8 ball. Shake to your heart's desire."
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="G" type="Label" parent="GBall"]
offset_left = -55.8753
offset_top = -389.987
offset_right = 49.1247
offset_bottom = -189.987
text = "G"
label_settings = SubResource("LabelSettings_wy54x")
horizontal_alignment = 1
vertical_alignment = 1
justification_flags = 0
[node name="Shake Button" type="Button" parent="."]
offset_left = 212.0
offset_top = 480.0
offset_right = 752.0
offset_bottom = 571.0
theme_override_font_sizes/font_size = 60
text = "Shake Great Ball™"
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_g7f2u")
}
[node name="Back" type="Button" parent="."]
offset_left = 24.0
offset_top = 550.0
offset_right = 69.0
offset_bottom = 581.0
text = "Back"
[node name="Multi-Music Player" parent="." instance=ExtResource("3_slqbo")]
[connection signal="pressed" from="Shake Button" to="." method="_on_shake_button_pressed"]
[connection signal="pressed" from="Back" to="." method="_on_back_pressed"]