mirror of
https://port.numenaute.org/aleajactaest/bazar_alea.git
synced 2024-11-22 07:06:13 +00:00
126 lines
4.2 KiB
Text
126 lines
4.2 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://bemavktwweaog"]
|
|
|
|
[ext_resource type="Shader" path="res://scenes/main.gdshader" id="1_caff6"]
|
|
[ext_resource type="Script" path="res://scenes/main.gd" id="1_ts8of"]
|
|
[ext_resource type="PackedScene" uid="uid://ddymq82ef22l2" path="res://scenes/DebugWindow.tscn" id="2_6hoce"]
|
|
[ext_resource type="Script" path="res://scenes/Window.gd" id="3_uwnj8"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_5dcgs"]
|
|
margin = 1.0
|
|
size = Vector3(1000, 0, 1000)
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_gypq5"]
|
|
render_priority = 0
|
|
shader = ExtResource("1_caff6")
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_fm2j6"]
|
|
material = SubResource("ShaderMaterial_gypq5")
|
|
size = Vector3(1000, 0, 1000)
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_0qg6h"]
|
|
|
|
[sub_resource type="Sky" id="Sky_i4xvw"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_0qg6h")
|
|
|
|
[sub_resource type="Environment" id="Environment_12j7q"]
|
|
background_mode = 2
|
|
background_color = Color(0.803922, 0.776471, 0.733333, 1)
|
|
sky = SubResource("Sky_i4xvw")
|
|
ambient_light_color = Color(0.968627, 0.933333, 0.596078, 1)
|
|
reflected_light_source = 2
|
|
|
|
[node name="main" type="Node3D"]
|
|
script = ExtResource("1_ts8of")
|
|
debug_window = ExtResource("2_6hoce")
|
|
|
|
[node name="ground" type="StaticBody3D" parent="."]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="ground"]
|
|
shape = SubResource("BoxShape3D_5dcgs")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="ground"]
|
|
mesh = SubResource("BoxMesh_fm2j6")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(-0.866025, 0, -0.5, -0.25, 0.866025, 0.433013, 0.433013, 0.5, -0.75, 0, 50, 0)
|
|
shadow_enabled = true
|
|
shadow_opacity = 0.5
|
|
|
|
[node name="Players" type="Node3D" parent="."]
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_12j7q")
|
|
|
|
[node name="Window" type="Window" parent="."]
|
|
title = "Connexion"
|
|
initial_position = 1
|
|
size = Vector2i(300, 200)
|
|
always_on_top = true
|
|
script = ExtResource("3_uwnj8")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Window"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Label" type="Label" parent="Window/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Login"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Address" type="LineEdit" parent="Window/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
text = "127.0.0.1"
|
|
placeholder_text = "Address"
|
|
|
|
[node name="Port" type="LineEdit" parent="Window/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
text = "33333"
|
|
placeholder_text = "Address"
|
|
|
|
[node name="TextEdit" type="LineEdit" parent="Window/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
placeholder_text = "Account"
|
|
|
|
[node name="Button" type="Button" parent="Window/VBoxContainer"]
|
|
layout_mode = 2
|
|
disabled = true
|
|
text = "OK"
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
offset_right = 199.0
|
|
offset_bottom = 40.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="State" type="Label" parent="Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_right = 0.994
|
|
anchor_bottom = 0.75
|
|
offset_right = -0.0279999
|
|
offset_bottom = 10.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "Not connected"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="PlayerSpawnLocation" type="Node3D" parent="."]
|
|
|
|
[node name="CameraStarting" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 5)
|
|
|
|
[connection signal="focus_entered" from="Window" to="Window" method="_on_focus_entered"]
|
|
[connection signal="focus_exited" from="Window" to="Window" method="_on_focus_exited"]
|
|
[connection signal="mouse_entered" from="Window" to="Window" method="_on_mouse_entered"]
|
|
[connection signal="mouse_exited" from="Window" to="Window" method="_on_mouse_exited"]
|
|
[connection signal="text_changed" from="Window/VBoxContainer/Address" to="Window" method="_on_text_edit_text_changed"]
|
|
[connection signal="text_changed" from="Window/VBoxContainer/Port" to="Window" method="_on_text_edit_text_changed"]
|
|
[connection signal="text_changed" from="Window/VBoxContainer/TextEdit" to="Window" method="_on_text_edit_text_changed"]
|
|
[connection signal="pressed" from="Window/VBoxContainer/Button" to="Window" method="_on_button_pressed"]
|