godot-html-js-int-demo/Game.tscn

54 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2020-12-17 10:55:29 -05:00
[gd_scene load_steps=5 format=2]
[ext_resource path="res://kenpixel_future.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Game.gd" type="Script" id=2]
[sub_resource type="DynamicFont" id=1]
size = 32
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 20
font_data = ExtResource( 1 )
2020-12-16 22:17:26 -05:00
[node name="MainWindow" type="Node2D"]
2020-12-17 10:55:29 -05:00
script = ExtResource( 2 )
[node name="ButtonContainer" type="VBoxContainer" parent="."]
margin_left = 247.0
margin_top = 194.0
margin_right = 838.0
margin_bottom = 402.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PlayerName" type="Label" parent="ButtonContainer"]
margin_right = 591.0
margin_bottom = 40.0
custom_fonts/font = SubResource( 1 )
text = "Hello Player"
[node name="PlayerScore" type="Label" parent="ButtonContainer"]
margin_top = 44.0
margin_right = 591.0
margin_bottom = 84.0
custom_fonts/font = SubResource( 1 )
text = "Score: 0"
[node name="ClickerButton" type="Button" parent="ButtonContainer"]
margin_top = 88.0
margin_right = 591.0
margin_bottom = 119.0
custom_fonts/font = SubResource( 2 )
text = "Click Me!"
[node name="QuitButton" type="Button" parent="ButtonContainer"]
margin_top = 123.0
margin_right = 591.0
margin_bottom = 154.0
custom_fonts/font = SubResource( 2 )
text = "I'm Done"
[connection signal="pressed" from="ButtonContainer/ClickerButton" to="." method="_on_ClickerButton_pressed"]
[connection signal="pressed" from="ButtonContainer/QuitButton" to="." method="_on_QuitButton_pressed"]