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/Random Number Stuffs/random_number.tscn
2025-04-15 11:55:58 -07:00

126 lines
3.6 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://dkkxl1s71dl8h"]
[ext_resource type="Script" path="res://Random Number Stuffs/Random Number.gd" id="1_of4bv"]
[ext_resource type="PackedScene" uid="uid://dw40u2fc4fhrc" path="res://ZGlobal/multi_music_player.tscn" id="2_rvr0o"]
[node name="Random Number" type="Node2D"]
script = ExtResource("1_of4bv")
[node name="D2" type="LineEdit" parent="."]
offset_left = 50.0
offset_top = 50.0
offset_right = 200.0
offset_bottom = 81.0
placeholder_text = "Amount of D2"
alignment = 1
[node name="D4" type="LineEdit" parent="."]
offset_left = 200.0
offset_top = 50.0
offset_right = 350.0
offset_bottom = 81.0
placeholder_text = "Amount of D4"
alignment = 1
[node name="D6" type="LineEdit" parent="."]
offset_left = 350.0
offset_top = 50.0
offset_right = 500.0
offset_bottom = 81.0
placeholder_text = "Amount of D6"
alignment = 1
[node name="D8" type="LineEdit" parent="."]
offset_left = 500.0
offset_top = 50.0
offset_right = 650.0
offset_bottom = 81.0
placeholder_text = "Amount of D8"
alignment = 1
[node name="D10" type="LineEdit" parent="."]
offset_left = 650.0
offset_top = 50.0
offset_right = 800.0
offset_bottom = 81.0
placeholder_text = "Amount of D10"
alignment = 1
[node name="D20" type="LineEdit" parent="."]
offset_left = 800.0
offset_top = 50.0
offset_right = 950.0
offset_bottom = 81.0
placeholder_text = "Amount of D20"
alignment = 1
[node name="D50" type="LineEdit" parent="."]
offset_left = 50.0
offset_top = 100.0
offset_right = 200.0
offset_bottom = 131.0
placeholder_text = "Amount of D50"
alignment = 1
[node name="D100" type="LineEdit" parent="."]
offset_left = 200.0
offset_top = 100.0
offset_right = 350.0
offset_bottom = 131.0
placeholder_text = "Amount of D100"
alignment = 1
[node name="From" type="LineEdit" parent="."]
offset_left = 50.0
offset_top = 150.0
offset_right = 200.0
offset_bottom = 181.0
placeholder_text = "From"
alignment = 1
[node name="Random Num" type="Button" parent="."]
offset_left = 201.0
offset_top = 150.0
offset_right = 349.0
offset_bottom = 181.0
text = "Get Random Num"
[node name="To" type="LineEdit" parent="."]
offset_left = 350.0
offset_top = 150.0
offset_right = 500.0
offset_bottom = 181.0
placeholder_text = "To"
alignment = 1
[node name="Label" type="Label" parent="."]
offset_left = 430.0
offset_top = 500.0
offset_right = 740.0
offset_bottom = 572.0
theme_override_font_sizes/font_size = 50
text = "Final Answer"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Back" type="Button" parent="."]
offset_left = 20.0
offset_top = 497.0
offset_right = 144.0
offset_bottom = 574.0
theme_override_font_sizes/font_size = 50
text = "Back"
[node name="Multi-Music Player" parent="." instance=ExtResource("2_rvr0o")]
[connection signal="text_submitted" from="D2" to="." method="DiceRoll" binds= [2]]
[connection signal="text_submitted" from="D4" to="." method="DiceRoll" binds= [4]]
[connection signal="text_submitted" from="D6" to="." method="DiceRoll" binds= [6]]
[connection signal="text_submitted" from="D8" to="." method="DiceRoll" binds= [8]]
[connection signal="text_submitted" from="D10" to="." method="DiceRoll" binds= [10]]
[connection signal="text_submitted" from="D20" to="." method="DiceRoll" binds= [20]]
[connection signal="text_submitted" from="D50" to="." method="DiceRoll" binds= [50]]
[connection signal="text_submitted" from="D100" to="." method="DiceRoll" binds= [100]]
[connection signal="pressed" from="Random Num" to="." method="_on_random_num_pressed"]
[connection signal="text_submitted" from="To" to="." method="DiceRoll"]
[connection signal="pressed" from="Back" to="." method="_on_back_pressed"]