education-apps/digibord_tools/godot/Tools/Dice.tscn

27 lines
627 B
Plaintext
Raw Normal View History

2022-11-20 13:02:47 +00:00
[gd_scene load_steps=2 format=2]
[ext_resource path="res://Tools/Dice.gd" type="Script" id=1]
[node name="DiceScreen" type="CanvasLayer"]
[node name="ButtonRoll" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
2023-03-30 07:30:04 +00:00
offset_left = -18.0
offset_top = -10.0
offset_right = 18.0
offset_bottom = 10.0
2022-11-20 13:02:47 +00:00
text = "Roll"
script = ExtResource( 1 )
[node name="DiceLabelOne" type="Label" parent="."]
2023-03-30 07:30:04 +00:00
offset_left = 507.0
offset_top = 260.0
offset_right = 547.0
offset_bottom = 274.0
2022-11-20 13:02:47 +00:00
text = "6"
[connection signal="pressed" from="ButtonRoll" to="ButtonRoll" method="_on_ButtonRoll_pressed"]