diff options
Diffstat (limited to 'scenes/microgames/fishin/node_2d.tscn')
-rw-r--r-- | scenes/microgames/fishin/node_2d.tscn | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/scenes/microgames/fishin/node_2d.tscn b/scenes/microgames/fishin/node_2d.tscn new file mode 100644 index 0000000..969ec34 --- /dev/null +++ b/scenes/microgames/fishin/node_2d.tscn @@ -0,0 +1,130 @@ +[gd_scene load_steps=14 format=3 uid="uid://c4s4pigu4pr48"] + +[ext_resource type="Texture2D" uid="uid://voruypgyi77e" path="res://scenes/stockticker/UI-Background-Colour.png" id="1_cxqat"] +[ext_resource type="Script" path="res://scenes/microgames/fishin/fishin.gd" id="1_srw8b"] +[ext_resource type="Texture2D" uid="uid://crpp1qfyk4tv7" path="res://scenes/microgames/fishin/Kibbby.png" id="2_atppo"] +[ext_resource type="Texture2D" uid="uid://br3jiit0v6jes" path="res://scenes/microgames/fishin/KibbbyPulling.png" id="3_don82"] +[ext_resource type="Theme" uid="uid://ve18rbkeiwti" path="res://UI/text.tres" id="5_7qce4"] +[ext_resource type="Texture2D" uid="uid://is20ioxt1vtm" path="res://UI/MousePrompt.png" id="6_7ls0g"] +[ext_resource type="Texture2D" uid="uid://us0sonuda24u" path="res://UI/MousePrompt2.png" id="7_qpcgm"] +[ext_resource type="Script" path="res://libs/shake_pivot.gd" id="7_vnrfy"] +[ext_resource type="Texture2D" uid="uid://d4kyih3ivlqqc" path="res://scenes/microgames/fishin/KibbbySad.png" id="9_blola"] +[ext_resource type="Texture2D" uid="uid://dcvie7ynwdfui" path="res://scenes/microgames/fishin/KibbbyHappy.png" id="10_1il5r"] + +[sub_resource type="Animation" id="Animation_bep6n"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ShakePivot3/Mouse:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [null] +} + +[sub_resource type="Animation" id="Animation_fxbt5"] +resource_name = "mash" +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ShakePivot3/Mouse:texture") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0.0333334, 0.466667), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [ExtResource("6_7ls0g"), ExtResource("7_qpcgm")] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_7e725"] +_data = { +"RESET": SubResource("Animation_bep6n"), +"mash": SubResource("Animation_fxbt5") +} + +[node name="Node2D2" type="Window"] +position = Vector2i(0, 36) +size = Vector2i(930, 560) +unresizable = true +script = ExtResource("1_srw8b") + +[node name="background" type="Sprite2D" parent="."] +modulate = Color(0.42, 0.700333, 1, 1) +position = Vector2(649.75, 362.25) +scale = Vector2(1300.5, 725.5) +texture = ExtResource("1_cxqat") + +[node name="you!" type="Sprite2D" parent="."] +position = Vector2(535, 300) +texture = ExtResource("2_atppo") + +[node name="TextureButton" type="TextureButton" parent="."] +offset_right = 1298.0 +offset_bottom = 728.0 + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +libraries = { +"": SubResource("AnimationLibrary_7e725") +} +autoplay = "mash" +speed_scale = 8.0 + +[node name="ShakePivot" type="Node2D" parent="."] +script = ExtResource("7_vnrfy") + +[node name="pulling" type="Sprite2D" parent="ShakePivot"] +visible = false +position = Vector2(535, 300) +texture = ExtResource("3_don82") + +[node name="ShakePivot2" type="Node2D" parent="."] +script = ExtResource("7_vnrfy") + +[node name="MASH" type="Label" parent="ShakePivot2"] +visible = false +offset_left = 150.0 +offset_top = 358.0 +offset_right = 570.0 +offset_bottom = 598.0 +theme = ExtResource("5_7qce4") +theme_override_colors/font_color = Color(1, 0, 0, 1) +theme_override_font_sizes/font_size = 60 +text = "MASH!!!" + +[node name="ShakePivot3" type="Node2D" parent="."] +script = ExtResource("7_vnrfy") + +[node name="Mouse" type="Sprite2D" parent="ShakePivot3"] +visible = false +position = Vector2(412, 532) +scale = Vector2(0.216276, 0.249769) + +[node name="StartGame" type="Timer" parent="."] +autostart = true + +[node name="InGame" type="Timer" parent="."] +wait_time = 3.0 + +[node name="SAD" type="Sprite2D" parent="."] +visible = false +position = Vector2(535, 300) +texture = ExtResource("9_blola") + +[node name="Happy" type="Sprite2D" parent="."] +visible = false +position = Vector2(535, 300) +texture = ExtResource("10_1il5r") + +[node name="SuccessFail" type="Timer" parent="."] +wait_time = 3.0 + +[connection signal="button_up" from="TextureButton" to="." method="_on_texture_button_button_up"] +[connection signal="timeout" from="StartGame" to="." method="_on_start_game_timeout"] +[connection signal="timeout" from="InGame" to="." method="_on_in_game_timeout"] +[connection signal="timeout" from="SuccessFail" to="." method="_on_success_fail_timeout"] |