|
@@ -1,81 +1,66 @@
|
|
|
-[gd_scene load_steps=10 format=2]
|
|
|
+[gd_scene load_steps=12 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://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://Helm.ogg" type="AudioStream" id=5]
|
|
|
+[ext_resource path="res://Helmsmall.ogg" type="AudioStream" id=5]
|
|
|
[ext_resource path="res://Button.gd" type="Script" id=6]
|
|
|
-[ext_resource path="res://dowloadbackground1.jpg" type="Texture" id=7]
|
|
|
-
|
|
|
-[sub_resource type="Animation" id=1]
|
|
|
-resource_name = "New Anim"
|
|
|
-length = 24.0
|
|
|
-loop = true
|
|
|
-step = 1.0
|
|
|
-tracks/0/type = "value"
|
|
|
-tracks/0/path = NodePath("dowloadbackground:modulate")
|
|
|
-tracks/0/interp = 1
|
|
|
-tracks/0/loop_wrap = true
|
|
|
-tracks/0/imported = false
|
|
|
-tracks/0/enabled = true
|
|
|
-tracks/0/keys = {
|
|
|
-"times": PoolRealArray( 0, 10, 12, 22, 24 ),
|
|
|
-"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
|
|
-"update": 0,
|
|
|
-"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
|
|
-}
|
|
|
+[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="."]
|
|
|
-download_chunk_size = 65536
|
|
|
+use_threads = true
|
|
|
|
|
|
[node name="HTTPRequest2" type="HTTPRequest" parent="."]
|
|
|
|
|
|
[node name="background" type="Node2D" parent="."]
|
|
|
|
|
|
-[node name="dowloadbackground2" type="Sprite" parent="background"]
|
|
|
-z_index = -1
|
|
|
-texture = ExtResource( 7 )
|
|
|
-centered = false
|
|
|
-
|
|
|
-[node name="dowloadbackground" type="Sprite" parent="background"]
|
|
|
-z_index = -1
|
|
|
+[node name="ssaftgwersdtj4wertwa47uy45k6er63e4u456er78 - Copia" type="Sprite" parent="background"]
|
|
|
+position = Vector2( 240, 0 )
|
|
|
+scale = Vector2( 0.8125, 1 )
|
|
|
texture = ExtResource( 2 )
|
|
|
centered = false
|
|
|
|
|
|
-[node name="AnimationPlayer" type="AnimationPlayer" parent="background"]
|
|
|
-autoplay = "New Anim"
|
|
|
-"anims/New Anim" = SubResource( 1 )
|
|
|
-
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
|
use_parent_material = true
|
|
|
anchor_right = 1.0
|
|
|
anchor_bottom = 1.0
|
|
|
-color = Color( 1, 1, 1, 0.458824 )
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
+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 = -100.0
|
|
|
-margin_top = -24.6051
|
|
|
-margin_right = 100.0
|
|
|
-margin_bottom = -10.6051
|
|
|
+margin_left = -616.0
|
|
|
+margin_top = 304.0
|
|
|
+margin_right = -424.0
|
|
|
+margin_bottom = 318.0
|
|
|
custom_fonts/font = SubResource( 2 )
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
+custom_styles/fg = SubResource( 3 )
|
|
|
+custom_styles/bg = SubResource( 4 )
|
|
|
+value = 50.0
|
|
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
|
position = Vector2( 0, -18.3543 )
|
|
@@ -84,8 +69,9 @@ position = Vector2( 0, -18.3543 )
|
|
|
anchor_top = 0.5
|
|
|
anchor_right = 1.0
|
|
|
anchor_bottom = 0.5
|
|
|
-margin_top = -7.0
|
|
|
-margin_bottom = 46.0
|
|
|
+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!"
|
|
@@ -112,11 +98,12 @@ anchor_left = 0.5
|
|
|
anchor_top = 0.5
|
|
|
anchor_right = 0.5
|
|
|
anchor_bottom = 0.5
|
|
|
-margin_left = -30.0
|
|
|
-margin_top = 85.9482
|
|
|
-margin_right = 30.0
|
|
|
-margin_bottom = 105.948
|
|
|
+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 )
|
|
@@ -129,13 +116,42 @@ anchor_left = 0.5
|
|
|
anchor_top = 0.5
|
|
|
anchor_right = 0.5
|
|
|
anchor_bottom = 0.5
|
|
|
-margin_left = -54.5
|
|
|
-margin_top = 123.945
|
|
|
-margin_right = 54.5
|
|
|
-margin_bottom = 143.946
|
|
|
+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"
|
|
|
-script = ExtResource( 6 )
|
|
|
+
|
|
|
+[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
|
|
|
}
|
|
@@ -145,10 +161,10 @@ anchor_left = 0.5
|
|
|
anchor_top = 0.5
|
|
|
anchor_right = 0.5
|
|
|
anchor_bottom = 0.5
|
|
|
-margin_left = -33.0
|
|
|
-margin_top = 52.5296
|
|
|
-margin_right = 33.0
|
|
|
-margin_bottom = 76.5296
|
|
|
+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"
|
|
@@ -159,8 +175,69 @@ __meta__ = {
|
|
|
|
|
|
[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"]
|