Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
184
scenes/TwitchTest.tscn
Normal file
184
scenes/TwitchTest.tscn
Normal file
|
@ -0,0 +1,184 @@
|
|||
[gd_scene load_steps=15 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/TwitchTest.gd" type="Script" id=1]
|
||||
[ext_resource path="res://addons/godot-twicil/godot_twicil.gd" type="Script" id=2]
|
||||
[ext_resource path="res://resources/customControls/Twitch/TwitchPoll.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://resources/fonts/TimesNewerRoman-Regular.otf" type="DynamicFontData" id=4]
|
||||
|
||||
[sub_resource type="DynamicFontData" id=1]
|
||||
font_path = "res://resources/fonts/OneEleven.ttf"
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
size = 50
|
||||
font_data = SubResource( 1 )
|
||||
|
||||
[sub_resource type="DynamicFontData" id=3]
|
||||
font_path = "res://resources/fonts/OneEleven.ttf"
|
||||
|
||||
[sub_resource type="DynamicFont" id=4]
|
||||
size = 55
|
||||
font_data = SubResource( 3 )
|
||||
|
||||
[sub_resource type="DynamicFontData" id=5]
|
||||
font_path = "res://resources/fonts/OneEleven.ttf"
|
||||
|
||||
[sub_resource type="DynamicFont" id=6]
|
||||
size = 55
|
||||
font_data = SubResource( 5 )
|
||||
|
||||
[sub_resource type="DynamicFontData" id=7]
|
||||
resource_local_to_scene = true
|
||||
font_path = "res://resources/fonts/OneEleven.ttf"
|
||||
|
||||
[sub_resource type="DynamicFont" id=8]
|
||||
size = 33
|
||||
font_data = SubResource( 7 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=9]
|
||||
size = 20
|
||||
font_data = ExtResource( 4 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=10]
|
||||
size = 20
|
||||
font_data = ExtResource( 4 )
|
||||
|
||||
[node name="TwitchTest" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Poll" parent="." instance=ExtResource( 3 )]
|
||||
|
||||
[node name="BeginVote" type="Button" parent="."]
|
||||
visible = false
|
||||
margin_left = 834.0
|
||||
margin_top = 156.0
|
||||
margin_right = 1056.0
|
||||
margin_bottom = 224.0
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
text = "Begin Vote"
|
||||
|
||||
[node name="Exit" type="Button" parent="."]
|
||||
visible = false
|
||||
margin_left = 908.0
|
||||
margin_top = 637.0
|
||||
margin_right = 997.0
|
||||
margin_bottom = 711.0
|
||||
custom_fonts/font = SubResource( 4 )
|
||||
text = "EXIT"
|
||||
|
||||
[node name="Channel Name" type="Label" parent="."]
|
||||
visible = false
|
||||
margin_left = 525.0
|
||||
margin_top = 246.0
|
||||
margin_right = 821.0
|
||||
margin_bottom = 314.0
|
||||
custom_fonts/font = SubResource( 6 )
|
||||
text = "Channel name"
|
||||
|
||||
[node name="ChannelNameBox" type="TextEdit" parent="."]
|
||||
visible = false
|
||||
margin_left = 847.0
|
||||
margin_top = 255.0
|
||||
margin_right = 1184.0
|
||||
margin_bottom = 306.0
|
||||
custom_fonts/font = SubResource( 8 )
|
||||
text = "Enter channel name"
|
||||
|
||||
[node name="Connect" type="Button" parent="."]
|
||||
visible = false
|
||||
margin_left = 1199.0
|
||||
margin_top = 241.0
|
||||
margin_right = 1421.0
|
||||
margin_bottom = 309.0
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
text = "Connect"
|
||||
|
||||
[node name="NumberChoices" type="Label" parent="."]
|
||||
visible = false
|
||||
margin_left = 521.0
|
||||
margin_top = 356.0
|
||||
margin_right = 817.0
|
||||
margin_bottom = 424.0
|
||||
custom_fonts/font = SubResource( 6 )
|
||||
text = "Number of choices
|
||||
"
|
||||
|
||||
[node name="ChoiceNumberBox" type="SpinBox" parent="."]
|
||||
margin_left = 941.0
|
||||
margin_top = 354.0
|
||||
margin_right = 1015.0
|
||||
margin_bottom = 378.0
|
||||
rect_scale = Vector2( 3.5, 2.5 )
|
||||
min_value = 2.0
|
||||
max_value = 5.0
|
||||
value = 2.0
|
||||
align = 1
|
||||
|
||||
[node name="SendNum" type="Button" parent="."]
|
||||
margin_left = 1205.0
|
||||
margin_top = 347.0
|
||||
margin_right = 1449.0
|
||||
margin_bottom = 415.0
|
||||
rect_pivot_offset = Vector2( 144, 68 )
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
text = "Set number"
|
||||
|
||||
[node name="SendNum2" type="Button" parent="."]
|
||||
margin_left = 1206.0
|
||||
margin_top = 268.0
|
||||
margin_right = 1450.0
|
||||
margin_bottom = 336.0
|
||||
rect_pivot_offset = Vector2( 144, 68 )
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
text = "disconnect"
|
||||
|
||||
[node name="TimerText" type="Label" parent="."]
|
||||
visible = false
|
||||
margin_left = 1203.0
|
||||
margin_top = 502.0
|
||||
margin_right = 1600.0
|
||||
margin_bottom = 641.0
|
||||
custom_fonts/font = SubResource( 6 )
|
||||
text = "Time:
|
||||
"
|
||||
|
||||
[node name="VoteResult" type="Label" parent="."]
|
||||
visible = false
|
||||
margin_left = 532.0
|
||||
margin_top = 489.0
|
||||
margin_right = 929.0
|
||||
margin_bottom = 628.0
|
||||
custom_fonts/font = SubResource( 6 )
|
||||
text = "Vote result:
|
||||
"
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
|
||||
[node name="TwiCIL" type="Node" parent="."]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="nick" type="TextEdit" parent="."]
|
||||
margin_left = 949.0
|
||||
margin_top = 443.0
|
||||
margin_right = 1265.0
|
||||
margin_bottom = 513.0
|
||||
custom_fonts/font = SubResource( 9 )
|
||||
|
||||
[node name="text" type="TextEdit" parent="."]
|
||||
margin_left = 1281.0
|
||||
margin_top = 444.0
|
||||
margin_right = 1448.0
|
||||
margin_bottom = 514.0
|
||||
custom_fonts/font = SubResource( 10 )
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
margin_left = 1496.0
|
||||
margin_top = 444.0
|
||||
margin_right = 1630.0
|
||||
margin_bottom = 518.0
|
||||
text = "send"
|
||||
|
||||
[connection signal="pressed" from="Exit" to="." method="_on_Exit_pressed"]
|
||||
[connection signal="pressed" from="Connect" to="." method="_on_Connect_pressed"]
|
||||
[connection signal="pressed" from="SendNum" to="." method="_on_SendNum_pressed"]
|
||||
[connection signal="pressed" from="SendNum2" to="." method="_on_SendNum2_pressed"]
|
||||
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
|
Loading…
Add table
Add a link
Reference in a new issue