mirror of
https://port.numenaute.org/aleajactaest/bazar_alea.git
synced 2024-11-22 15:16:13 +00:00
89 lines
3.2 KiB
Text
89 lines
3.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="PackedScene" uid="uid://cg5uqqd4ibdem" path="res://scenes/player.tscn" id="1_nc7b3"]
|
|
[ext_resource type="Script" path="res://scenes/main.gd" id="1_ts8of"]
|
|
[ext_resource type="Script" path="res://scenes/Window.gd" id="3_uwnj8"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_5dcgs"]
|
|
size = Vector3(1000, 1, 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, 1, 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")
|
|
|
|
[node name="ground" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
|
|
|
[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="CharacterBody3D" parent="." instance=ExtResource("1_nc7b3")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6, 0)
|
|
|
|
[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, 100)
|
|
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="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"
|
|
|
|
[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/TextEdit" to="Window" method="_on_text_edit_text_changed"]
|
|
[connection signal="pressed" from="Window/VBoxContainer/Button" to="Window" method="_on_button_pressed"]
|