2023-06-13 19:21:13 +10:00
|
|
|
[gd_scene load_steps=25 format=3 uid="uid://c7j6lwbwgbosr"]
|
2023-06-06 13:35:20 +10:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Scripts/client.gd" id="1_bvmvn"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dpu7jjppeja2v" path="res://Assets/task.png" id="2_k2tqp"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://de0gq6h0onwex" path="res://Assets/slice.png" id="3_pxlet"]
|
2023-06-13 00:59:02 +10:00
|
|
|
[ext_resource type="Texture2D" uid="uid://qhoam0u12smd" path="res://Assets/bad_pip.png" id="4_h1e7v"]
|
2023-06-11 02:08:09 +10:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bj07g3riacndc" path="res://Assets/back.png" id="4_tye4g"]
|
2023-06-13 00:59:02 +10:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dsqwv4h4oynxu" path="res://Assets/medium_pip.png" id="5_2itu6"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bo6ohnvl8b64o" path="res://Assets/good_pip.png" id="6_6ba24"]
|
2023-06-13 19:21:13 +10:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cqy1p45nku4hr" path="res://Scenes/bonus_icon.tscn" id="7_24rgf"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ffu6m58vkcmm" path="res://Assets/watch.png" id="9_uqpfx"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bvn600licjeml" path="res://Assets/30min.png" id="10_8sc0o"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b8wsa3qkt5w71" path="res://Assets/45min.png" id="11_bvudy"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://lpq7mg772eix" path="res://Assets/15min_hovered.png" id="11_prrc3"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://d2po8n2mbv375" path="res://Assets/1hour.png" id="12_lheht"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://di826qgsyf8ed" path="res://Assets/15min.png" id="13_mmi0r"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dolp5x82fgr1l" path="res://Assets/30min_hovered.png" id="13_s80fk"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://0o3k8q5k10oc" path="res://Assets/45min_hovered.png" id="15_72glw"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://pparncsv7qag" path="res://Assets/1hour_hovered.png" id="17_3rk3r"]
|
2023-06-06 13:35:20 +10:00
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_xciys"]
|
|
|
|
font_size = 25
|
|
|
|
shadow_size = 0
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_88ebh"]
|
|
|
|
font_size = 24
|
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_obgb8"]
|
|
|
|
size = Vector2(59.8477, 59.3524)
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_055ge"]
|
|
|
|
size = Vector2(62.4642, 56.7848)
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4n4wm"]
|
|
|
|
size = Vector2(68.011, 58.4376)
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c0coy"]
|
|
|
|
size = Vector2(60.7945, 58.1036)
|
|
|
|
|
2023-06-06 13:35:20 +10:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_70vuu"]
|
2023-06-11 02:08:09 +10:00
|
|
|
size = Vector2(350, 250)
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-07-05 22:19:18 +10:00
|
|
|
[node name="Card" type="Node2D" node_paths=PackedStringArray("watch")]
|
2023-06-06 13:35:20 +10:00
|
|
|
script = ExtResource("1_bvmvn")
|
2023-07-05 22:19:18 +10:00
|
|
|
watch = NodePath("watch")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-11 02:08:09 +10:00
|
|
|
[node name="front" type="TextureRect" parent="."]
|
|
|
|
visible = false
|
2023-06-06 13:35:20 +10:00
|
|
|
texture_filter = 1
|
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("2_k2tqp")
|
|
|
|
|
2023-06-11 02:08:09 +10:00
|
|
|
[node name="Title" type="Label" parent="front"]
|
2023-06-06 13:35:20 +10:00
|
|
|
modulate = Color(0, 0, 0, 1)
|
|
|
|
texture_filter = 1
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 166.0
|
2023-06-13 19:21:13 +10:00
|
|
|
offset_top = 10.0
|
2023-06-06 13:35:20 +10:00
|
|
|
offset_right = 296.0
|
2023-06-13 19:21:13 +10:00
|
|
|
offset_bottom = 48.0
|
2023-06-06 13:35:20 +10:00
|
|
|
label_settings = SubResource("LabelSettings_xciys")
|
|
|
|
horizontal_alignment = 1
|
|
|
|
vertical_alignment = 1
|
|
|
|
uppercase = true
|
|
|
|
|
2023-06-11 02:08:09 +10:00
|
|
|
[node name="Initial Stress" type="Label" parent="front"]
|
2023-06-06 13:35:20 +10:00
|
|
|
modulate = Color(0, 0, 0, 1)
|
|
|
|
texture_filter = 1
|
|
|
|
layout_mode = 0
|
2023-06-13 19:21:13 +10:00
|
|
|
offset_left = 119.0
|
|
|
|
offset_top = 11.0
|
|
|
|
offset_right = 158.0
|
|
|
|
offset_bottom = 48.0
|
2023-06-06 13:35:20 +10:00
|
|
|
label_settings = SubResource("LabelSettings_88ebh")
|
|
|
|
horizontal_alignment = 1
|
|
|
|
vertical_alignment = 1
|
|
|
|
uppercase = true
|
|
|
|
|
2023-06-11 02:08:09 +10:00
|
|
|
[node name="Slice1" type="TextureRect" parent="front"]
|
2023-06-13 19:21:13 +10:00
|
|
|
visible = false
|
2023-06-06 13:35:20 +10:00
|
|
|
layout_mode = 0
|
2023-06-11 02:08:09 +10:00
|
|
|
offset_left = 318.0
|
|
|
|
offset_top = 12.0
|
|
|
|
offset_right = 336.0
|
|
|
|
offset_bottom = 30.0
|
2023-06-06 13:35:20 +10:00
|
|
|
texture = ExtResource("3_pxlet")
|
|
|
|
|
2023-06-11 02:08:09 +10:00
|
|
|
[node name="Slice2" type="TextureRect" parent="front"]
|
2023-06-13 19:21:13 +10:00
|
|
|
visible = false
|
2023-06-06 13:35:20 +10:00
|
|
|
layout_mode = 0
|
2023-06-11 02:08:09 +10:00
|
|
|
offset_left = 318.0
|
|
|
|
offset_top = 28.0
|
|
|
|
offset_right = 336.0
|
|
|
|
offset_bottom = 46.0
|
2023-06-06 13:35:20 +10:00
|
|
|
texture = ExtResource("3_pxlet")
|
|
|
|
flip_v = true
|
|
|
|
|
2023-06-11 02:08:09 +10:00
|
|
|
[node name="Slice3" type="TextureRect" parent="front"]
|
2023-06-13 19:21:13 +10:00
|
|
|
visible = false
|
2023-06-06 13:35:20 +10:00
|
|
|
layout_mode = 0
|
2023-06-11 02:08:09 +10:00
|
|
|
offset_left = 302.0
|
|
|
|
offset_top = 28.0
|
|
|
|
offset_right = 320.0
|
|
|
|
offset_bottom = 46.0
|
2023-06-06 13:35:20 +10:00
|
|
|
texture = ExtResource("3_pxlet")
|
|
|
|
flip_h = true
|
|
|
|
flip_v = true
|
|
|
|
|
2023-06-11 02:08:09 +10:00
|
|
|
[node name="Slice4" type="TextureRect" parent="front"]
|
2023-06-13 19:21:13 +10:00
|
|
|
visible = false
|
2023-06-06 13:35:20 +10:00
|
|
|
layout_mode = 0
|
2023-06-11 02:08:09 +10:00
|
|
|
offset_left = 302.0
|
|
|
|
offset_top = 12.0
|
|
|
|
offset_right = 320.0
|
|
|
|
offset_bottom = 30.0
|
2023-06-06 13:35:20 +10:00
|
|
|
texture = ExtResource("3_pxlet")
|
|
|
|
flip_h = true
|
|
|
|
|
2023-06-11 02:08:09 +10:00
|
|
|
[node name="Turns Left Counter" type="Label" parent="front"]
|
2023-06-06 13:35:20 +10:00
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 354.0
|
|
|
|
offset_right = 394.0
|
|
|
|
offset_bottom = 26.0
|
|
|
|
text = "0"
|
|
|
|
|
2023-06-13 00:59:02 +10:00
|
|
|
[node name="pip2" type="TextureRect" parent="front"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 149.0
|
|
|
|
offset_top = 209.0
|
|
|
|
offset_right = 169.0
|
|
|
|
offset_bottom = 223.0
|
|
|
|
texture = ExtResource("4_h1e7v")
|
|
|
|
|
|
|
|
[node name="pip3" type="TextureRect" parent="front"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 169.0
|
|
|
|
offset_top = 209.0
|
|
|
|
offset_right = 189.0
|
|
|
|
offset_bottom = 223.0
|
|
|
|
texture = ExtResource("4_h1e7v")
|
|
|
|
|
|
|
|
[node name="pip4" type="TextureRect" parent="front"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 189.0
|
|
|
|
offset_top = 209.0
|
|
|
|
offset_right = 209.0
|
|
|
|
offset_bottom = 223.0
|
|
|
|
texture = ExtResource("4_h1e7v")
|
|
|
|
|
|
|
|
[node name="pip5" type="TextureRect" parent="front"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 209.0
|
|
|
|
offset_top = 209.0
|
|
|
|
offset_right = 229.0
|
|
|
|
offset_bottom = 223.0
|
|
|
|
texture = ExtResource("5_2itu6")
|
|
|
|
|
|
|
|
[node name="pip6" type="TextureRect" parent="front"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 229.0
|
|
|
|
offset_top = 209.0
|
|
|
|
offset_right = 249.0
|
|
|
|
offset_bottom = 223.0
|
|
|
|
texture = ExtResource("5_2itu6")
|
|
|
|
|
|
|
|
[node name="pip7" type="TextureRect" parent="front"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 249.0
|
|
|
|
offset_top = 209.0
|
|
|
|
offset_right = 269.0
|
|
|
|
offset_bottom = 223.0
|
|
|
|
texture = ExtResource("5_2itu6")
|
|
|
|
|
|
|
|
[node name="pip8" type="TextureRect" parent="front"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 269.0
|
|
|
|
offset_top = 209.0
|
|
|
|
offset_right = 289.0
|
|
|
|
offset_bottom = 223.0
|
|
|
|
texture = ExtResource("6_6ba24")
|
|
|
|
|
|
|
|
[node name="pip9" type="TextureRect" parent="front"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 289.0
|
|
|
|
offset_top = 209.0
|
|
|
|
offset_right = 309.0
|
|
|
|
offset_bottom = 223.0
|
|
|
|
texture = ExtResource("6_6ba24")
|
|
|
|
|
2023-07-05 22:19:18 +10:00
|
|
|
[node name="ColorRect" type="ColorRect" parent="front"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 134.0
|
|
|
|
offset_top = 211.0
|
|
|
|
offset_right = 144.0
|
|
|
|
offset_bottom = 221.0
|
|
|
|
color = Color(0, 0.588235, 0.682353, 1)
|
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="Bonus1" parent="front" instance=ExtResource("7_24rgf")]
|
|
|
|
visible = false
|
|
|
|
position = Vector2(156, 109)
|
|
|
|
|
|
|
|
[node name="Bonus2" parent="front" instance=ExtResource("7_24rgf")]
|
2023-06-06 13:35:20 +10:00
|
|
|
visible = false
|
2023-06-13 19:21:13 +10:00
|
|
|
position = Vector2(260, 109)
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="Bonus3" parent="front" instance=ExtResource("7_24rgf")]
|
|
|
|
visible = false
|
|
|
|
position = Vector2(156, 171)
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="Bonus4" parent="front" instance=ExtResource("7_24rgf")]
|
|
|
|
visible = false
|
|
|
|
position = Vector2(260, 171)
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="back" type="TextureRect" parent="."]
|
|
|
|
offset_top = 250.0
|
|
|
|
offset_right = 250.0
|
|
|
|
offset_bottom = 600.0
|
|
|
|
rotation = -1.5708
|
|
|
|
texture = ExtResource("4_tye4g")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="watch" type="TextureRect" parent="."]
|
2023-06-06 13:35:20 +10:00
|
|
|
visible = false
|
2023-06-13 19:21:13 +10:00
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("9_uqpfx")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="time1" type="TextureRect" parent="watch"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("13_mmi0r")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="time2" type="TextureRect" parent="watch"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("10_8sc0o")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="time3" type="TextureRect" parent="watch"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("11_bvudy")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="time4" type="TextureRect" parent="watch"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("12_lheht")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="time_hovered1" type="TextureRect" parent="watch"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("11_prrc3")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="time_hovered2" type="TextureRect" parent="watch"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("13_s80fk")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="time_hovered3" type="TextureRect" parent="watch"]
|
2023-06-06 13:35:20 +10:00
|
|
|
visible = false
|
2023-06-13 19:21:13 +10:00
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("15_72glw")
|
|
|
|
|
|
|
|
[node name="time_hovered4" type="TextureRect" parent="watch"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 350.0
|
|
|
|
offset_bottom = 250.0
|
|
|
|
texture = ExtResource("17_3rk3r")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="Area2D2" type="Area2D" parent="watch"]
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="watch/Area2D2"]
|
|
|
|
position = Vector2(212.509, 120.249)
|
|
|
|
rotation = 0.306916
|
|
|
|
shape = SubResource("RectangleShape2D_obgb8")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="Area2D3" type="Area2D" parent="watch"]
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="watch/Area2D3"]
|
|
|
|
position = Vector2(187.897, 177.388)
|
|
|
|
rotation = 0.349425
|
|
|
|
shape = SubResource("RectangleShape2D_055ge")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="Area2D4" type="Area2D" parent="watch"]
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="watch/Area2D4"]
|
|
|
|
position = Vector2(120.328, 158.61)
|
|
|
|
rotation = 0.386902
|
|
|
|
shape = SubResource("RectangleShape2D_4n4wm")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="Area2D" type="Area2D" parent="watch"]
|
2023-06-06 13:35:20 +10:00
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="watch/Area2D"]
|
|
|
|
position = Vector2(149, 101)
|
|
|
|
rotation = 0.365652
|
|
|
|
shape = SubResource("RectangleShape2D_c0coy")
|
2023-06-06 13:35:20 +10:00
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
2023-06-11 02:08:09 +10:00
|
|
|
position = Vector2(175, 125)
|
2023-06-06 13:35:20 +10:00
|
|
|
shape = SubResource("RectangleShape2D_70vuu")
|
|
|
|
|
2023-06-13 19:21:13 +10:00
|
|
|
[connection signal="input_event" from="watch/Area2D2" to="." method="_on_watch_segment_input_event" binds= [0]]
|
|
|
|
[connection signal="mouse_entered" from="watch/Area2D2" to="." method="_on_watch_segment_mouse_entered" binds= [0]]
|
|
|
|
[connection signal="mouse_exited" from="watch/Area2D2" to="." method="_on_watch_segment_mouse_exited" binds= [0]]
|
|
|
|
[connection signal="input_event" from="watch/Area2D3" to="." method="_on_watch_segment_input_event" binds= [1]]
|
|
|
|
[connection signal="mouse_entered" from="watch/Area2D3" to="." method="_on_watch_segment_mouse_entered" binds= [1]]
|
|
|
|
[connection signal="mouse_exited" from="watch/Area2D3" to="." method="_on_watch_segment_mouse_exited" binds= [1]]
|
|
|
|
[connection signal="input_event" from="watch/Area2D4" to="." method="_on_watch_segment_input_event" binds= [2]]
|
|
|
|
[connection signal="mouse_entered" from="watch/Area2D4" to="." method="_on_watch_segment_mouse_entered" binds= [2]]
|
|
|
|
[connection signal="mouse_exited" from="watch/Area2D4" to="." method="_on_watch_segment_mouse_exited" binds= [2]]
|
|
|
|
[connection signal="input_event" from="watch/Area2D" to="." method="_on_watch_segment_input_event" binds= [3]]
|
|
|
|
[connection signal="mouse_entered" from="watch/Area2D" to="." method="_on_watch_segment_mouse_entered" binds= [3]]
|
|
|
|
[connection signal="mouse_exited" from="watch/Area2D" to="." method="_on_watch_segment_mouse_exited" binds= [3]]
|