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/Coin Counter/coin_counter.tscn
2025-04-15 11:55:58 -07:00

478 lines
13 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://derbb83wolo1r"]
[ext_resource type="Script" path="res://Coin Counter/coin_counter.gd" id="1_bxerb"]
[ext_resource type="PackedScene" uid="uid://dw40u2fc4fhrc" path="res://ZGlobal/multi_music_player.tscn" id="2_jwfac"]
[node name="Coin Counter" type="Node2D"]
script = ExtResource("1_bxerb")
[node name="ColorRect" type="ColorRect" parent="."]
offset_right = 960.0
offset_bottom = 600.0
color = Color(0.0352941, 0.172549, 0.301961, 1)
[node name="ColorRect" type="ColorRect" parent="ColorRect"]
layout_mode = 0
offset_top = 281.0
offset_right = 960.0
offset_bottom = 283.0
color = Color(0.145098, 0, 0.490196, 1)
[node name="Label" type="Label" parent="."]
modulate = Color(0, 0.560784, 1, 1)
offset_left = 5.0
offset_top = 433.0
offset_right = 138.0
offset_bottom = 505.0
rotation = -1.5708
theme_override_font_sizes/font_size = 50
text = "Coins"
[node name="Label2" type="Label" parent="."]
modulate = Color(0, 0.560784, 1, 1)
offset_left = 4.0
offset_top = 267.0
offset_right = 137.0
offset_bottom = 339.0
rotation = -1.5708
theme_override_font_sizes/font_size = 50
text = "Rolls"
horizontal_alignment = 1
[node name="Pennies" type="Label" parent="."]
modulate = Color(0.721569, 0.45098, 0.2, 1)
offset_left = 80.0
offset_top = 340.0
offset_right = 152.0
offset_bottom = 385.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Pennies"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Pennies"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Label" type="Label" parent="Pennies"]
layout_mode = 0
offset_left = -10.0
offset_top = -260.0
offset_right = 82.0
offset_bottom = -234.0
text = "Pennies"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Rollies" type="Label" parent="Pennies"]
layout_mode = 0
offset_top = -164.0
offset_right = 72.0
offset_bottom = -119.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Pennies/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Pennies/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Nickels" type="Label" parent="."]
modulate = Color(0.72549, 0.72549, 0.72549, 1)
offset_left = 230.0
offset_top = 340.0
offset_right = 302.0
offset_bottom = 385.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Nickels"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Nickels"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Label" type="Label" parent="Nickels"]
layout_mode = 0
offset_left = -10.0
offset_top = -260.0
offset_right = 82.0
offset_bottom = -234.0
text = "Nickels"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Rollies" type="Label" parent="Nickels"]
layout_mode = 0
offset_top = -164.0
offset_right = 72.0
offset_bottom = -119.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Nickels/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Nickels/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Dimes" type="Label" parent="."]
modulate = Color(0.942823, 0.942823, 0.942823, 1)
offset_left = 380.0
offset_top = 340.0
offset_right = 452.0
offset_bottom = 385.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Dimes"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Dimes"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Label" type="Label" parent="Dimes"]
layout_mode = 0
offset_left = -10.0
offset_top = -260.0
offset_right = 82.0
offset_bottom = -234.0
text = "Dimes"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Rollies" type="Label" parent="Dimes"]
layout_mode = 0
offset_top = -164.0
offset_right = 72.0
offset_bottom = -119.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Dimes/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Dimes/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Quarters" type="Label" parent="."]
modulate = Color(0, 0.490196, 0.490196, 1)
offset_left = 530.0
offset_top = 340.0
offset_right = 602.0
offset_bottom = 385.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Quarters"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Quarters"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Label" type="Label" parent="Quarters"]
layout_mode = 0
offset_left = -10.0
offset_top = -260.0
offset_right = 82.0
offset_bottom = -234.0
text = "Quarters"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Rollies" type="Label" parent="Quarters"]
layout_mode = 0
offset_top = -164.0
offset_right = 72.0
offset_bottom = -119.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Quarters/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Quarters/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Half Dollars" type="Label" parent="."]
modulate = Color(0.988235, 0.968627, 0, 1)
offset_left = 680.0
offset_top = 340.0
offset_right = 752.0
offset_bottom = 385.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Half Dollars"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Half Dollars"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Label" type="Label" parent="Half Dollars"]
layout_mode = 0
offset_left = -10.0
offset_top = -260.0
offset_right = 82.0
offset_bottom = -234.0
text = "Half Dollars"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Rollies" type="Label" parent="Half Dollars"]
layout_mode = 0
offset_top = -164.0
offset_right = 72.0
offset_bottom = -119.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Half Dollars/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Half Dollars/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Dollar Coins" type="Label" parent="."]
modulate = Color(1, 0.698039, 1, 1)
offset_left = 830.0
offset_top = 340.0
offset_right = 902.0
offset_bottom = 385.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Dollar Coins"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Dollar Coins"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Label" type="Label" parent="Dollar Coins"]
layout_mode = 0
offset_left = -10.0
offset_top = -260.0
offset_right = 84.0
offset_bottom = -234.0
text = "Dollar Coins"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Rollies" type="Label" parent="Dollar Coins"]
layout_mode = 0
offset_top = -164.0
offset_right = 72.0
offset_bottom = -119.0
theme_override_font_sizes/font_size = 30
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Increase" type="Button" parent="Dollar Coins/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = -46.0
offset_right = 53.0
offset_bottom = 4.0
theme_override_font_sizes/font_size = 30
text = "/\\"
[node name="Decrease" type="Button" parent="Dollar Coins/Rollies"]
layout_mode = 0
offset_left = 21.0
offset_top = 42.0
offset_right = 53.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 30
text = "\\/"
[node name="Back" type="Button" parent="."]
offset_left = 434.0
offset_top = 464.0
offset_right = 558.0
offset_bottom = 541.0
theme_override_font_sizes/font_size = 50
text = "Back"
[node name="Multi-Music Player" parent="." instance=ExtResource("2_jwfac")]
[connection signal="pressed" from="Pennies/Increase" to="." method="Increase" binds= [1]]
[connection signal="pressed" from="Pennies/Decrease" to="." method="Decrease" binds= [1]]
[connection signal="pressed" from="Pennies/Rollies/Increase" to="." method="Increase" binds= [7]]
[connection signal="pressed" from="Pennies/Rollies/Decrease" to="." method="Decrease" binds= [7]]
[connection signal="pressed" from="Nickels/Increase" to="." method="Increase" binds= [2]]
[connection signal="pressed" from="Nickels/Decrease" to="." method="Decrease" binds= [2]]
[connection signal="pressed" from="Nickels/Rollies/Increase" to="." method="Increase" binds= [8]]
[connection signal="pressed" from="Nickels/Rollies/Decrease" to="." method="Decrease" binds= [8]]
[connection signal="pressed" from="Dimes/Increase" to="." method="Increase" binds= [3]]
[connection signal="pressed" from="Dimes/Decrease" to="." method="Decrease" binds= [3]]
[connection signal="pressed" from="Dimes/Rollies/Increase" to="." method="Increase" binds= [9]]
[connection signal="pressed" from="Dimes/Rollies/Decrease" to="." method="Decrease" binds= [9]]
[connection signal="pressed" from="Quarters/Increase" to="." method="Increase" binds= [4]]
[connection signal="pressed" from="Quarters/Decrease" to="." method="Decrease" binds= [4]]
[connection signal="pressed" from="Quarters/Rollies/Increase" to="." method="Increase" binds= [10]]
[connection signal="pressed" from="Quarters/Rollies/Decrease" to="." method="Decrease" binds= [10]]
[connection signal="pressed" from="Half Dollars/Increase" to="." method="Increase" binds= [5]]
[connection signal="pressed" from="Half Dollars/Decrease" to="." method="Decrease" binds= [5]]
[connection signal="pressed" from="Half Dollars/Rollies/Increase" to="." method="Increase" binds= [11]]
[connection signal="pressed" from="Half Dollars/Rollies/Decrease" to="." method="Decrease" binds= [11]]
[connection signal="pressed" from="Dollar Coins/Increase" to="." method="Increase" binds= [6]]
[connection signal="pressed" from="Dollar Coins/Decrease" to="." method="Decrease" binds= [6]]
[connection signal="pressed" from="Dollar Coins/Rollies/Increase" to="." method="Increase" binds= [12]]
[connection signal="pressed" from="Dollar Coins/Rollies/Decrease" to="." method="Decrease" binds= [12]]
[connection signal="pressed" from="Back" to="." method="_on_back_pressed"]