123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- [gd_scene load_steps=8 format=2]
- [ext_resource path="res://launcher.gd" type="Script" id=1]
- [ext_resource path="res://dowloadbackground.png" type="Texture" id=2]
- [ext_resource path="res://yoster.ttf" type="DynamicFontData" id=3]
- [ext_resource path="res://CheckBox.gd" type="Script" id=4]
- [ext_resource path="res://Helm.ogg" type="AudioStream" id=5]
- [ext_resource path="res://Button.gd" type="Script" id=6]
- [sub_resource type="DynamicFont" id=1]
- size = 12
- font_data = ExtResource( 3 )
- [node name="Node" type="Node"]
- script = ExtResource( 1 )
- [node name="HTTPRequest" type="HTTPRequest" parent="."]
- [node name="HTTPRequest2" type="HTTPRequest" parent="."]
- [node name="dowloadbackground" type="Sprite" parent="."]
- modulate = Color( 1, 1, 1, 0.352941 )
- texture = ExtResource( 2 )
- centered = false
- [node name="ColorRect" type="ColorRect" parent="dowloadbackground"]
- use_parent_material = true
- anchor_right = 1.0
- anchor_bottom = 1.0
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="ProgressBar" type="ProgressBar" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -100.0
- margin_top = -24.6051
- margin_right = 100.0
- margin_bottom = -10.6051
- custom_fonts/font = SubResource( 1 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="Sprite" type="Sprite" parent="."]
- position = Vector2( 0, -18.3543 )
- [node name="Label" type="Label" parent="."]
- anchor_top = 0.5
- anchor_right = 1.0
- anchor_bottom = 0.5
- margin_top = -7.0
- margin_bottom = 7.0
- rect_pivot_offset = Vector2( 95.3067, 6.6933 )
- custom_fonts/font = SubResource( 1 )
- text = "Checking most recent version!"
- align = 1
- valign = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="Button" type="Button" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -30.0
- margin_top = 45.2357
- margin_right = 30.0
- margin_bottom = 65.2357
- custom_fonts/font = SubResource( 1 )
- disabled = true
- text = "launch"
- script = ExtResource( 6 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="Button2" type="Button" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -54.5
- margin_top = 83.2327
- margin_right = 54.5
- margin_bottom = 103.233
- custom_fonts/font = SubResource( 1 )
- text = "force update"
- script = ExtResource( 6 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="CheckBox" type="CheckBox" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -33.0
- margin_top = 11.8171
- margin_right = 33.0
- margin_bottom = 35.8171
- custom_fonts/font = SubResource( 1 )
- pressed = true
- text = "music"
- script = ExtResource( 4 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="CheckBox"]
- stream = ExtResource( 5 )
- [connection signal="request_completed" from="HTTPRequest" to="." method="_on_HTTPRequest_request_completed"]
- [connection signal="request_completed" from="HTTPRequest2" to="." method="_on_HTTPRequest2_request_completed"]
- [connection signal="button_down" from="Button" to="Button" method="_on_Button_button_down"]
- [connection signal="button_down" from="Button2" to="." method="force_update"]
- [connection signal="toggled" from="CheckBox" to="CheckBox" method="_on_CheckBox_toggled"]
|