123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- [gd_scene load_steps=12 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://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 )
- 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 )
- frame = 3
- 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="Database" type="Node" parent="."]
- script = ExtResource( 3 )
- [node name="Login" type="Node" parent="."]
- script = ExtResource( 1 )
- [node name="directconnect" type="Control" parent="Login"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 180.0
- margin_right = -180.0
- [node name="VBoxContainer" type="VBoxContainer" parent="Login/directconnect"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- alignment = 1
- [node name="HBoxContainer" type="HBoxContainer" parent="Login/directconnect/VBoxContainer"]
- margin_top = 144.0
- margin_right = 280.0
- margin_bottom = 168.0
- alignment = 1
- [node name="LineEdit2" type="LineEdit" parent="Login/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="Login/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="Login/directconnect/VBoxContainer"]
- margin_top = 172.0
- margin_right = 280.0
- margin_bottom = 192.0
- text = "connnect"
- [node name="Button2" type="Button" parent="Login/directconnect/VBoxContainer"]
- margin_top = 196.0
- margin_right = 280.0
- margin_bottom = 216.0
- text = "create server"
- [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 )
- [connection signal="button_down" from="Login/directconnect/VBoxContainer/Button" to="Login" method="_on_Button_button_down"]
- [connection signal="button_down" from="Login/directconnect/VBoxContainer/Button2" to="Login" method="_on_Button2_button_down"]
|