123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- [gd_scene load_steps=12 format=2]
- [ext_resource path="res://launcher.gd" type="Script" id=1]
- [ext_resource path="res://poster2wallpapaer.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://Helmsmall.ogg" type="AudioStream" id=5]
- [ext_resource path="res://Button.gd" type="Script" id=6]
- [ext_resource path="res://changelogui.gd" type="Script" id=7]
- [sub_resource type="DynamicFont" id=2]
- size = 12
- font_data = ExtResource( 3 )
- [sub_resource type="StyleBoxFlat" id=3]
- bg_color = Color( 1, 0, 0, 1 )
- [sub_resource type="StyleBoxFlat" id=4]
- bg_color = Color( 0.227451, 0.00784314, 0.00784314, 1 )
- [sub_resource type="StyleBoxFlat" id=5]
- bg_color = Color( 0.317647, 0.501961, 0.454902, 1 )
- border_width_left = 1
- border_width_top = 1
- border_width_right = 1
- border_width_bottom = 1
- [node name="Node" type="Node"]
- script = ExtResource( 1 )
- [node name="HTTPRequest" type="HTTPRequest" parent="."]
- use_threads = true
- [node name="HTTPRequest2" type="HTTPRequest" parent="."]
- [node name="background" type="Node2D" parent="."]
- [node name="ssaftgwersdtj4wertwa47uy45k6er63e4u456er78 - Copia" type="Sprite" parent="background"]
- position = Vector2( 240, 0 )
- scale = Vector2( 0.8125, 1 )
- texture = ExtResource( 2 )
- centered = false
- [node name="ColorRect" type="ColorRect" parent="."]
- use_parent_material = true
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_right = -1040.0
- color = Color( 0.168627, 0.0901961, 0.196078, 1 )
- [node name="ProgressBar" type="ProgressBar" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -616.0
- margin_top = 304.0
- margin_right = -424.0
- margin_bottom = 318.0
- custom_fonts/font = SubResource( 2 )
- custom_styles/fg = SubResource( 3 )
- custom_styles/bg = SubResource( 4 )
- value = 50.0
- [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 = 184.0
- margin_right = -1040.0
- margin_bottom = 237.0
- rect_pivot_offset = Vector2( 95.3067, 6.6933 )
- custom_fonts/font = SubResource( 2 )
- text = "Checking most recent version!"
- align = 1
- valign = 1
- autowrap = true
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="ColorRect" type="ColorRect" parent="Label"]
- show_behind_parent = true
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 15.0
- margin_right = -15.0
- color = Color( 0, 0, 0, 0.278431 )
- __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 = -616.0
- margin_top = 248.0
- margin_right = -424.0
- margin_bottom = 292.0
- custom_fonts/font = SubResource( 2 )
- custom_styles/normal = SubResource( 5 )
- 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 = -625.0
- margin_top = 152.0
- margin_right = -416.0
- margin_bottom = 176.0
- custom_fonts/font = SubResource( 2 )
- custom_styles/normal = SubResource( 5 )
- text = "force update"
- [node name="Button3" type="Button" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -624.0
- margin_top = 120.0
- margin_right = -416.0
- margin_bottom = 144.0
- custom_fonts/font = SubResource( 2 )
- custom_styles/normal = SubResource( 5 )
- text = "changelogs"
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="Button4" type="Button" parent="."]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -624.0
- margin_top = 88.0
- margin_right = -416.0
- margin_bottom = 112.0
- custom_fonts/font = SubResource( 2 )
- custom_styles/normal = SubResource( 5 )
- text = "CDN"
- __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 = -625.0
- margin_top = 56.0
- margin_right = -559.0
- margin_bottom = 80.0
- custom_fonts/font = SubResource( 2 )
- pressed = true
- text = "music"
- script = ExtResource( 4 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="CheckBox"]
- stream = ExtResource( 5 )
- [node name="RichTextLabel" type="RichTextLabel" parent="."]
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 264.0
- margin_top = 25.0
- margin_right = -25.0
- margin_bottom = -16.0
- rect_clip_content = false
- custom_fonts/normal_font = SubResource( 2 )
- scroll_following = true
- script = ExtResource( 7 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="ColorRect" type="ColorRect" parent="RichTextLabel"]
- show_behind_parent = true
- anchor_right = 1.0
- anchor_bottom = 1.0
- color = Color( 0, 0, 0, 0.713726 )
- [node name="Button4" type="Button" parent="RichTextLabel"]
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- margin_left = -51.941
- margin_top = 232.413
- margin_right = 57.059
- margin_bottom = 252.414
- custom_fonts/font = SubResource( 2 )
- text = "close"
- script = ExtResource( 6 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="CDN" type="Control" parent="."]
- visible = false
- margin_right = 40.0
- margin_bottom = 40.0
- script = ExtResource( 7 )
- [node name="version" type="LineEdit" parent="CDN"]
- margin_left = 232.0
- margin_top = 432.0
- margin_right = 592.0
- margin_bottom = 456.0
- text = "https://galodev.net/download/version.txt"
- [node name="pck" type="LineEdit" parent="CDN"]
- margin_left = 232.0
- margin_top = 464.0
- margin_right = 592.0
- margin_bottom = 488.0
- text = "https://galodev.net/download/Ghost%20Hand.pck"
- [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="button_down" from="Button3" to="RichTextLabel" method="_on_Button3_button_down"]
- [connection signal="button_down" from="Button4" to="CDN" method="_on_Button4_button_down"]
- [connection signal="toggled" from="CheckBox" to="CheckBox" method="_on_CheckBox_toggled"]
- [connection signal="button_down" from="RichTextLabel/Button4" to="RichTextLabel" method="hide"]
|