123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 |
- [gd_scene load_steps=14 format=2]
- [ext_resource path="res://Login.gd" type="Script" id=1]
- [ext_resource path="res://envarg.gd" type="Script" id=2]
- [ext_resource path="res://Database.gd" type="Script" id=3]
- [ext_resource path="res://x509gen.gd" type="Script" id=4]
- [ext_resource path="res://loginnetcode.gd" type="Script" id=6]
- [ext_resource path="res://art/Untitledcxz.png" type="Texture" id=10]
- [ext_resource path="res://Textures.gd" type="Script" id=11]
- [ext_resource path="res://Camera2D.gd" type="Script" id=13]
- [sub_resource type="AtlasTexture" id=1]
- atlas = ExtResource( 10 )
- region = Rect2( 0, 0, 112, 113 )
- [sub_resource type="AtlasTexture" id=2]
- atlas = ExtResource( 10 )
- region = Rect2( 112, 0, 112, 113 )
- [sub_resource type="AtlasTexture" id=3]
- atlas = ExtResource( 10 )
- region = Rect2( 224, 0, 112, 113 )
- [sub_resource type="AtlasTexture" id=4]
- atlas = ExtResource( 10 )
- region = Rect2( 336, 0, 112, 113 )
- [sub_resource type="SpriteFrames" id=5]
- animations = [ {
- "frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ) ],
- "loop": true,
- "name": "default",
- "speed": 5.0
- } ]
- [node name="Node" type="Node"]
- [node name="Textures" type="Node" parent="."]
- script = ExtResource( 11 )
- [node name="Goblin1" type="Viewport" parent="Textures"]
- size = Vector2( 64, 64 )
- own_world = true
- transparent_bg = true
- render_target_v_flip = true
- [node name="Goblin" type="AnimatedSprite" parent="Textures/Goblin1"]
- modulate = Color( 0, 0.811765, 1, 1 )
- frames = SubResource( 5 )
- frame = 2
- playing = true
- offset = Vector2( 32, 32 )
- [node name="Goblin2" type="Viewport" parent="Textures"]
- size = Vector2( 64, 64 )
- own_world = true
- transparent_bg = true
- render_target_v_flip = true
- [node name="Goblin" type="AnimatedSprite" parent="Textures/Goblin2"]
- frames = SubResource( 5 )
- speed_scale = 0.8
- playing = true
- offset = Vector2( 32, 32 )
- [node name="Goblin3" type="Viewport" parent="Textures"]
- size = Vector2( 64, 64 )
- own_world = true
- transparent_bg = true
- render_target_v_flip = true
- [node name="Goblin" type="AnimatedSprite" parent="Textures/Goblin3"]
- modulate = Color( 1, 0, 0, 1 )
- frames = SubResource( 5 )
- frame = 1
- speed_scale = 1.2
- playing = true
- offset = Vector2( 32, 32 )
- [node name="Goblin4" type="Viewport" parent="Textures"]
- size = Vector2( 64, 64 )
- own_world = true
- transparent_bg = true
- render_target_v_flip = true
- [node name="Goblin" type="AnimatedSprite" parent="Textures/Goblin4"]
- modulate = Color( 1, 0, 0.984314, 1 )
- frames = SubResource( 5 )
- frame = 3
- speed_scale = 0.9
- playing = true
- offset = Vector2( 32, 32 )
- [node name="PostgreSQL" type="Node" parent="."]
- script = ExtResource( 3 )
- [node name="Loginetcode" type="Node" parent="."]
- script = ExtResource( 6 )
- [node name="LoginUI" type="Node" parent="."]
- script = ExtResource( 1 )
- [node name="directconnect" type="Control" parent="LoginUI"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 180.0
- margin_right = -180.0
- [node name="VBoxContainer" type="VBoxContainer" parent="LoginUI/directconnect"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- alignment = 1
- [node name="HBoxContainer" type="HBoxContainer" parent="LoginUI/directconnect/VBoxContainer"]
- margin_top = 110.0
- margin_right = 280.0
- margin_bottom = 134.0
- alignment = 1
- [node name="LineEdit2" type="LineEdit" parent="LoginUI/directconnect/VBoxContainer/HBoxContainer"]
- margin_right = 218.0
- margin_bottom = 24.0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- text = "127.0.0.1"
- align = 1
- expand_to_text_length = true
- placeholder_text = "IP Adress"
- [node name="LineEdit" type="LineEdit" parent="LoginUI/directconnect/VBoxContainer/HBoxContainer"]
- margin_left = 222.0
- margin_right = 280.0
- margin_bottom = 24.0
- text = "8081"
- align = 1
- placeholder_text = "Port"
- [node name="Button" type="Button" parent="LoginUI/directconnect/VBoxContainer"]
- margin_top = 138.0
- margin_right = 280.0
- margin_bottom = 158.0
- text = "connnect"
- [node name="Button2" type="Button" parent="LoginUI/directconnect/VBoxContainer"]
- margin_top = 162.0
- margin_right = 280.0
- margin_bottom = 182.0
- text = "create server"
- [node name="x509" type="Button" parent="LoginUI/directconnect/VBoxContainer"]
- margin_top = 186.0
- margin_right = 280.0
- margin_bottom = 206.0
- text = "x509 generate"
- [node name="CheckButton" type="CheckButton" parent="LoginUI/directconnect/VBoxContainer"]
- margin_top = 210.0
- margin_right = 280.0
- margin_bottom = 250.0
- pressed = true
- text = "login"
- [node name="loginscreen" type="Control" parent="LoginUI"]
- visible = false
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 180.0
- margin_right = -180.0
- [node name="VBoxContainer" type="VBoxContainer" parent="LoginUI/loginscreen"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- alignment = 1
- [node name="HBoxContainer" type="HBoxContainer" parent="LoginUI/loginscreen/VBoxContainer"]
- margin_top = 142.0
- margin_right = 287.0
- margin_bottom = 166.0
- alignment = 1
- [node name="LineEdit2" type="LineEdit" parent="LoginUI/loginscreen/VBoxContainer/HBoxContainer"]
- margin_right = 287.0
- margin_bottom = 24.0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- align = 1
- expand_to_text_length = true
- placeholder_text = "username"
- [node name="HBoxContainer2" type="HBoxContainer" parent="LoginUI/loginscreen/VBoxContainer"]
- margin_top = 170.0
- margin_right = 287.0
- margin_bottom = 194.0
- alignment = 1
- [node name="LineEdit2" type="LineEdit" parent="LoginUI/loginscreen/VBoxContainer/HBoxContainer2"]
- margin_right = 287.0
- margin_bottom = 24.0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- align = 1
- expand_to_text_length = true
- placeholder_text = "password"
- [node name="HBoxContainer3" type="HBoxContainer" parent="LoginUI/loginscreen/VBoxContainer"]
- margin_top = 198.0
- margin_right = 287.0
- margin_bottom = 218.0
- alignment = 1
- [node name="login" type="Button" parent="LoginUI/loginscreen/VBoxContainer/HBoxContainer3"]
- margin_right = 43.0
- margin_bottom = 20.0
- text = "login"
- [node name="register" type="Button" parent="LoginUI/loginscreen/VBoxContainer/HBoxContainer3"]
- margin_left = 47.0
- margin_right = 111.0
- margin_bottom = 20.0
- text = "Register"
- [node name="recover" type="Button" parent="LoginUI/loginscreen/VBoxContainer/HBoxContainer3"]
- margin_left = 115.0
- margin_right = 242.0
- margin_bottom = 20.0
- text = "Recover Password"
- [node name="back" type="Button" parent="LoginUI/loginscreen/VBoxContainer/HBoxContainer3"]
- margin_left = 246.0
- margin_right = 287.0
- margin_bottom = 20.0
- text = "back"
- [node name="register" type="Control" parent="LoginUI"]
- visible = false
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 180.0
- margin_right = -180.0
- [node name="VBoxContainer" type="VBoxContainer" parent="LoginUI/register"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- alignment = 1
- [node name="HBoxContainer1" type="HBoxContainer" parent="LoginUI/register/VBoxContainer"]
- margin_top = 105.0
- margin_right = 280.0
- margin_bottom = 129.0
- alignment = 1
- [node name="LineEdit2" type="LineEdit" parent="LoginUI/register/VBoxContainer/HBoxContainer1"]
- margin_right = 280.0
- margin_bottom = 24.0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- align = 1
- expand_to_text_length = true
- placeholder_text = "username"
- [node name="HBoxContainer2" type="HBoxContainer" parent="LoginUI/register/VBoxContainer"]
- margin_top = 133.0
- margin_right = 280.0
- margin_bottom = 157.0
- alignment = 1
- [node name="LineEdit2" type="LineEdit" parent="LoginUI/register/VBoxContainer/HBoxContainer2"]
- margin_right = 280.0
- margin_bottom = 24.0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- align = 1
- expand_to_text_length = true
- placeholder_text = "password"
- [node name="HBoxContainer3" type="HBoxContainer" parent="LoginUI/register/VBoxContainer"]
- margin_top = 161.0
- margin_right = 280.0
- margin_bottom = 185.0
- alignment = 1
- [node name="LineEdit2" type="LineEdit" parent="LoginUI/register/VBoxContainer/HBoxContainer3"]
- margin_right = 280.0
- margin_bottom = 24.0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- align = 1
- expand_to_text_length = true
- placeholder_text = "comfirm password"
- [node name="HBoxContainer4" type="HBoxContainer" parent="LoginUI/register/VBoxContainer"]
- margin_top = 189.0
- margin_right = 280.0
- margin_bottom = 213.0
- alignment = 1
- [node name="LineEdit2" type="LineEdit" parent="LoginUI/register/VBoxContainer/HBoxContainer4"]
- margin_right = 280.0
- margin_bottom = 24.0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- align = 1
- expand_to_text_length = true
- placeholder_text = "email"
- [node name="HBoxContainer6" type="HBoxContainer" parent="LoginUI/register/VBoxContainer"]
- margin_top = 217.0
- margin_right = 280.0
- margin_bottom = 237.0
- alignment = 1
- [node name="login2" type="Button" parent="LoginUI/register/VBoxContainer/HBoxContainer6"]
- margin_left = 83.0
- margin_right = 129.0
- margin_bottom = 20.0
- text = "Login"
- [node name="Register2" type="Button" parent="LoginUI/register/VBoxContainer/HBoxContainer6"]
- margin_left = 133.0
- margin_right = 197.0
- margin_bottom = 20.0
- text = "Register"
- [node name="Label" type="Label" parent="LoginUI/register/VBoxContainer"]
- margin_top = 241.0
- margin_right = 280.0
- margin_bottom = 255.0
- text = "status"
- [node name="Authority" type="Node" parent="."]
- [node name="Camera2D" type="Camera2D" parent="."]
- position = Vector2( 320, 180 )
- current = true
- script = ExtResource( 13 )
- [node name="envarg" type="Node" parent="."]
- script = ExtResource( 2 )
- [node name="x509gen" type="Node" parent="."]
- script = ExtResource( 4 )
- [connection signal="button_down" from="LoginUI/directconnect/VBoxContainer/Button" to="LoginUI" method="_on_Button_button_down"]
- [connection signal="button_down" from="LoginUI/directconnect/VBoxContainer/Button2" to="LoginUI" method="_on_Button2_button_down"]
- [connection signal="button_down" from="LoginUI/directconnect/VBoxContainer/x509" to="x509gen" method="_on_x509_button_down"]
- [connection signal="toggled" from="LoginUI/directconnect/VBoxContainer/CheckButton" to="LoginUI" method="_on_CheckButton_toggled"]
- [connection signal="button_down" from="LoginUI/loginscreen/VBoxContainer/HBoxContainer3/register" to="LoginUI" method="_on_register_button_down"]
- [connection signal="button_down" from="LoginUI/register/VBoxContainer/HBoxContainer6/login2" to="LoginUI" method="_on_login2_button_down"]
- [connection signal="button_down" from="LoginUI/register/VBoxContainer/HBoxContainer6/Register2" to="LoginUI" method="_on_Register2_button_down"]
|