Dev pour la béta 1
* ajout des artefacts avec la pile et l'emplacement de graine * affichage des artefacts dans le vaisseau sur une étagère * ajout des distributeurs d'artefacts dans les régions * affichage des attributs de bases de plantes dans le vaisseau * changement de l'affichage du choix des régions * changement des icônes du détecteur
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
stages/3d_scenes/cockpit_scene/assets/3d/furnitures/screen.blend
Normal file
BIN
stages/3d_scenes/cockpit_scene/assets/3d/furnitures/screen.blend
Normal file
Binary file not shown.
@@ -0,0 +1,68 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://i28ngc4hgq85"
|
||||
path="res://.godot/imported/screen.blend-f05722182a95a41f2104aab7afc27fbd.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/cockpit_scene/assets/3d/furnitures/screen.blend"
|
||||
dest_files=["res://.godot/imported/screen.blend-f05722182a95a41f2104aab7afc27fbd.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={
|
||||
"materials": {
|
||||
"Material": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/default_3d.tres",
|
||||
"use_external/path": "uid://dvvi1k5c5iowc"
|
||||
}
|
||||
}
|
||||
}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/colors=false
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/export_geometry_nodes_instances=false
|
||||
blender/meshes/gpu_instances=false
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
gltf/naming_version=2
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
stages/3d_scenes/cockpit_scene/assets/3d/furnitures/shelf.blend
Normal file
BIN
stages/3d_scenes/cockpit_scene/assets/3d/furnitures/shelf.blend
Normal file
Binary file not shown.
@@ -0,0 +1,68 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b4wdov3y1ulyb"
|
||||
path="res://.godot/imported/shelf.blend-71d6b6a0b2e3a015b18c034dd3a9475a.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/cockpit_scene/assets/3d/furnitures/shelf.blend"
|
||||
dest_files=["res://.godot/imported/shelf.blend-71d6b6a0b2e3a015b18c034dd3a9475a.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={
|
||||
"materials": {
|
||||
"Material": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/default_3d.tres",
|
||||
"use_external/path": "uid://dvvi1k5c5iowc"
|
||||
}
|
||||
}
|
||||
}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/colors=false
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/export_geometry_nodes_instances=false
|
||||
blender/meshes/gpu_instances=false
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
gltf/naming_version=2
|
||||
BIN
stages/3d_scenes/cockpit_scene/assets/3d/furnitures/shelf.blend1
Normal file
BIN
stages/3d_scenes/cockpit_scene/assets/3d/furnitures/shelf.blend1
Normal file
Binary file not shown.
@@ -7,7 +7,9 @@
|
||||
[ext_resource type="PackedScene" uid="uid://by45bbbnf0k13" path="res://gui/game/objective_progress_bar/gauge_3d.tscn" id="4_ers7b"]
|
||||
[ext_resource type="PackedScene" uid="uid://d01cp8xl0rme4" path="res://gui/game/energy_info/energy_info_3d.tscn" id="6_ogqwl"]
|
||||
[ext_resource type="PackedScene" uid="uid://jjkw4edrewsk" path="res://stages/3d_scenes/cockpit_scene/assets/3d/furnitures/closet.blend" id="7_lnpag"]
|
||||
[ext_resource type="PackedScene" uid="uid://cv0ehgy3d1kmj" path="res://stages/3d_scenes/cockpit_scene/dashboard.tscn" id="8_seqvk"]
|
||||
[ext_resource type="PackedScene" uid="uid://cv0ehgy3d1kmj" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/dashboard.tscn" id="8_seqvk"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgw2ct7smispo" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/shelf.tscn" id="11_w4l7d"]
|
||||
[ext_resource type="PackedScene" uid="uid://dd6k80rhux1do" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/plant_info_screen.tscn" id="12_pxmsf"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="13_a2cx2"]
|
||||
[ext_resource type="PackedScene" uid="uid://blvetnnib2ks0" path="res://stages/3d_scenes/cockpit_scene/assets/3d/cockpit2.blend" id="17_omtjc"]
|
||||
|
||||
@@ -84,12 +86,12 @@ interactable = false
|
||||
|
||||
[node name="Gauge3D" parent="." unique_id=232507348 instance=ExtResource("4_ers7b")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-0.06800815, 0.07331366, -3.2046419e-09, 0, -4.371139e-09, -0.1, -0.07331366, -0.06800815, 2.9727303e-09, 1.1649051, -0.56147563, 4.99477)
|
||||
transform = Transform3D(-4.371139e-09, 0, 0.1, -0.06187238, 0.07856086, -2.7045277e-09, -0.07856086, -0.06187238, -3.4340044e-09, -0.034603596, 1.1559428, 5.314687)
|
||||
progress = 1.78
|
||||
|
||||
[node name="EnergyInfo3d" parent="." unique_id=1798644168 instance=ExtResource("6_ogqwl")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.23, 0, 0, 0, 0.23, 0, 0, 0, 0.23, -1.2966455, -0.51924133, 4.2738743)
|
||||
transform = Transform3D(0.23, 0, 0, 0, 0.23, 0, 0, 0, 0.23, -1.2966455, -0.8972735, 4.2738743)
|
||||
max_energy = 3
|
||||
|
||||
[node name="Furnitures" type="Node3D" parent="." unique_id=1095424400]
|
||||
@@ -103,3 +105,9 @@ transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 1.13
|
||||
[node name="Dashboard" parent="." unique_id=1374334508 instance=ExtResource("8_seqvk")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.035136223, -0.7094687, 6.45286)
|
||||
|
||||
[node name="Shelf" parent="." unique_id=1769159984 instance=ExtResource("11_w4l7d")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.1218804, -1.0799314, 2.6211417)
|
||||
|
||||
[node name="PlantInfoScreen" parent="." unique_id=1881622243 instance=ExtResource("12_pxmsf")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.2386853, -0.047743827, 4.020312)
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_scene format=3 uid="uid://xsgcpgsxmboy"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bejxdxbdddqgx" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/scripts/artefact_diplayer.gd" id="1_mb4w6"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_uy2vb"]
|
||||
radius = 0.17572357
|
||||
|
||||
[node name="ArtefactDiplayer" type="Area3D" unique_id=676305823]
|
||||
script = ExtResource("1_mb4w6")
|
||||
interactable = false
|
||||
inspectable = true
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=494100172]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.02765441, 0)
|
||||
shape = SubResource("SphereShape3D_uy2vb")
|
||||
|
||||
[node name="Model" type="Node3D" parent="." unique_id=1722072978]
|
||||
unique_name_in_owner = true
|
||||
384
stages/3d_scenes/cockpit_scene/cockpit_elements/dashboard.tscn
Normal file
384
stages/3d_scenes/cockpit_scene/cockpit_elements/dashboard.tscn
Normal file
@@ -0,0 +1,384 @@
|
||||
[gd_scene format=3 uid="uid://cv0ehgy3d1kmj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://fet6urfgiiwr" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/scripts/dashboard.gd" id="1_vks67"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgmxjom200bej" path="res://common/icons/chevrons-up.svg" id="2_eij3d"]
|
||||
[ext_resource type="PackedScene" uid="uid://cs5gir1u8jbrg" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/holo_content.tscn" id="3_go2gd"]
|
||||
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="4_7u0n5"]
|
||||
[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://entities/interactable_3d/interactable_3d.gd" id="5_g7q16"]
|
||||
[ext_resource type="PackedScene" uid="uid://bnvqwsxgrd14y" path="res://stages/3d_scenes/cockpit_scene/assets/3d/dashboard.blend" id="6_emtfq"]
|
||||
[ext_resource type="Script" uid="uid://vf8nm8ch1p8s" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/scripts/dashboard_run_point_screen.gd" id="7_lskho"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdvegfgvp7053" path="res://stages/3d_scenes/cockpit_scene/assets/3d/furnitures/screen_1.blend" id="8_psxhb"]
|
||||
[ext_resource type="Texture2D" uid="uid://bsgmxvuphn73c" path="res://common/icons/arrow-narrow-down.svg" id="9_v1m0r"]
|
||||
[ext_resource type="PackedScene" uid="uid://crbjmwumboelw" path="res://gui/game/inventory_gui/inventory_3d.tscn" id="10_y1ysr"]
|
||||
[ext_resource type="Script" uid="uid://bq7admu4ahs5r" path="res://entities/player/inventory/scripts/item.gd" id="11_3cel1"]
|
||||
[ext_resource type="Script" uid="uid://fnu2d6wna4yc" path="res://entities/player/inventory/scripts/inventory.gd" id="12_oix5e"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_cvt2p"]
|
||||
viewport_path = NodePath("Holo/SubViewport")
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_5d7hc"]
|
||||
viewport_path = NodePath("StatusScreen/SubViewport")
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_vlkbw"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_qbi61"]
|
||||
viewport_path = NodePath("MainScreen/MainScreenSprite/SubViewport")
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vlkbw"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("MainScreenSprite:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_qbi61"]
|
||||
resource_name = "hover"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("MainScreenSprite:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5, 1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1, 1), Vector3(1.2, 1.2, 1.2), Vector3(1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2ofl5"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_vlkbw"),
|
||||
&"hover": SubResource("Animation_qbi61")
|
||||
}
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_2ofl5"]
|
||||
viewport_path = NodePath("RightScreen/RightScreenAction/SubViewport")
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_2q8cl"]
|
||||
radius = 0.34611636
|
||||
|
||||
[sub_resource type="Animation" id="Animation_stoj6"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("%RightScreenAction:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1.0000002, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_5d7hc"]
|
||||
resource_name = "hover"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("%RightScreenAction:scale")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5, 1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1.0000002, 1), Vector3(1.2, 1.2, 1.2), Vector3(1, 1.0000002, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_h8fs1"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_stoj6"),
|
||||
&"hover": SubResource("Animation_5d7hc")
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_2kujw"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("LeftScreenAction:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1.0000002, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_2q8cl"]
|
||||
resource_name = "hover"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("LeftScreenAction:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0.033333335, 0.53333336, 1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1.0000002, 1), Vector3(1.2, 1.2, 1.2), Vector3(1, 1.0000002, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cvt2p"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_2kujw"),
|
||||
&"hover": SubResource("Animation_2q8cl")
|
||||
}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ne0dp"]
|
||||
script = ExtResource("12_oix5e")
|
||||
items = Array[ExtResource("11_3cel1")]([null, null, null])
|
||||
n_tools = 1
|
||||
metadata/_custom_type_script = "uid://fnu2d6wna4yc"
|
||||
|
||||
[node name="Dashboard" type="Node3D" unique_id=1374334508]
|
||||
script = ExtResource("1_vks67")
|
||||
main_screen_icon = ExtResource("2_eij3d")
|
||||
destination_title = "TO_BOREA_BASE"
|
||||
|
||||
[node name="Holo" type="Sprite3D" parent="." unique_id=1067303692]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1.0000002, 0, 8.742278e-08, 0, -1, 0, 0.83082896, 0.33655214)
|
||||
pixel_size = 0.004
|
||||
texture = SubResource("ViewportTexture_cvt2p")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="Holo" unique_id=471832787]
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
size = Vector2i(365, 68)
|
||||
|
||||
[node name="HoloContent" parent="Holo/SubViewport" unique_id=668915500 instance=ExtResource("3_go2gd")]
|
||||
unique_name_in_owner = true
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -162.0
|
||||
offset_top = -28.0
|
||||
offset_right = 162.0
|
||||
offset_bottom = 28.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
stop_name = ""
|
||||
|
||||
[node name="StatusScreen" type="Sprite3D" parent="." unique_id=1257606535]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1.0000002, 0, 8.742278e-08, 0, -1, 0, 1.0703605, 0.35432142)
|
||||
modulate = Color(1, 0, 0.43137255, 1)
|
||||
pixel_size = 0.003
|
||||
texture = SubResource("ViewportTexture_5d7hc")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="StatusScreen" unique_id=1357189828]
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
size = Vector2i(435, 98)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="StatusScreen/SubViewport" unique_id=2076282975]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
alignment = 1
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="StatusScreen/SubViewport/VBoxContainer" unique_id=86551380]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla "
|
||||
label_settings = ExtResource("4_7u0n5")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="MainScreen" type="Area3D" parent="." unique_id=874806978 node_paths=PackedStringArray("hover_animation_player")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.42284742, 0.4816055)
|
||||
script = ExtResource("5_g7q16")
|
||||
interactable = false
|
||||
hover_animation_player = NodePath("HoverAnimationPlayer")
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="MainScreen" unique_id=1935076244]
|
||||
shape = SubResource("SphereShape3D_vlkbw")
|
||||
|
||||
[node name="MainScreenSprite" type="Sprite3D" parent="MainScreen" unique_id=1081515212]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 8.0014914e-08, 5.4146472e-08, 7.923836e-08, 0.35859588, 0.9334929, 5.5276644e-08, 0.9334929, -0.35859588, 0, 0, 0)
|
||||
visible = false
|
||||
pixel_size = 0.003
|
||||
texture = SubResource("ViewportTexture_qbi61")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="MainScreen/MainScreenSprite" unique_id=1101534363]
|
||||
transparent_bg = true
|
||||
size = Vector2i(150, 150)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MainScreen/MainScreenSprite/SubViewport" unique_id=758261583]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
alignment = 1
|
||||
|
||||
[node name="MainScreenIcon" type="TextureRect" parent="MainScreen/MainScreenSprite/SubViewport/VBoxContainer" unique_id=1128176178]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_eij3d")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="MainScreenLabel" type="Label" parent="MainScreen/MainScreenSprite/SubViewport/VBoxContainer" unique_id=2102392578]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Take Off"
|
||||
label_settings = ExtResource("4_7u0n5")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="HoverAnimationPlayer" type="AnimationPlayer" parent="MainScreen" unique_id=74243401]
|
||||
libraries/ = SubResource("AnimationLibrary_2ofl5")
|
||||
|
||||
[node name="DashboardModel" parent="." unique_id=635273073 instance=ExtResource("6_emtfq")]
|
||||
|
||||
[node name="RightScreen" type="Area3D" parent="." unique_id=748959616 node_paths=PackedStringArray("action_icon", "action_label", "hover_animation_player")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.6401096, -0.4515857, -0.6215544, 0, 0.809017, -0.58778524, 0.76828337, 0.37624705, 0.51785964, -0.65, 0.5, 0.2)
|
||||
script = ExtResource("7_lskho")
|
||||
action_icon = NodePath("RightScreenAction/SubViewport/VBoxContainer/RightScreenActionIcon")
|
||||
action_label = NodePath("RightScreenAction/SubViewport/VBoxContainer/RightScreenActionLabel")
|
||||
inspectable = true
|
||||
hover_animation_player = NodePath("RightScreenHoverAnimationPlayer")
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="RightScreenModel" parent="RightScreen" unique_id=2091343612 instance=ExtResource("8_psxhb")]
|
||||
transform = Transform3D(-1, -2.9802322e-08, -2.9802322e-08, 0, 1, 0, -2.9802322e-08, 1.4901161e-08, 1, 0, -0.07, 0.05)
|
||||
|
||||
[node name="RightScreenAction" type="Sprite3D" parent="RightScreen" unique_id=1289027629]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 2.9802298e-08, 1.509958e-07, 2.9802322e-08, 1.0000002, 2.0861621e-07, -1.509958e-07, 2.0861626e-07, -1, -0.01, -0.04, -0.015)
|
||||
pixel_size = 0.0015
|
||||
texture = SubResource("ViewportTexture_2ofl5")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="RightScreen/RightScreenAction" unique_id=837587699]
|
||||
transparent_bg = true
|
||||
size = Vector2i(150, 180)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="RightScreen/RightScreenAction/SubViewport" unique_id=536772063]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
alignment = 1
|
||||
|
||||
[node name="RightScreenActionIcon" type="TextureRect" parent="RightScreen/RightScreenAction/SubViewport/VBoxContainer" unique_id=788824067]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("9_v1m0r")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="RightScreenActionLabel" type="Label" parent="RightScreen/RightScreenAction/SubViewport/VBoxContainer" unique_id=2019588267]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Uwoqos Uwoqos "
|
||||
label_settings = ExtResource("4_7u0n5")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="RightScreen" unique_id=1017949170]
|
||||
transform = Transform3D(1, -2.9802322e-08, -2.9802322e-08, 0, 1, 0, 2.9802322e-08, 1.4901161e-08, 1, 0, 0, 0)
|
||||
shape = SubResource("SphereShape3D_2q8cl")
|
||||
|
||||
[node name="RightScreenHoverAnimationPlayer" type="AnimationPlayer" parent="RightScreen" unique_id=1823283272]
|
||||
libraries/ = SubResource("AnimationLibrary_h8fs1")
|
||||
|
||||
[node name="LeftScreen" type="Area3D" parent="." unique_id=1517503720 node_paths=PackedStringArray("action_icon", "action_label", "hover_animation_player")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.6401096, 0.4515857, 0.6215543, 0, 0.809017, -0.5877852, -0.76828337, 0.37624705, 0.5178596, 0.65, 0.5, 0.2)
|
||||
script = ExtResource("7_lskho")
|
||||
action_icon = NodePath("LeftScreenAction/SubViewport/VBoxContainer/LeftScreenActionIcon")
|
||||
action_label = NodePath("LeftScreenAction/SubViewport/VBoxContainer/LeftScreenActionLabel")
|
||||
inspectable = true
|
||||
hover_animation_player = NodePath("LeftScreenHoverAnimationPlayer")
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="LeftScreenModel" parent="LeftScreen" unique_id=996232811 instance=ExtResource("8_psxhb")]
|
||||
transform = Transform3D(1, -1.509958e-07, -8.742278e-08, 1.509958e-07, 1, -1.4901156e-08, 8.742278e-08, 1.49011425e-08, 1, 0, -0.07, 0.05)
|
||||
|
||||
[node name="LeftScreenAction" type="Sprite3D" parent="LeftScreen" unique_id=442886447]
|
||||
transform = Transform3D(-1, 5.3045827e-08, 1.509958e-07, 5.3045838e-08, 1.0000002, 1.5913756e-07, -1.5099579e-07, 1.5913761e-07, -1, 0.01, -0.04, -0.015)
|
||||
pixel_size = 0.0015
|
||||
texture = SubResource("ViewportTexture_2ofl5")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="LeftScreen/LeftScreenAction" unique_id=1031174751]
|
||||
transparent_bg = true
|
||||
size = Vector2i(150, 180)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="LeftScreen/LeftScreenAction/SubViewport" unique_id=1664945780]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
alignment = 1
|
||||
|
||||
[node name="LeftScreenActionIcon" type="TextureRect" parent="LeftScreen/LeftScreenAction/SubViewport/VBoxContainer" unique_id=266510290]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("9_v1m0r")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="LeftScreenActionLabel" type="Label" parent="LeftScreen/LeftScreenAction/SubViewport/VBoxContainer" unique_id=448288889]
|
||||
layout_mode = 2
|
||||
text = "Uwoqos Uwoqos "
|
||||
label_settings = ExtResource("4_7u0n5")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="LeftScreen" unique_id=1931637253]
|
||||
transform = Transform3D(1, -2.9802322e-08, -2.9802322e-08, 0, 1, 0, 2.9802322e-08, 1.4901161e-08, 1, 0, 0, 0)
|
||||
shape = SubResource("SphereShape3D_2q8cl")
|
||||
|
||||
[node name="LeftScreenHoverAnimationPlayer" type="AnimationPlayer" parent="LeftScreen" unique_id=972807531]
|
||||
libraries/ = SubResource("AnimationLibrary_cvt2p")
|
||||
|
||||
[node name="Inventory3D" parent="." unique_id=810532522 instance=ExtResource("10_y1ysr")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 8.940697e-08, 0, 1, 0, -8.940697e-08, 0, 1, 0, 0.5876103, 0.89364576)
|
||||
no_tools = true
|
||||
test_inventory = SubResource("Resource_ne0dp")
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene format=3 uid="uid://cs5gir1u8jbrg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d1t0br6cacipb" path="res://stages/3d_scenes/cockpit_scene/scripts/holo_content.gd" id="1_30o21"]
|
||||
[ext_resource type="Script" uid="uid://d1t0br6cacipb" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/scripts/holo_content.gd" id="1_30o21"]
|
||||
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="1_bw0fn"]
|
||||
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="1_wkgid"]
|
||||
|
||||
@@ -0,0 +1,139 @@
|
||||
[gd_scene format=3 uid="uid://dd6k80rhux1do"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="1_82utc"]
|
||||
[ext_resource type="PackedScene" uid="uid://i28ngc4hgq85" path="res://stages/3d_scenes/cockpit_scene/assets/3d/furnitures/screen.blend" id="1_c5x8t"]
|
||||
[ext_resource type="Script" uid="uid://bdwlxwoqf3dcj" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/scripts/plant_info_screen.gd" id="1_d4qoj"]
|
||||
[ext_resource type="Texture2D" uid="uid://bt3g5bmar0icf" path="res://common/icons/growth.svg" id="2_5jpjd"]
|
||||
[ext_resource type="Texture2D" uid="uid://dhy4ewvqvlxyi" path="res://common/icons/clock.svg" id="2_xwbvs"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgmxjom200bej" path="res://common/icons/chevrons-up.svg" id="4_a7tuo"]
|
||||
[ext_resource type="Texture2D" uid="uid://c2qg7ikkylfv4" path="res://common/icons/seeds.svg" id="4_ihffg"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_c5x8t"]
|
||||
viewport_path = NodePath("Sprite3D/SubViewport")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_5jpjd"]
|
||||
font = ExtResource("1_82utc")
|
||||
font_size = 15
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_xwbvs"]
|
||||
font = ExtResource("1_82utc")
|
||||
font_size = 20
|
||||
|
||||
[node name="PlantInfoScreen" type="Node3D" unique_id=1881622243]
|
||||
script = ExtResource("1_d4qoj")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=1624784968]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -0.00714764, 0, 0)
|
||||
pixel_size = 0.004
|
||||
texture = SubResource("ViewportTexture_c5x8t")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="Sprite3D" unique_id=1689184715]
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
size = Vector2i(207, 145)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Sprite3D/SubViewport" unique_id=1462242714]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 16
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="Sprite3D/SubViewport/VBoxContainer" unique_id=1148366912]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 1
|
||||
text = "PLANT_DEFAULT_ATTRIBUTES"
|
||||
label_settings = SubResource("LabelSettings_5jpjd")
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="StatsContainer" type="HFlowContainer" parent="Sprite3D/SubViewport/VBoxContainer" unique_id=1585516203]
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 8
|
||||
theme_override_constants/v_separation = 8
|
||||
alignment = 1
|
||||
last_wrap_alignment = 2
|
||||
|
||||
[node name="ScoreStat" type="HBoxContainer" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer" unique_id=2037793125]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="ScoreIcon" type="TextureRect" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer/ScoreStat" unique_id=1399775561]
|
||||
custom_minimum_size = Vector2(30, 30)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_5jpjd")
|
||||
expand_mode = 3
|
||||
|
||||
[node name="ScoreLabel" type="Label" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer/ScoreStat" unique_id=2071958510]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "3"
|
||||
label_settings = SubResource("LabelSettings_xwbvs")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="LifetimeStat" type="HBoxContainer" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer" unique_id=1750151233]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="LifetimeIcon" type="TextureRect" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer/LifetimeStat" unique_id=855540661]
|
||||
custom_minimum_size = Vector2(30, 30)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_xwbvs")
|
||||
expand_mode = 3
|
||||
|
||||
[node name="LifetimeLabel" type="Label" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer/LifetimeStat" unique_id=1042555843]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "3"
|
||||
label_settings = SubResource("LabelSettings_xwbvs")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="GrowingStat" type="HBoxContainer" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer" unique_id=1246515659]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="GrowingIcon" type="TextureRect" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer/GrowingStat" unique_id=613724045]
|
||||
custom_minimum_size = Vector2(30, 30)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("4_a7tuo")
|
||||
expand_mode = 3
|
||||
|
||||
[node name="GrowingLabel" type="Label" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer/GrowingStat" unique_id=1156190508]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "3"
|
||||
label_settings = SubResource("LabelSettings_xwbvs")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="SeedStat" type="HBoxContainer" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer" unique_id=2140421429]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="SeedIcon" type="TextureRect" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer/SeedStat" unique_id=313311026]
|
||||
custom_minimum_size = Vector2(30, 30)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("4_ihffg")
|
||||
expand_mode = 3
|
||||
|
||||
[node name="SeedLabel" type="Label" parent="Sprite3D/SubViewport/VBoxContainer/StatsContainer/SeedStat" unique_id=1670358044]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
text = "1-2"
|
||||
label_settings = SubResource("LabelSettings_xwbvs")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ScreenModel" parent="." unique_id=1871285491 instance=ExtResource("1_c5x8t")]
|
||||
@@ -0,0 +1,23 @@
|
||||
@tool
|
||||
extends Interactable3D
|
||||
class_name ArtefactDisplayer
|
||||
|
||||
@export var artefact : Artefact : set = set_artefact
|
||||
|
||||
func _ready():
|
||||
set_artefact()
|
||||
|
||||
func set_artefact(a := artefact):
|
||||
if is_node_ready():
|
||||
for c in %Model.get_children():
|
||||
c.queue_free()
|
||||
|
||||
if a:
|
||||
var new_model = a.get_3d_scene().instantiate()
|
||||
%Model.add_child(new_model)
|
||||
artefact = a
|
||||
|
||||
func card_info() -> CardInfo:
|
||||
if artefact:
|
||||
return artefact.card_info()
|
||||
return null
|
||||
@@ -0,0 +1 @@
|
||||
uid://bejxdxbdddqgx
|
||||
@@ -90,43 +90,10 @@ func set_status_text(v := status_text):
|
||||
func set_left_stop(v := left_stop):
|
||||
left_stop = v
|
||||
if is_node_ready():
|
||||
%LeftScreenAction.visible = left_stop != null
|
||||
%LeftScreen.interactable = left_stop != null
|
||||
%LeftScreenStats.visible = left_stop != null
|
||||
%LeftScreenInfos.visible = left_stop and len(left_stop.region_parameter.modifiers) > 0
|
||||
if left_stop:
|
||||
%LeftScreenActionIcon.texture = LAND_ICON
|
||||
%LeftScreenActionLabel.text = left_stop.region_parameter.get_region_name()
|
||||
|
||||
%LeftScreenStat1Icon.texture = GROWTH_ICON
|
||||
%LeftScreenStat1Label.text = str(left_stop.region_parameter.get_objective())
|
||||
|
||||
%LeftScreenStat2Icon.texture = CHARGE_ICON
|
||||
%LeftScreenStat2Label.text = str(left_stop.region_parameter.get_charge())
|
||||
|
||||
if len(left_stop.region_parameter.modifiers) > 0:
|
||||
var modifier : RegionModifier = left_stop.region_parameter.modifiers[0]
|
||||
%LeftScreenInfoTitle.text = "%s %d" % [ modifier.get_modifier_name(), modifier.level ]
|
||||
%LeftScreenInfoText.text = modifier.get_description()
|
||||
%LeftScreen.run_point = left_stop
|
||||
|
||||
func set_right_stop(v := right_stop):
|
||||
right_stop = v
|
||||
if is_node_ready():
|
||||
%RightScreenAction.visible = right_stop != null
|
||||
%RightScreen.interactable = right_stop != null
|
||||
%RightScreenStats.visible = right_stop != null
|
||||
%RightScreenInfos.visible = right_stop and len(right_stop.region_parameter.modifiers) > 0
|
||||
if right_stop:
|
||||
%RightScreenActionIcon.texture = LAND_ICON
|
||||
%RightScreenActionLabel.text = right_stop.region_parameter.get_region_name()
|
||||
|
||||
%RightScreenStat1Icon.texture = GROWTH_ICON
|
||||
%RightScreenStat1Label.text = str(right_stop.region_parameter.get_objective())
|
||||
|
||||
%RightScreenStat2Icon.texture = CHARGE_ICON
|
||||
%RightScreenStat2Label.text = str(right_stop.region_parameter.get_charge())
|
||||
|
||||
if len(right_stop.region_parameter.modifiers) > 0:
|
||||
var modifier : RegionModifier = right_stop.region_parameter.modifiers[0]
|
||||
%RightScreenInfoTitle.text = "%s %d" % [ modifier.get_modifier_name(), modifier.level ]
|
||||
%RightScreenInfoText.text = modifier.get_description()
|
||||
%RightScreen.run_point = right_stop
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
extends Interactable3D
|
||||
|
||||
const LAND_ICON = preload("res://common/icons/arrow-narrow-down.svg")
|
||||
|
||||
var run_point : RunPoint : set = set_run_point
|
||||
|
||||
@export var action_icon : TextureRect
|
||||
@export var action_label : Label
|
||||
|
||||
func _ready():
|
||||
set_run_point()
|
||||
|
||||
func set_run_point(rp := run_point):
|
||||
run_point = rp
|
||||
if is_node_ready():
|
||||
action_icon.visible = rp != null
|
||||
action_label.visible = rp != null
|
||||
interactable = rp != null
|
||||
if rp:
|
||||
action_icon.texture = LAND_ICON
|
||||
action_label.text = rp.region_parameter.get_region_name()
|
||||
|
||||
func card_info() -> CardInfo:
|
||||
if run_point:
|
||||
return run_point.card_info()
|
||||
return null
|
||||
@@ -0,0 +1 @@
|
||||
uid://vf8nm8ch1p8s
|
||||
@@ -0,0 +1,16 @@
|
||||
extends Node3D
|
||||
class_name PlantInfoScreen
|
||||
|
||||
func _ready():
|
||||
update_plant_info()
|
||||
|
||||
func update_plant_info():
|
||||
var plant_info : RunDataPlantInfo = GameInfo.game_data.current_run.plant_info
|
||||
|
||||
%ScoreLabel.text = "%d" % plant_info.get_base_score()
|
||||
%LifetimeLabel.text = "%d" % plant_info.get_lifetime()
|
||||
%GrowingLabel.text = "%d" % plant_info.get_growing_time()
|
||||
%SeedLabel.text = "%d-%d" % [
|
||||
plant_info.get_seed_number() - plant_info.get_seed_random_loose(),
|
||||
plant_info.get_seed_number()
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
uid://bdwlxwoqf3dcj
|
||||
@@ -0,0 +1,24 @@
|
||||
extends Node3D
|
||||
|
||||
|
||||
var run_data : RunData
|
||||
|
||||
func _ready():
|
||||
run_data = GameInfo.game_data.current_run
|
||||
if run_data:
|
||||
set_up_artefacts_displayers(run_data.artefacts)
|
||||
else :
|
||||
set_up_artefacts_displayers([])
|
||||
|
||||
func set_up_artefacts_displayers(artefacts : Array[Artefact]):
|
||||
var artefact_displayers = %ArtefactsDisplayers.get_children() as Array[ArtefactDisplayer]
|
||||
for i in range(len(artefact_displayers)):
|
||||
var artefact_displayer = artefact_displayers[i]
|
||||
if not artefact_displayer.is_node_ready():
|
||||
await artefact_displayer.ready
|
||||
if i < len(artefacts):
|
||||
artefact_displayer.artefact = artefacts[i]
|
||||
artefact_displayer.inspectable = true
|
||||
else:
|
||||
artefact_displayer.artefact = null
|
||||
artefact_displayer.inspectable = false
|
||||
@@ -0,0 +1 @@
|
||||
uid://cmtxsbaae8ouj
|
||||
115
stages/3d_scenes/cockpit_scene/cockpit_elements/shelf.tscn
Normal file
115
stages/3d_scenes/cockpit_scene/cockpit_elements/shelf.tscn
Normal file
@@ -0,0 +1,115 @@
|
||||
[gd_scene format=3 uid="uid://cgw2ct7smispo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cmtxsbaae8ouj" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/scripts/shelf.gd" id="1_c7oq5"]
|
||||
[ext_resource type="PackedScene" uid="uid://b4wdov3y1ulyb" path="res://stages/3d_scenes/cockpit_scene/assets/3d/furnitures/shelf.blend" id="1_rch3t"]
|
||||
[ext_resource type="PackedScene" uid="uid://xsgcpgsxmboy" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/artefact_diplayer.tscn" id="2_rch3t"]
|
||||
[ext_resource type="Script" uid="uid://c6lr0fucklsto" path="res://common/game_data/scripts/artefacts/pile/pile.gd" id="4_rxey1"]
|
||||
[ext_resource type="Script" uid="uid://c7o5p4uk556v6" path="res://common/game_data/scripts/artefacts/seed_case/seed_case.gd" id="5_dthy8"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_iiahi"]
|
||||
script = ExtResource("4_rxey1")
|
||||
metadata/_custom_type_script = "uid://c6lr0fucklsto"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_uck24"]
|
||||
script = ExtResource("5_dthy8")
|
||||
metadata/_custom_type_script = "uid://c7o5p4uk556v6"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_jfo8c"]
|
||||
script = ExtResource("4_rxey1")
|
||||
metadata/_custom_type_script = "uid://c6lr0fucklsto"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_xwcbk"]
|
||||
script = ExtResource("5_dthy8")
|
||||
metadata/_custom_type_script = "uid://c7o5p4uk556v6"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_64gay"]
|
||||
script = ExtResource("4_rxey1")
|
||||
metadata/_custom_type_script = "uid://c6lr0fucklsto"
|
||||
|
||||
[node name="Shelf" type="Node3D" unique_id=1769159984]
|
||||
script = ExtResource("1_c7oq5")
|
||||
|
||||
[node name="Model" parent="." unique_id=1202025071 instance=ExtResource("1_rch3t")]
|
||||
|
||||
[node name="ArtefactsDisplayers" type="Node3D" parent="." unique_id=973221092]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="ArtefactDiplayer" parent="ArtefactsDisplayers" unique_id=676305823 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.9, 0.42064568)
|
||||
artefact = SubResource("Resource_iiahi")
|
||||
|
||||
[node name="ArtefactDiplayer2" parent="ArtefactsDisplayers" unique_id=1000126744 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.9, 0.22064568)
|
||||
artefact = SubResource("Resource_uck24")
|
||||
|
||||
[node name="ArtefactDiplayer3" parent="ArtefactsDisplayers" unique_id=1862027914 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.9, 0.020645678)
|
||||
artefact = SubResource("Resource_jfo8c")
|
||||
|
||||
[node name="ArtefactDiplayer4" parent="ArtefactsDisplayers" unique_id=610725901 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.9, -0.17935432)
|
||||
artefact = SubResource("Resource_xwcbk")
|
||||
|
||||
[node name="ArtefactDiplayer5" parent="ArtefactsDisplayers" unique_id=2087800888 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.9, -0.37935433)
|
||||
artefact = SubResource("Resource_64gay")
|
||||
|
||||
[node name="ArtefactDiplayer6" parent="ArtefactsDisplayers" unique_id=1318896402 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.47160196, 0.42064568)
|
||||
artefact = SubResource("Resource_iiahi")
|
||||
|
||||
[node name="ArtefactDiplayer7" parent="ArtefactsDisplayers" unique_id=1642327446 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.47160196, 0.22064568)
|
||||
artefact = SubResource("Resource_uck24")
|
||||
|
||||
[node name="ArtefactDiplayer8" parent="ArtefactsDisplayers" unique_id=1762567100 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.47160196, 0.020645678)
|
||||
artefact = SubResource("Resource_jfo8c")
|
||||
|
||||
[node name="ArtefactDiplayer9" parent="ArtefactsDisplayers" unique_id=368097306 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.47160196, -0.17935432)
|
||||
artefact = SubResource("Resource_xwcbk")
|
||||
|
||||
[node name="ArtefactDiplayer10" parent="ArtefactsDisplayers" unique_id=901158149 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.47160196, -0.37935433)
|
||||
artefact = SubResource("Resource_64gay")
|
||||
|
||||
[node name="ArtefactDiplayer11" parent="ArtefactsDisplayers" unique_id=951216882 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 1.350719, 0.42064568)
|
||||
artefact = SubResource("Resource_iiahi")
|
||||
|
||||
[node name="ArtefactDiplayer12" parent="ArtefactsDisplayers" unique_id=1610084306 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 1.350719, 0.22064568)
|
||||
artefact = SubResource("Resource_uck24")
|
||||
|
||||
[node name="ArtefactDiplayer13" parent="ArtefactsDisplayers" unique_id=1537097690 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 1.350719, 0.020645678)
|
||||
artefact = SubResource("Resource_jfo8c")
|
||||
|
||||
[node name="ArtefactDiplayer14" parent="ArtefactsDisplayers" unique_id=569710522 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 1.350719, -0.17935432)
|
||||
artefact = SubResource("Resource_xwcbk")
|
||||
|
||||
[node name="ArtefactDiplayer15" parent="ArtefactsDisplayers" unique_id=1193787739 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 1.350719, -0.37935433)
|
||||
artefact = SubResource("Resource_64gay")
|
||||
|
||||
[node name="ArtefactDiplayer16" parent="ArtefactsDisplayers" unique_id=1486453136 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.00010251999, 0.42064568)
|
||||
artefact = SubResource("Resource_iiahi")
|
||||
|
||||
[node name="ArtefactDiplayer17" parent="ArtefactsDisplayers" unique_id=1614343088 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.00010251999, 0.22064568)
|
||||
artefact = SubResource("Resource_uck24")
|
||||
|
||||
[node name="ArtefactDiplayer18" parent="ArtefactsDisplayers" unique_id=1240310117 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.00010251999, 0.020645678)
|
||||
artefact = SubResource("Resource_jfo8c")
|
||||
|
||||
[node name="ArtefactDiplayer19" parent="ArtefactsDisplayers" unique_id=1690298607 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.00010251999, -0.17935432)
|
||||
artefact = SubResource("Resource_xwcbk")
|
||||
|
||||
[node name="ArtefactDiplayer20" parent="ArtefactsDisplayers" unique_id=119436302 instance=ExtResource("2_rch3t")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 0.00010251999, -0.37935433)
|
||||
artefact = SubResource("Resource_64gay")
|
||||
Binary file not shown.
@@ -27,11 +27,9 @@ background_color = Color(0.35150164, 0.49048376, 0.5493753, 1)
|
||||
sky = SubResource("Sky_fp4e7")
|
||||
ambient_light_source = 3
|
||||
ambient_light_color = Color(1, 1, 1, 1)
|
||||
ambient_light_sky_contribution = 0.85
|
||||
ambient_light_energy = 2.0
|
||||
ambient_light_sky_contribution = 0.15
|
||||
ambient_light_energy = 0.75
|
||||
reflected_light_source = 2
|
||||
tonemap_mode = 2
|
||||
tonemap_exposure = 0.7
|
||||
tonemap_white = 1.84
|
||||
glow_enabled = true
|
||||
glow_intensity = 0.22
|
||||
|
||||
@@ -1,614 +0,0 @@
|
||||
[gd_scene format=3 uid="uid://cv0ehgy3d1kmj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://fet6urfgiiwr" path="res://stages/3d_scenes/cockpit_scene/scripts/dashboard.gd" id="1_2q8cl"]
|
||||
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="1_sp2xx"]
|
||||
[ext_resource type="PackedScene" uid="uid://bnvqwsxgrd14y" path="res://stages/3d_scenes/cockpit_scene/assets/3d/dashboard.blend" id="1_u2frr"]
|
||||
[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://entities/interactable_3d/interactable_3d.gd" id="1_vlkbw"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdvegfgvp7053" path="res://stages/3d_scenes/cockpit_scene/assets/3d/furnitures/screen_1.blend" id="2_awdc5"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgmxjom200bej" path="res://common/icons/chevrons-up.svg" id="2_vlkbw"]
|
||||
[ext_resource type="Texture2D" uid="uid://bt3g5bmar0icf" path="res://common/icons/growth.svg" id="7_2ofl5"]
|
||||
[ext_resource type="PackedScene" uid="uid://cs5gir1u8jbrg" path="res://stages/3d_scenes/cockpit_scene/holo_content.tscn" id="7_f7ho8"]
|
||||
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="8_f5peh"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="9_2kujw"]
|
||||
[ext_resource type="Texture2D" uid="uid://bsgmxvuphn73c" path="res://common/icons/arrow-narrow-down.svg" id="13_5d7hc"]
|
||||
[ext_resource type="PackedScene" uid="uid://crbjmwumboelw" path="res://gui/game/inventory_gui/inventory_3d.tscn" id="17_inbnt"]
|
||||
[ext_resource type="Script" uid="uid://bq7admu4ahs5r" path="res://entities/player/inventory/scripts/item.gd" id="18_qm808"]
|
||||
[ext_resource type="Script" uid="uid://fnu2d6wna4yc" path="res://entities/player/inventory/scripts/inventory.gd" id="19_kh1yg"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_cvt2p"]
|
||||
viewport_path = NodePath("Holo/SubViewport")
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_5d7hc"]
|
||||
viewport_path = NodePath("StatusScreen/SubViewport")
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_vlkbw"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_qbi61"]
|
||||
viewport_path = NodePath("MainScreen/MainScreenSprite/SubViewport")
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vlkbw"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("MainScreenSprite:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_qbi61"]
|
||||
resource_name = "hover"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("MainScreenSprite:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.5, 1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1, 1), Vector3(1.2, 1.2, 1.2), Vector3(1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2ofl5"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_vlkbw"),
|
||||
&"hover": SubResource("Animation_qbi61")
|
||||
}
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_2ofl5"]
|
||||
viewport_path = NodePath("RightScreen/RightScreenAction/SubViewport")
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_f5peh"]
|
||||
viewport_path = NodePath("RightScreen/RightScreenStats/SubViewport")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_2kujw"]
|
||||
font = ExtResource("8_f5peh")
|
||||
font_size = 20
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_stoj6"]
|
||||
viewport_path = NodePath("RightScreen/RightScreenInfos/SubViewport")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_2d2u0"]
|
||||
font = ExtResource("8_f5peh")
|
||||
font_size = 20
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_2q8cl"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_2kujw"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("RightScreenAction:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1.0000002, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_2q8cl"]
|
||||
resource_name = "hover"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("RightScreenAction:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.46666667, 1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1.0000002, 1), Vector3(1.2, 1.2, 1.2), Vector3(1, 1.0000002, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cvt2p"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_2kujw"),
|
||||
&"hover": SubResource("Animation_2q8cl")
|
||||
}
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_2kujw"]
|
||||
viewport_path = NodePath("LeftScreen/LeftScreenAction/SubViewport")
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_2q8cl"]
|
||||
viewport_path = NodePath("LeftScreen/LeftScreenStats/SubViewport")
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_h8fs1"]
|
||||
viewport_path = NodePath("LeftScreen/LeftScreenInfos/SubViewport")
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_2kujw"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_cvt2p"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("LeftScreenAction:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1.0000001, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_stoj6"]
|
||||
resource_name = "hover"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("LeftScreenAction:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.46666667, 0.96666664),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1.0000001, 1), Vector3(1.2, 1.2, 1.2), Vector3(1, 1.0000001, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5d7hc"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_cvt2p"),
|
||||
&"hover": SubResource("Animation_stoj6")
|
||||
}
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ne0dp"]
|
||||
script = ExtResource("19_kh1yg")
|
||||
items = Array[ExtResource("18_qm808")]([null, null, null])
|
||||
n_tools = 1
|
||||
metadata/_custom_type_script = "uid://fnu2d6wna4yc"
|
||||
|
||||
[node name="Dashboard" type="Node3D" unique_id=1374334508]
|
||||
script = ExtResource("1_2q8cl")
|
||||
main_screen_icon = ExtResource("2_vlkbw")
|
||||
main_screen_text = null
|
||||
stop_name = null
|
||||
stop_title = null
|
||||
destination_title = "TO_BOREA_BASE"
|
||||
|
||||
[node name="Holo" type="Sprite3D" parent="." unique_id=1067303692]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1.0000002, 0, 8.742278e-08, 0, -1, 0, 0.83082896, 0.33655214)
|
||||
pixel_size = 0.004
|
||||
texture = SubResource("ViewportTexture_cvt2p")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="Holo" unique_id=471832787]
|
||||
transparent_bg = true
|
||||
size = Vector2i(365, 68)
|
||||
|
||||
[node name="HoloContent" parent="Holo/SubViewport" unique_id=668915500 instance=ExtResource("7_f7ho8")]
|
||||
unique_name_in_owner = true
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -162.0
|
||||
offset_top = -28.0
|
||||
offset_right = 162.0
|
||||
offset_bottom = 28.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
stop_name = ""
|
||||
|
||||
[node name="StatusScreen" type="Sprite3D" parent="." unique_id=1257606535]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1.0000002, 0, 8.742278e-08, 0, -1, 0, 1.0703605, 0.35432142)
|
||||
modulate = Color(1, 0, 0.43137255, 1)
|
||||
pixel_size = 0.003
|
||||
texture = SubResource("ViewportTexture_5d7hc")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="StatusScreen" unique_id=1357189828]
|
||||
transparent_bg = true
|
||||
size = Vector2i(435, 98)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="StatusScreen/SubViewport" unique_id=2076282975]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
alignment = 1
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="StatusScreen/SubViewport/VBoxContainer" unique_id=86551380]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla "
|
||||
label_settings = ExtResource("1_sp2xx")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="MainScreen" type="Area3D" parent="." unique_id=874806978 node_paths=PackedStringArray("hover_animation_player")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.42284742, 0.4816055)
|
||||
script = ExtResource("1_vlkbw")
|
||||
interactable = false
|
||||
hover_animation_player = NodePath("HoverAnimationPlayer")
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="MainScreen" unique_id=1935076244]
|
||||
shape = SubResource("SphereShape3D_vlkbw")
|
||||
|
||||
[node name="MainScreenSprite" type="Sprite3D" parent="MainScreen" unique_id=1081515212]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 8.0014914e-08, 5.4146472e-08, 7.923836e-08, 0.35859588, 0.9334929, 5.5276644e-08, 0.9334929, -0.35859588, 0, 0, 0)
|
||||
visible = false
|
||||
pixel_size = 0.003
|
||||
texture = SubResource("ViewportTexture_qbi61")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="MainScreen/MainScreenSprite" unique_id=1101534363]
|
||||
transparent_bg = true
|
||||
size = Vector2i(150, 150)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MainScreen/MainScreenSprite/SubViewport" unique_id=758261583]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
alignment = 1
|
||||
|
||||
[node name="MainScreenIcon" type="TextureRect" parent="MainScreen/MainScreenSprite/SubViewport/VBoxContainer" unique_id=1128176178]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_vlkbw")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="MainScreenLabel" type="Label" parent="MainScreen/MainScreenSprite/SubViewport/VBoxContainer" unique_id=2102392578]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Take Off"
|
||||
label_settings = ExtResource("1_sp2xx")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="HoverAnimationPlayer" type="AnimationPlayer" parent="MainScreen" unique_id=74243401]
|
||||
libraries/ = SubResource("AnimationLibrary_2ofl5")
|
||||
|
||||
[node name="DashboardModel" parent="." unique_id=635273073 instance=ExtResource("1_u2frr")]
|
||||
|
||||
[node name="RightScreen" type="Area3D" parent="." unique_id=748959616 node_paths=PackedStringArray("hover_animation_player")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.6401096, -0.4515857, -0.6215544, 0, 0.809017, -0.58778524, 0.76828337, 0.37624705, 0.51785964, -0.7, 0.5, -0.15)
|
||||
script = ExtResource("1_vlkbw")
|
||||
hover_animation_player = NodePath("HoverAnimationPlayer")
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="RightScreenModel" parent="RightScreen" unique_id=462452406 instance=ExtResource("2_awdc5")]
|
||||
transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
|
||||
[node name="RightScreenAction" type="Sprite3D" parent="RightScreen" unique_id=1289027629]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 0, -1.509958e-07, 0, 1.0000002, 0, 1.509958e-07, 0, -1, -0.18746918, -0.04759717, -0.04654131)
|
||||
pixel_size = 0.002
|
||||
texture = SubResource("ViewportTexture_2ofl5")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="RightScreen/RightScreenAction" unique_id=837587699]
|
||||
transparent_bg = true
|
||||
size = Vector2i(150, 180)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="RightScreen/RightScreenAction/SubViewport" unique_id=536772063]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
alignment = 1
|
||||
|
||||
[node name="RightScreenActionIcon" type="TextureRect" parent="RightScreen/RightScreenAction/SubViewport/VBoxContainer" unique_id=788824067]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("13_5d7hc")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="RightScreenActionLabel" type="Label" parent="RightScreen/RightScreenAction/SubViewport/VBoxContainer" unique_id=2019588267]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Uwoqos Uwoqos "
|
||||
label_settings = ExtResource("1_sp2xx")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="RightScreenStats" type="Sprite3D" parent="RightScreen" unique_id=282782621]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, -5.5879354e-08, 1.1920929e-07, -2.9802322e-08, 0.86602557, -0.50000024, -2.0861626e-07, -0.5000001, -0.86602545, -0.14474958, 0.2707073, -0.057207607)
|
||||
pixel_size = 0.002
|
||||
texture = SubResource("ViewportTexture_f5peh")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="RightScreen/RightScreenStats" unique_id=131851122]
|
||||
transparent_bg = true
|
||||
size = Vector2i(170, 75)
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="RightScreen/RightScreenStats/SubViewport" unique_id=578755335]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 15.0
|
||||
offset_bottom = 51.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = 10
|
||||
alignment = 1
|
||||
|
||||
[node name="RightScreenStat1" type="VBoxContainer" parent="RightScreen/RightScreenStats/SubViewport/HBoxContainer" unique_id=164391708]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -10
|
||||
|
||||
[node name="RightScreenStat1Icon" type="TextureRect" parent="RightScreen/RightScreenStats/SubViewport/HBoxContainer/RightScreenStat1" unique_id=1950512302]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(50, 50)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("7_2ofl5")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="RightScreenStat1Label" type="Label" parent="RightScreen/RightScreenStats/SubViewport/HBoxContainer/RightScreenStat1" unique_id=965157290]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "0"
|
||||
label_settings = SubResource("LabelSettings_2kujw")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="RightScreenStat2" type="VBoxContainer" parent="RightScreen/RightScreenStats/SubViewport/HBoxContainer" unique_id=882311617]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -10
|
||||
|
||||
[node name="RightScreenStat2Icon" type="TextureRect" parent="RightScreen/RightScreenStats/SubViewport/HBoxContainer/RightScreenStat2" unique_id=33385693]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(50, 50)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("9_2kujw")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="RightScreenStat2Label" type="Label" parent="RightScreen/RightScreenStats/SubViewport/HBoxContainer/RightScreenStat2" unique_id=1607645733]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "0"
|
||||
label_settings = SubResource("LabelSettings_2kujw")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="RightScreenInfos" type="Sprite3D" parent="RightScreen" unique_id=449647859]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-0.9902686, -2.9802322e-08, -0.13917324, 0, 1.0000002, -1.4901161e-08, 0.13917324, 5.9604645e-08, -0.99026823, 0.293737, 0.079518735, -0.035522263)
|
||||
pixel_size = 0.002
|
||||
texture = SubResource("ViewportTexture_stoj6")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="RightScreen/RightScreenInfos" unique_id=606992481]
|
||||
transparent_bg = true
|
||||
size = Vector2i(117, 138)
|
||||
|
||||
[node name="HBoxContainer" type="VBoxContainer" parent="RightScreen/RightScreenInfos/SubViewport" unique_id=112944532]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="RightScreenInfoTitle" type="Label" parent="RightScreen/RightScreenInfos/SubViewport/HBoxContainer" unique_id=1621744309]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Hello"
|
||||
label_settings = SubResource("LabelSettings_2d2u0")
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="RightScreenInfoText" type="RichTextLabel" parent="RightScreen/RightScreenInfos/SubViewport/HBoxContainer" unique_id=2134092583]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/normal_font_size = 14
|
||||
theme_override_font_sizes/bold_font_size = 14
|
||||
theme_override_font_sizes/bold_italics_font_size = 14
|
||||
theme_override_font_sizes/italics_font_size = 14
|
||||
theme_override_font_sizes/mono_font_size = 14
|
||||
bbcode_enabled = true
|
||||
text = "Lorem ipsum dolor sir amet"
|
||||
fit_content = true
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="RightScreen" unique_id=1017949170]
|
||||
shape = SubResource("SphereShape3D_2q8cl")
|
||||
|
||||
[node name="HoverAnimationPlayer" type="AnimationPlayer" parent="RightScreen" unique_id=1284640853]
|
||||
libraries/ = SubResource("AnimationLibrary_cvt2p")
|
||||
|
||||
[node name="LeftScreen" type="Area3D" parent="." unique_id=1913589420 node_paths=PackedStringArray("hover_animation_player")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-0.6401098, -0.4515857, -0.6215544, 0, -0.809017, 0.58778524, 0.7682836, -0.37624705, -0.51785964, 0.7, 0.5, -0.15)
|
||||
script = ExtResource("1_vlkbw")
|
||||
hover_animation_player = NodePath("HoverAnimationPlayer")
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="LeftScreenModel" parent="LeftScreen" unique_id=596888679 instance=ExtResource("2_awdc5")]
|
||||
transform = Transform3D(-0.99999976, 0, 0, 0, -1, 0, 0, 0, -0.99999994, 0, 0, 0)
|
||||
|
||||
[node name="LeftScreenAction" type="Sprite3D" parent="LeftScreen" unique_id=764341277]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 1.5099579e-07, 1.509958e-07, 1.509958e-07, -1.0000001, -1.4901158e-07, 1.5099577e-07, 1.4901163e-07, -1, -0.21238875, 0.06833798, 0.06593077)
|
||||
pixel_size = 0.002
|
||||
texture = SubResource("ViewportTexture_2kujw")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="LeftScreen/LeftScreenAction" unique_id=1596245800]
|
||||
transparent_bg = true
|
||||
size = Vector2i(150, 180)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="LeftScreen/LeftScreenAction/SubViewport" unique_id=306736368]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
alignment = 1
|
||||
|
||||
[node name="LeftScreenActionIcon" type="TextureRect" parent="LeftScreen/LeftScreenAction/SubViewport/VBoxContainer" unique_id=2129330680]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("13_5d7hc")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="LeftScreenActionLabel" type="Label" parent="LeftScreen/LeftScreenAction/SubViewport/VBoxContainer" unique_id=1631525309]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Ujuqyt Ujuqyt"
|
||||
label_settings = ExtResource("1_sp2xx")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="LeftScreenStats" type="Sprite3D" parent="LeftScreen" unique_id=2023558675]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.9999999, -1.0058284e-07, -1.1920929e-07, 2.9802322e-08, -0.8660252, -0.50000006, 2.9802322e-08, 0.5000003, -0.86602545, -0.16182363, -0.27932125, 0.064277686)
|
||||
pixel_size = 0.002
|
||||
texture = SubResource("ViewportTexture_2q8cl")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="LeftScreen/LeftScreenStats" unique_id=1118622284]
|
||||
transparent_bg = true
|
||||
size = Vector2i(170, 75)
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="LeftScreen/LeftScreenStats/SubViewport" unique_id=324458085]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 15.0
|
||||
offset_bottom = 51.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = 10
|
||||
alignment = 1
|
||||
|
||||
[node name="LeftScreenStat1" type="VBoxContainer" parent="LeftScreen/LeftScreenStats/SubViewport/HBoxContainer" unique_id=224841193]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -10
|
||||
|
||||
[node name="LeftScreenStat1Icon" type="TextureRect" parent="LeftScreen/LeftScreenStats/SubViewport/HBoxContainer/LeftScreenStat1" unique_id=127811144]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(50, 50)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("7_2ofl5")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="LeftScreenStat1Label" type="Label" parent="LeftScreen/LeftScreenStats/SubViewport/HBoxContainer/LeftScreenStat1" unique_id=148471301]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "10"
|
||||
label_settings = SubResource("LabelSettings_2kujw")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="LeftScreenStat2" type="VBoxContainer" parent="LeftScreen/LeftScreenStats/SubViewport/HBoxContainer" unique_id=476423329]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -10
|
||||
|
||||
[node name="LeftScreenStat2Icon" type="TextureRect" parent="LeftScreen/LeftScreenStats/SubViewport/HBoxContainer/LeftScreenStat2" unique_id=2139266172]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(50, 50)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("9_2kujw")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="LeftScreenStat2Label" type="Label" parent="LeftScreen/LeftScreenStats/SubViewport/HBoxContainer/LeftScreenStat2" unique_id=1826154156]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "10"
|
||||
label_settings = SubResource("LabelSettings_2kujw")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="LeftScreenInfos" type="Sprite3D" parent="LeftScreen" unique_id=409182409]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.9902684, 1.2166894e-08, 0.13917312, 0, -0.9999996, 8.7422784e-08, 0.13917315, -8.6571944e-08, -0.9902682, 0.28543925, -0.055610895, 0.046822492)
|
||||
pixel_size = 0.002
|
||||
texture = SubResource("ViewportTexture_h8fs1")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="LeftScreen/LeftScreenInfos" unique_id=1150656373]
|
||||
transparent_bg = true
|
||||
size = Vector2i(117, 138)
|
||||
|
||||
[node name="HBoxContainer" type="VBoxContainer" parent="LeftScreen/LeftScreenInfos/SubViewport" unique_id=667177655]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="LeftScreenInfoTitle" type="Label" parent="LeftScreen/LeftScreenInfos/SubViewport/HBoxContainer" unique_id=743864123]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Hello hella"
|
||||
label_settings = SubResource("LabelSettings_2d2u0")
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="LeftScreenInfoText" type="RichTextLabel" parent="LeftScreen/LeftScreenInfos/SubViewport/HBoxContainer" unique_id=101599500]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/normal_font_size = 14
|
||||
theme_override_font_sizes/bold_font_size = 14
|
||||
theme_override_font_sizes/bold_italics_font_size = 14
|
||||
theme_override_font_sizes/italics_font_size = 14
|
||||
theme_override_font_sizes/mono_font_size = 14
|
||||
bbcode_enabled = true
|
||||
text = "Lorem ipsum dolor sir amet"
|
||||
fit_content = true
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="LeftScreen" unique_id=1983450336]
|
||||
shape = SubResource("SphereShape3D_2kujw")
|
||||
|
||||
[node name="HoverAnimationPlayer" type="AnimationPlayer" parent="LeftScreen" unique_id=332045443]
|
||||
libraries/ = SubResource("AnimationLibrary_5d7hc")
|
||||
|
||||
[node name="Inventory3D" parent="." unique_id=810532522 instance=ExtResource("17_inbnt")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 8.940697e-08, 0, 1, 0, -8.940697e-08, 0, 1, 0, 0.5876103, 0.89364576)
|
||||
no_tools = true
|
||||
test_inventory = SubResource("Resource_ne0dp")
|
||||
@@ -9,7 +9,7 @@ func _input(_e):
|
||||
if (
|
||||
Input.is_action_pressed("drop")
|
||||
and Input.is_action_pressed("move_right")
|
||||
and Input.is_action_pressed("move_left")
|
||||
and Input.is_action_pressed("move_left")
|
||||
and Input.is_action_just_pressed("action")
|
||||
):
|
||||
GameInfo.game_data.dialogs_done.append(DIALOG_PATH)
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,68 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://5l3wve81irlc"
|
||||
path="res://.godot/imported/vending_machine.blend-d2b640c8f4d0c595cec0b5e84bca50ad.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/vending_machine_room/assets/3d/vending_machine.blend"
|
||||
dest_files=["res://.godot/imported/vending_machine.blend-d2b640c8f4d0c595cec0b5e84bca50ad.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={
|
||||
"materials": {
|
||||
"Material": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/default_3d.tres",
|
||||
"use_external/path": "uid://dvvi1k5c5iowc"
|
||||
}
|
||||
}
|
||||
}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/colors=false
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/export_geometry_nodes_instances=false
|
||||
blender/meshes/gpu_instances=false
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
gltf/naming_version=2
|
||||
Binary file not shown.
@@ -0,0 +1,68 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://2qxf6qj8tnlk"
|
||||
path="res://.godot/imported/vending_machine_room.blend-0bcded09a5a1444815bdcab5bef77fff.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/vending_machine_room/assets/3d/vending_machine_room.blend"
|
||||
dest_files=["res://.godot/imported/vending_machine_room.blend-0bcded09a5a1444815bdcab5bef77fff.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={
|
||||
"materials": {
|
||||
"Material": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/default_3d.tres",
|
||||
"use_external/path": "uid://dvvi1k5c5iowc"
|
||||
}
|
||||
}
|
||||
}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/colors=false
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/export_geometry_nodes_instances=false
|
||||
blender/meshes/gpu_instances=false
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
gltf/naming_version=2
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="mp3"
|
||||
type="AudioStreamMP3"
|
||||
uid="uid://bynxc84w03so4"
|
||||
path="res://.godot/imported/alex_jauk-vending-machines-ambient-noise-236027.mp3-9aff8d37b15f5aeb214a1b811e990715.mp3str"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/vending_machine_room/assets/sounds/alex_jauk-vending-machines-ambient-noise-236027.mp3"
|
||||
dest_files=["res://.godot/imported/alex_jauk-vending-machines-ambient-noise-236027.mp3-9aff8d37b15f5aeb214a1b811e990715.mp3str"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0.0
|
||||
bpm=0.0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -0,0 +1,208 @@
|
||||
@tool
|
||||
extends Node3D
|
||||
class_name VendingMachine3d
|
||||
|
||||
const LINE_OBJECT_NUMBER = 5
|
||||
const LINE_OBJECT_SEPARATION = Vector3.LEFT * 0.2
|
||||
const FALLING_OBJECT_LINE_SHIFT = Vector3.FORWARD * 0.3
|
||||
|
||||
enum State {CHOOSE,PAY,FETCH,DONE, OFF}
|
||||
enum ChooseState {NONE,FIRST,SECOND}
|
||||
|
||||
@export_tool_button("Update", "Callable") var update_action = update
|
||||
|
||||
@export_tool_button("Fall Object 1", "Callable") var fall_object_1_action = fall_object_1
|
||||
@export_tool_button("Fall Object 1", "Callable") var fall_object_2_action = fall_object_2
|
||||
|
||||
@export var state : State = State.CHOOSE : set = set_state
|
||||
@export var choose_state : ChooseState = ChooseState.NONE
|
||||
@export var artefact_1 : Artefact = null : set = set_artefact_1
|
||||
@export var artefact_2 : Artefact = null : set = set_artefact_2
|
||||
@export var price : VendingMachinePrice = null : set = set_price
|
||||
|
||||
# func _input(_e):
|
||||
# if Input.is_action_just_pressed("action"):
|
||||
# fall_object([
|
||||
# %Line1,
|
||||
# %Line2,
|
||||
# %Line3,
|
||||
# %Line4
|
||||
# ].pick_random())
|
||||
|
||||
func _ready():
|
||||
update()
|
||||
|
||||
func update():
|
||||
set_artefact_1()
|
||||
set_artefact_2()
|
||||
set_state()
|
||||
set_price()
|
||||
|
||||
func set_state(s := state):
|
||||
state = s
|
||||
%Select1Interactable.visible = s == State.CHOOSE or s == State.PAY
|
||||
%Select1Interactable.interactable = (s == State.CHOOSE or s == State.PAY) and artefact_1 != null
|
||||
|
||||
%Select2Interactable.visible = s == State.CHOOSE or s == State.PAY
|
||||
%Select2Interactable.interactable = s == State.CHOOSE or s == State.PAY and artefact_2 != null
|
||||
|
||||
%PayInteractable.visible = s == State.PAY
|
||||
%PayInteractable.interactable = s == State.PAY
|
||||
|
||||
%FetchInteractable.visible = s == State.FETCH
|
||||
%FetchInteractable.interactable = s == State.FETCH
|
||||
|
||||
%TopScreen.visible = s != State.OFF
|
||||
%InfoScreen.visible = s != State.OFF
|
||||
%PriceScreen.visible = s != State.OFF
|
||||
%Light.visible = s != State.OFF
|
||||
%SoundEffect.playing = s != State.OFF
|
||||
|
||||
match state:
|
||||
State.CHOOSE:
|
||||
%InfoScreenLabel.text = "CHOOSE_AN_ITEM"
|
||||
State.PAY:
|
||||
if get_choosen_artefact():
|
||||
var choosen_artefact_name = get_choosen_artefact().get_artefact_name()
|
||||
%InfoScreenLabel.text = tr("PAY_THE_PRICE_FOR").format({
|
||||
"item_name": tr(choosen_artefact_name),
|
||||
})
|
||||
State.FETCH:
|
||||
%InfoScreenLabel.text = "GET_YOUR_ITEM"
|
||||
State.DONE:
|
||||
%InfoScreenLabel.text = "THANK_YOU_FOR_YOUR_PURCHASE"
|
||||
|
||||
func set_artefact_1(a := artefact_1):
|
||||
if is_node_ready():
|
||||
if a:
|
||||
fill_lines(%Line1, a.get_3d_scene().instantiate())
|
||||
fill_lines(%Line2, a.get_3d_scene().instantiate())
|
||||
else:
|
||||
clear_line(%Line1)
|
||||
clear_line(%Line2)
|
||||
%Select1Interactable.artefact = a
|
||||
artefact_1 = a
|
||||
|
||||
func set_artefact_2(a := artefact_2):
|
||||
if is_node_ready():
|
||||
if a:
|
||||
fill_lines(%Line3, a.get_3d_scene().instantiate())
|
||||
fill_lines(%Line4, a.get_3d_scene().instantiate())
|
||||
else:
|
||||
clear_line(%Line3)
|
||||
clear_line(%Line4)
|
||||
%Select2Interactable.artefact = a
|
||||
artefact_2 = a
|
||||
|
||||
func set_price(p := price):
|
||||
if p and is_node_ready():
|
||||
%PriceScreenLabel.text = p.get_text()
|
||||
%PriceScreenIcon.texture = p.get_icon()
|
||||
if not Engine.is_editor_hint():
|
||||
%PriceScreenContentSprite.modulate = Color.WHITE if p.can_pay(GameInfo.game_data.player_data) else Color.RED
|
||||
%PayIcon.modulate = Color.WHITE if p.can_pay(GameInfo.game_data.player_data) else Color.RED
|
||||
price = p
|
||||
|
||||
func fall_object_1():
|
||||
fall_object([
|
||||
%Line1,
|
||||
%Line2
|
||||
].pick_random())
|
||||
|
||||
func fall_object_2():
|
||||
fall_object([
|
||||
%Line3,
|
||||
%Line4
|
||||
].pick_random())
|
||||
|
||||
func fall_object(from_line : Node3D):
|
||||
if len(from_line.get_children()):
|
||||
var falling_object = create_falling_object()
|
||||
|
||||
var object = from_line.get_children().pick_random() as Node3D
|
||||
|
||||
var falling_model = object.duplicate()
|
||||
falling_model.position = Vector3.ZERO
|
||||
falling_object.add_child(falling_model)
|
||||
falling_object.freeze = false
|
||||
object.queue_free()
|
||||
|
||||
%FallingObjects.add_child(falling_object)
|
||||
falling_object.global_position = object.global_position + FALLING_OBJECT_LINE_SHIFT.rotated(Vector3.UP, rotation.y)
|
||||
|
||||
func clear_falling_objects():
|
||||
for c in %FallingObjects.get_children():
|
||||
c.queue_free()
|
||||
|
||||
func create_falling_object() -> RigidBody3D:
|
||||
var falling_object = RigidBody3D.new()
|
||||
var falling_collider = CollisionShape3D.new()
|
||||
var falling_shape = SphereShape3D.new()
|
||||
falling_shape.radius = 0.08
|
||||
falling_collider.shape = falling_shape
|
||||
falling_object.add_child(falling_collider)
|
||||
falling_object.gravity_scale = 0.2
|
||||
|
||||
return falling_object
|
||||
|
||||
func fill_lines(line : Node3D, object : Node3D):
|
||||
clear_line(line)
|
||||
|
||||
for i in range(LINE_OBJECT_NUMBER):
|
||||
var new_object = object.duplicate()
|
||||
line.add_child(new_object)
|
||||
new_object.position = i * LINE_OBJECT_SEPARATION
|
||||
|
||||
func clear_line(line : Node3D):
|
||||
for c in line.get_children():
|
||||
c.queue_free()
|
||||
|
||||
func get_choosen_artefact() -> Artefact:
|
||||
if choose_state == ChooseState.FIRST:
|
||||
return artefact_1
|
||||
elif choose_state == ChooseState.SECOND:
|
||||
return artefact_2
|
||||
return null
|
||||
|
||||
func _on_select_1_interactable_clicked():
|
||||
AudioManager.play_sfx("Screen_interaction")
|
||||
choose_state = ChooseState.FIRST
|
||||
state = State.PAY
|
||||
|
||||
|
||||
func _on_select_2_interactable_clicked():
|
||||
AudioManager.play_sfx("Screen_interaction")
|
||||
choose_state = ChooseState.SECOND
|
||||
state = State.PAY
|
||||
|
||||
|
||||
func _on_pay_interactable_clicked():
|
||||
if price.can_pay(GameInfo.game_data.player_data):
|
||||
AudioManager.play_sfx("Drop")
|
||||
price.pay(GameInfo.game_data.player_data)
|
||||
if choose_state == ChooseState.FIRST:
|
||||
fall_object_1()
|
||||
else:
|
||||
fall_object_2()
|
||||
|
||||
state = State.FETCH
|
||||
get_tree().create_timer(1.).timeout.connect(
|
||||
func ():
|
||||
AudioManager.play_sfx("VendingMachineDrop")
|
||||
)
|
||||
|
||||
|
||||
func _on_fetch_interactable_clicked():
|
||||
AudioManager.play_sfx("PickUp")
|
||||
clear_falling_objects()
|
||||
if GameInfo.game_data and GameInfo.game_data.current_region_data and GameInfo.game_data.current_run:
|
||||
GameInfo.game_data.current_region_data.completed_doors.append(GameInfo.game_data.current_region_data.entered_door)
|
||||
GameInfo.game_data.current_run.add_artefacts(get_choosen_artefact().duplicate())
|
||||
|
||||
state = State.DONE
|
||||
|
||||
get_tree().create_timer(3.).timeout.connect(
|
||||
func ():
|
||||
state = State.OFF
|
||||
AudioManager.play_sfx("VendingMachineOff")
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
uid://d1prpiulsaqhn
|
||||
@@ -0,0 +1,22 @@
|
||||
@tool
|
||||
extends VendingMachinePrice
|
||||
class_name VendingMachineEnergyPrice
|
||||
|
||||
@export var energy : int
|
||||
|
||||
func _init(
|
||||
_energy := 1
|
||||
):
|
||||
energy = _energy
|
||||
|
||||
func get_icon() -> Texture:
|
||||
return preload("res://common/icons/bolt.svg")
|
||||
|
||||
func get_text() -> String:
|
||||
return "%d" % energy
|
||||
|
||||
func can_pay(player_data: PlayerData) -> bool:
|
||||
return player_data.energy >= energy
|
||||
|
||||
func pay(player_data: PlayerData) -> void:
|
||||
player_data.energy -= energy
|
||||
@@ -0,0 +1 @@
|
||||
uid://bioeudg633y06
|
||||
@@ -0,0 +1,10 @@
|
||||
@tool
|
||||
@abstract
|
||||
extends Resource
|
||||
class_name VendingMachinePrice
|
||||
|
||||
|
||||
@abstract func get_icon() -> Texture
|
||||
@abstract func get_text() -> String
|
||||
@abstract func can_pay(player_data: PlayerData) -> bool
|
||||
@abstract func pay(player_data: PlayerData) -> void
|
||||
@@ -0,0 +1 @@
|
||||
uid://hixfit7u4hqs
|
||||
@@ -0,0 +1,28 @@
|
||||
extends Node3D
|
||||
|
||||
func _ready():
|
||||
var rng := RandomNumberGenerator.new()
|
||||
rng.seed = GameInfo.game_data.current_region_data.entered_door.hash()
|
||||
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
|
||||
var all_vending_machines = %VendingMachines.get_children() as Array[VendingMachine3d]
|
||||
var vending_machine : VendingMachine3d = all_vending_machines[rng.randi()%len(all_vending_machines)]
|
||||
|
||||
var available_artefacts = GameInfo.game_data.progression_data.available_artefacts
|
||||
var artefacts = []
|
||||
|
||||
while len(artefacts) < 2:
|
||||
var artefact = available_artefacts[rng.randi()%len(available_artefacts)]
|
||||
if artefacts.find_custom(
|
||||
func (a : Artefact): return a.get_artefact_name() == artefact.get_artefact_name()
|
||||
) == -1:
|
||||
artefacts.append(artefact)
|
||||
|
||||
vending_machine.artefact_1 = artefacts[0]
|
||||
vending_machine.artefact_2 = artefacts[1]
|
||||
vending_machine.price = VendingMachineEnergyPrice.new(2)
|
||||
vending_machine.state = VendingMachine3d.State.CHOOSE
|
||||
|
||||
func _on_exit_clicked():
|
||||
SceneManager.change_to_scene_id('REGION')
|
||||
@@ -0,0 +1 @@
|
||||
uid://miw8kvslhrao
|
||||
@@ -0,0 +1,10 @@
|
||||
extends Interactable3D
|
||||
class_name VendingMachineSelectInteractable
|
||||
|
||||
@export var artefact : Artefact
|
||||
|
||||
func card_info() -> CardInfo:
|
||||
if artefact:
|
||||
return artefact.card_info()
|
||||
return null
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://cpdtt25r2ne23
|
||||
332
stages/3d_scenes/vending_machine_room/vending_machine_3d.tscn
Normal file
332
stages/3d_scenes/vending_machine_room/vending_machine_3d.tscn
Normal file
@@ -0,0 +1,332 @@
|
||||
[gd_scene format=3 uid="uid://blva21dapmm68"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://5l3wve81irlc" path="res://stages/3d_scenes/vending_machine_room/assets/3d/vending_machine.blend" id="1_28vvr"]
|
||||
[ext_resource type="Script" uid="uid://d1prpiulsaqhn" path="res://stages/3d_scenes/vending_machine_room/scripts/vending_machine_3d.gd" id="1_awnyh"]
|
||||
[ext_resource type="Script" uid="uid://bioeudg633y06" path="res://stages/3d_scenes/vending_machine_room/scripts/vending_machine_energy_price.gd" id="4_tvcj6"]
|
||||
[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://entities/interactable_3d/interactable_3d.gd" id="5_babpq"]
|
||||
[ext_resource type="Texture2D" uid="uid://bmersnaoira20" path="res://common/icons/building-store.svg" id="5_f6clw"]
|
||||
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="6_1vufv"]
|
||||
[ext_resource type="Texture2D" uid="uid://3slhocr5wy3w" path="res://common/icons/hand-stop.svg" id="6_c54xj"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwewx7cdy085h" path="res://common/icons/help-hexagon.svg" id="7_1vufv"]
|
||||
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="8_5gq8t"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="9_p1py0"]
|
||||
[ext_resource type="Script" uid="uid://cpdtt25r2ne23" path="res://stages/3d_scenes/vending_machine_room/scripts/vending_machine_select_interactable.gd" id="10_js246"]
|
||||
[ext_resource type="AudioStream" uid="uid://bynxc84w03so4" path="res://stages/3d_scenes/vending_machine_room/assets/sounds/alex_jauk-vending-machines-ambient-noise-236027.mp3" id="12_js246"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_vrdoi"]
|
||||
script = ExtResource("4_tvcj6")
|
||||
energy = 3
|
||||
metadata/_custom_type_script = "uid://bioeudg633y06"
|
||||
|
||||
[sub_resource type="Environment" id="Environment_28vvr"]
|
||||
ambient_light_source = 2
|
||||
ambient_light_color = Color(1, 1, 1, 1)
|
||||
ambient_light_energy = 2.29
|
||||
tonemap_exposure = 0.62
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_f6clw"]
|
||||
colors = PackedColorArray(0.13725491, 0.39215687, 0.6666667, 1, 0.14509805, 0.75686276, 0.2784314, 1)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_1vufv"]
|
||||
gradient = SubResource("Gradient_f6clw")
|
||||
width = 102
|
||||
height = 34
|
||||
fill_from = Vector2(0.491453, 1)
|
||||
fill_to = Vector2(0.49158248, 0)
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_5gq8t"]
|
||||
viewport_path = NodePath("TopScreen/TopScreenContent")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_5gq8t"]
|
||||
colors = PackedColorArray(0.13725491, 0.39215687, 0.6666667, 1, 0.14509805, 0.75686276, 0.2784314, 1)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_p1py0"]
|
||||
gradient = SubResource("Gradient_5gq8t")
|
||||
width = 41
|
||||
height = 52
|
||||
fill_from = Vector2(0.491453, 1)
|
||||
fill_to = Vector2(0.49158248, 0)
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_p1py0"]
|
||||
viewport_path = NodePath("InfoScreen/InfoScreenContent")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_p1py0"]
|
||||
font = ExtResource("8_5gq8t")
|
||||
font_size = 15
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_js246"]
|
||||
colors = PackedColorArray(0.13725491, 0.39215687, 0.6666667, 1, 0.14509805, 0.75686276, 0.2784314, 1)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_tvcj6"]
|
||||
gradient = SubResource("Gradient_js246")
|
||||
width = 41
|
||||
height = 27
|
||||
fill_from = Vector2(0.491453, 1)
|
||||
fill_to = Vector2(0.49158248, 0)
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_js246"]
|
||||
viewport_path = NodePath("PriceScreen/PriceScreenContent")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_tvcj6"]
|
||||
font = ExtResource("8_5gq8t")
|
||||
font_size = 30
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_p1py0"]
|
||||
radius = 0.23339844
|
||||
height = 1.2451172
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vrdoi"]
|
||||
length = 0.001
|
||||
|
||||
[sub_resource type="Animation" id="Animation_sfrja"]
|
||||
resource_name = "hover"
|
||||
loop_mode = 1
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_40f8c"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_vrdoi"),
|
||||
&"hover": SubResource("Animation_sfrja")
|
||||
}
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_babpq"]
|
||||
radius = 0.23339844
|
||||
height = 0.5097656
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ia2hc"]
|
||||
radius = 0.23339844
|
||||
height = 0.8841553
|
||||
|
||||
[node name="VendingMachine3d" type="Node3D" unique_id=92614917]
|
||||
script = ExtResource("1_awnyh")
|
||||
price = SubResource("Resource_vrdoi")
|
||||
|
||||
[node name="Model" parent="." unique_id=1993368617 instance=ExtResource("1_28vvr")]
|
||||
|
||||
[node name="Line1" type="Node3D" parent="." unique_id=1631780989]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.30948043, 0.971, 0)
|
||||
|
||||
[node name="Line2" type="Node3D" parent="." unique_id=29729480]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.30941665, 0.74758303, 0)
|
||||
|
||||
[node name="Line3" type="Node3D" parent="." unique_id=532403895]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.30941665, 0.5122718, 0)
|
||||
|
||||
[node name="Line4" type="Node3D" parent="." unique_id=290175423]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.30941665, 0.26622266, 0)
|
||||
|
||||
[node name="FallingObjects" type="Node3D" parent="." unique_id=1744524061]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1595767490]
|
||||
environment = SubResource("Environment_28vvr")
|
||||
|
||||
[node name="TopScreen" type="Sprite3D" parent="." unique_id=1430672096]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.10305387, 1.3142496, -0.5496552)
|
||||
texture = SubResource("GradientTexture2D_1vufv")
|
||||
|
||||
[node name="TopScreenContentSprite" type="Sprite3D" parent="TopScreen" unique_id=21415415]
|
||||
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 0, 0, -0.026914358)
|
||||
pixel_size = 0.003
|
||||
texture = SubResource("ViewportTexture_5gq8t")
|
||||
|
||||
[node name="TopScreenContent" type="SubViewport" parent="TopScreen" unique_id=1108583219]
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
size = Vector2i(341, 115)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="TopScreen/TopScreenContent" unique_id=1069568148]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="TopScreenIcon" type="TextureRect" parent="TopScreen/TopScreenContent/VBoxContainer" unique_id=22441432]
|
||||
custom_minimum_size = Vector2(50, 50)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("5_f6clw")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="TopScreenLabel" type="Label" parent="TopScreen/TopScreenContent/VBoxContainer" unique_id=1868758207]
|
||||
layout_mode = 2
|
||||
text = "VENDING_MACHINE"
|
||||
label_settings = ExtResource("6_1vufv")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="InfoScreen" type="Sprite3D" parent="." unique_id=1684330093]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9165541, 0.7847517, -0.5685998)
|
||||
texture = SubResource("GradientTexture2D_p1py0")
|
||||
|
||||
[node name="InfoScreenContentSprite" type="Sprite3D" parent="InfoScreen" unique_id=1389338749]
|
||||
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 0, 0, -0.026914358)
|
||||
pixel_size = 0.003
|
||||
texture = SubResource("ViewportTexture_p1py0")
|
||||
|
||||
[node name="InfoScreenContent" type="SubViewport" parent="InfoScreen" unique_id=475736608]
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
size = Vector2i(122, 147)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="InfoScreen/InfoScreenContent" unique_id=885857578]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="InfoScreenIcon" type="TextureRect" parent="InfoScreen/InfoScreenContent/VBoxContainer" unique_id=350553652]
|
||||
custom_minimum_size = Vector2(50, 50)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("7_1vufv")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="InfoScreenLabel" type="Label" parent="InfoScreen/InfoScreenContent/VBoxContainer" unique_id=1569152531]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "CHOOSE_AN_ITEM"
|
||||
label_settings = SubResource("LabelSettings_p1py0")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="PriceScreen" type="Sprite3D" parent="." unique_id=204599448]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9165541, 0.27790964, -0.5685998)
|
||||
texture = SubResource("GradientTexture2D_tvcj6")
|
||||
|
||||
[node name="PriceScreenContentSprite" type="Sprite3D" parent="PriceScreen" unique_id=833489935]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 0, 0, -0.026914358)
|
||||
pixel_size = 0.003
|
||||
texture = SubResource("ViewportTexture_js246")
|
||||
|
||||
[node name="PriceScreenContent" type="SubViewport" parent="PriceScreen" unique_id=1939196004]
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
size = Vector2i(134, 96)
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="PriceScreen/PriceScreenContent" unique_id=1566763310]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="PriceScreenLabel" type="Label" parent="PriceScreen/PriceScreenContent/HBoxContainer" unique_id=718480172]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 1
|
||||
text = "3"
|
||||
label_settings = SubResource("LabelSettings_tvcj6")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="PriceScreenIcon" type="TextureRect" parent="PriceScreen/PriceScreenContent/HBoxContainer" unique_id=762921627]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(50, 50)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("9_p1py0")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Select1Interactable" type="Area3D" parent="." unique_id=957239971]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.08462322, 0.884176, -0.18582645)
|
||||
script = ExtResource("10_js246")
|
||||
interactable = false
|
||||
inspectable = true
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Select1Interactable" unique_id=794286242]
|
||||
transform = Transform3D(-4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0, 1, -0.0017700195, 0, -0.29349226)
|
||||
shape = SubResource("CapsuleShape3D_p1py0")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Select1Interactable" unique_id=668034332]
|
||||
libraries/ = SubResource("AnimationLibrary_40f8c")
|
||||
|
||||
[node name="Select2Interactable" type="Area3D" parent="." unique_id=1801318420]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.08462322, 0.381873, -0.18582645)
|
||||
script = ExtResource("10_js246")
|
||||
inspectable = true
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Select2Interactable" unique_id=923668306]
|
||||
transform = Transform3D(-4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0, 1, -0.0017700195, 0, -0.29349226)
|
||||
shape = SubResource("CapsuleShape3D_p1py0")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Select2Interactable" unique_id=1970787304]
|
||||
libraries/ = SubResource("AnimationLibrary_40f8c")
|
||||
|
||||
[node name="PayInteractable" type="Area3D" parent="." unique_id=1389533845]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.93483126, -0.122846335, -0.66631746)
|
||||
visible = false
|
||||
script = ExtResource("5_babpq")
|
||||
interactable = false
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="PayInteractable" unique_id=733209921]
|
||||
transform = Transform3D(-4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0, 1, -0.0017700195, 0, 0.09913331)
|
||||
shape = SubResource("CapsuleShape3D_babpq")
|
||||
|
||||
[node name="PayIcon" type="Sprite3D" parent="PayInteractable" unique_id=1480977661]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1.3891655, 0, 0, 0, 1.2388325, -0.6285498, 0, 0.6285498, 1.2388325, 0, 0, 0)
|
||||
pixel_size = 0.004
|
||||
texture = ExtResource("6_c54xj")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="PayInteractable" unique_id=1407995680]
|
||||
libraries/ = SubResource("AnimationLibrary_40f8c")
|
||||
|
||||
[node name="FetchInteractable" type="Area3D" parent="." unique_id=2063544686]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.13864326, -0.45181414, -0.66631746)
|
||||
visible = false
|
||||
script = ExtResource("5_babpq")
|
||||
interactable = false
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="FetchInteractable" unique_id=691431446]
|
||||
transform = Transform3D(-4.371139e-08, -1, 0, 1, -4.371139e-08, 0, 0, 0, 1, -0.0017700195, 0, 0.09913331)
|
||||
shape = SubResource("CapsuleShape3D_ia2hc")
|
||||
|
||||
[node name="FetchIcon" type="Sprite3D" parent="FetchInteractable" unique_id=2088783242]
|
||||
transform = Transform3D(1.1707262, 0, 0, 0, 1.0440322, -0.5297136, 0, 0.5297136, 1.0440322, 0, 0, 0)
|
||||
pixel_size = 0.004
|
||||
texture = ExtResource("6_c54xj")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="FetchInteractable" unique_id=1814331959]
|
||||
libraries/ = SubResource("AnimationLibrary_40f8c")
|
||||
|
||||
[node name="Light" type="OmniLight3D" parent="." unique_id=23464893]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.089285016, 0.9888365, -0.40412843)
|
||||
light_energy = 2.313
|
||||
shadow_enabled = true
|
||||
omni_range = 2.5571291
|
||||
|
||||
[node name="SoundEffect" type="AudioStreamPlayer3D" parent="." unique_id=496779284]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.19407654)
|
||||
stream = ExtResource("12_js246")
|
||||
volume_db = -25.143
|
||||
autoplay = true
|
||||
bus = &"Sfx"
|
||||
|
||||
[connection signal="clicked" from="Select1Interactable" to="." method="_on_select_1_interactable_clicked"]
|
||||
[connection signal="clicked" from="Select2Interactable" to="." method="_on_select_2_interactable_clicked"]
|
||||
[connection signal="clicked" from="PayInteractable" to="." method="_on_pay_interactable_clicked"]
|
||||
[connection signal="clicked" from="FetchInteractable" to="." method="_on_fetch_interactable_clicked"]
|
||||
Binary file not shown.
133
stages/3d_scenes/vending_machine_room/vending_machine_room.tscn
Normal file
133
stages/3d_scenes/vending_machine_room/vending_machine_room.tscn
Normal file
@@ -0,0 +1,133 @@
|
||||
[gd_scene format=3 uid="uid://gnqodi7hw7sl"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://miw8kvslhrao" path="res://stages/3d_scenes/vending_machine_room/scripts/vending_machine_room.gd" id="1_1x1k5"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="4_dv00w"]
|
||||
[ext_resource type="PackedScene" uid="uid://2qxf6qj8tnlk" path="res://stages/3d_scenes/vending_machine_room/assets/3d/vending_machine_room.blend" id="5_1x1k5"]
|
||||
[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://entities/interactable_3d/interactable_3d.gd" id="5_g3jtw"]
|
||||
[ext_resource type="Texture2D" uid="uid://dex283rx00fjb" path="res://common/icons/logout.svg" id="6_i4cp5"]
|
||||
[ext_resource type="PackedScene" uid="uid://blva21dapmm68" path="res://stages/3d_scenes/vending_machine_room/vending_machine_3d.tscn" id="6_rf1ya"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_1x1k5"]
|
||||
background_mode = 2
|
||||
sky_custom_fov = 61.7
|
||||
ambient_light_source = 3
|
||||
ambient_light_color = Color(1, 1, 1, 1)
|
||||
ambient_light_sky_contribution = 0.85
|
||||
ambient_light_energy = 2.0
|
||||
reflected_light_source = 2
|
||||
tonemap_mode = 2
|
||||
tonemap_exposure = 0.7
|
||||
tonemap_white = 1.84
|
||||
glow_enabled = true
|
||||
glow_intensity = 0.22
|
||||
glow_bloom = 0.22
|
||||
glow_hdr_threshold = 0.79
|
||||
glow_hdr_scale = 0.0
|
||||
glow_hdr_luminance_cap = 5.63
|
||||
fog_enabled = true
|
||||
fog_mode = 1
|
||||
fog_light_color = Color(0.13725491, 0.39215687, 0.6666667, 1)
|
||||
fog_density = 0.1831
|
||||
fog_aerial_perspective = 0.113
|
||||
fog_sky_affect = 0.0
|
||||
volumetric_fog_sky_affect = 0.0
|
||||
adjustment_enabled = true
|
||||
adjustment_saturation = 1.3
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pxmsf"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite3D:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0.99999994, 1, 0.99999994)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_u7lr8"]
|
||||
resource_name = "hover"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite3D:scale")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.46666667, 1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0.99999994, 1, 0.99999994), Vector3(1.2, 1.2, 1.2), Vector3(0.99999994, 1, 0.99999994)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_gq4rr"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_pxmsf"),
|
||||
&"hover": SubResource("Animation_u7lr8")
|
||||
}
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_0j6i6"]
|
||||
size = Vector3(2.2807465, 0.83758545, 2.7016602)
|
||||
|
||||
[node name="VendingMachineRoom" type="Node3D" unique_id=707746738]
|
||||
script = ExtResource("1_1x1k5")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1067763548]
|
||||
environment = SubResource("Environment_1x1k5")
|
||||
|
||||
[node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("4_dv00w")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 0, 4.944984, 1.2635367, 24.252193)
|
||||
speed = 5.0
|
||||
|
||||
[node name="vending_machine_room" parent="." unique_id=1777370304 instance=ExtResource("5_1x1k5")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.009907, 0, 24.24866)
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=1122387138]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.8885746, 1.075707, 25.081566)
|
||||
light_color = Color(1, 0.6509804, 0.09019608, 1)
|
||||
|
||||
[node name="Exit" type="Area3D" parent="." unique_id=446224653 node_paths=PackedStringArray("hover_animation_player")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, 0, 1, 3.680644, 1.1590724, 25.183067)
|
||||
script = ExtResource("5_g3jtw")
|
||||
hover_animation_player = NodePath("HoverAnimationPlayer")
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="Exit" unique_id=1963479858]
|
||||
transform = Transform3D(-4.3711385e-08, -1, -4.3711385e-08, 0, -4.371139e-08, 0.99999994, -0.99999994, 4.371139e-08, 1.9106853e-15, 0.1646713, -0.017980576, 0)
|
||||
pixel_size = 0.005
|
||||
texture = ExtResource("6_i4cp5")
|
||||
|
||||
[node name="HoverAnimationPlayer" type="AnimationPlayer" parent="Exit" unique_id=971962983]
|
||||
libraries/ = SubResource("AnimationLibrary_gq4rr")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Exit" unique_id=1996267072]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.14810944, -0.081207275, 0.35961914)
|
||||
shape = SubResource("BoxShape3D_0j6i6")
|
||||
|
||||
[node name="VendingMachines" type="Node3D" parent="." unique_id=151258495]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="VendingMachine3d" parent="VendingMachines" unique_id=92614917 instance=ExtResource("6_rf1ya")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.409475, 0.7967659, 26.737188)
|
||||
state = 4
|
||||
|
||||
[node name="VendingMachine3d4" parent="VendingMachines" unique_id=284398440 instance=ExtResource("6_rf1ya")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.409475, 0.7967659, 26.737188)
|
||||
state = 4
|
||||
|
||||
[node name="VendingMachine3d2" parent="VendingMachines" unique_id=854345189 instance=ExtResource("6_rf1ya")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.4200993, 0.7967659, 26.737188)
|
||||
state = 4
|
||||
|
||||
[node name="VendingMachine3d3" parent="VendingMachines" unique_id=589582853 instance=ExtResource("6_rf1ya")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.283085, 0.7967659, 26.737188)
|
||||
state = 4
|
||||
|
||||
[connection signal="clicked" from="Exit" to="." method="_on_exit_clicked"]
|
||||
@@ -0,0 +1,100 @@
|
||||
[gd_scene format=3 uid="uid://gnqodi7hw7sl"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://miw8kvslhrao" path="res://stages/3d_scenes/vending_machine_room/scripts/vending_machine_room.gd" id="1_1x1k5"]
|
||||
[ext_resource type="Shader" uid="uid://bv2rghn44mrrf" path="res://stages/title_screen/resources/shaders/stars.gdshader" id="2_fx15d"]
|
||||
[ext_resource type="Texture2D" uid="uid://cww35xu1yqivp" path="res://stages/3d_scenes/cockpit_scene/assets/textures/sky.png" id="3_tc1s4"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="4_dv00w"]
|
||||
[ext_resource type="PackedScene" uid="uid://2qxf6qj8tnlk" path="res://stages/3d_scenes/vending_machine_room/assets/3d/vending_machine_room.blend" id="5_1x1k5"]
|
||||
[ext_resource type="PackedScene" uid="uid://blva21dapmm68" path="res://stages/3d_scenes/vending_machine_room/vending_machine_3d.tscn" id="6_rf1ya"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_mwti2"]
|
||||
shader = ExtResource("2_fx15d")
|
||||
shader_parameter/sky_color = Color(0.03, 0.05, 0.11, 1)
|
||||
shader_parameter/star_base_color = Color(0.8, 1, 0.3, 1)
|
||||
shader_parameter/star_hue_offset = 0.6
|
||||
shader_parameter/star_intensity = 0.08
|
||||
shader_parameter/star_twinkle_speed = 0.8
|
||||
shader_parameter/star_twinkle_intensity = 0.2
|
||||
shader_parameter/layer_scale = 20.0
|
||||
shader_parameter/layer_scale_step = 10.0
|
||||
shader_parameter/layers_count = 3
|
||||
|
||||
[sub_resource type="Sky" id="Sky_kdvug"]
|
||||
sky_material = SubResource("ShaderMaterial_mwti2")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_1x1k5"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_kdvug")
|
||||
sky_custom_fov = 61.7
|
||||
ambient_light_source = 3
|
||||
ambient_light_color = Color(1, 1, 1, 1)
|
||||
ambient_light_sky_contribution = 0.85
|
||||
ambient_light_energy = 2.0
|
||||
reflected_light_source = 2
|
||||
tonemap_mode = 2
|
||||
tonemap_exposure = 0.7
|
||||
tonemap_white = 1.84
|
||||
glow_enabled = true
|
||||
glow_intensity = 0.22
|
||||
glow_bloom = 0.22
|
||||
glow_hdr_threshold = 0.79
|
||||
glow_hdr_scale = 0.0
|
||||
glow_hdr_luminance_cap = 5.63
|
||||
fog_enabled = true
|
||||
fog_mode = 1
|
||||
fog_light_color = Color(0.13725491, 0.39215687, 0.6666667, 1)
|
||||
fog_density = 0.1831
|
||||
fog_aerial_perspective = 0.113
|
||||
fog_sky_affect = 0.0
|
||||
volumetric_fog_sky_affect = 0.0
|
||||
adjustment_enabled = true
|
||||
adjustment_saturation = 1.3
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_ovhgo"]
|
||||
flip_faces = true
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jwd5g"]
|
||||
shading_mode = 0
|
||||
albedo_color = Color(0.5882353, 0.7019608, 0.85882354, 1)
|
||||
albedo_texture = ExtResource("3_tc1s4")
|
||||
|
||||
[node name="VendingMachineRoom" type="Node3D" unique_id=707746738]
|
||||
script = ExtResource("1_1x1k5")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1067763548]
|
||||
environment = SubResource("Environment_1x1k5")
|
||||
|
||||
[node name="DaySky" type="MeshInstance3D" parent="WorldEnvironment" unique_id=1108386443]
|
||||
transform = Transform3D(1000, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0)
|
||||
mesh = SubResource("SphereMesh_ovhgo")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_jwd5g")
|
||||
|
||||
[node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("4_dv00w")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 0, 4.944984, 1.2635367, 24.252193)
|
||||
speed = 5.0
|
||||
|
||||
[node name="vending_machine_room" parent="." unique_id=1088213414 instance=ExtResource("5_1x1k5")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.009907, 0, 24.24866)
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=1122387138]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.323474, 2.8448656, 25.081566)
|
||||
|
||||
[node name="VendingMachine3d" parent="." unique_id=92614917 instance=ExtResource("6_rf1ya")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.409475, 0.7967659, 26.737188)
|
||||
choose_state = 0
|
||||
|
||||
[node name="VendingMachine3d4" parent="." unique_id=284398440 instance=ExtResource("6_rf1ya")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.409475, 0.7967659, 26.737188)
|
||||
state = 4
|
||||
choose_state = 0
|
||||
|
||||
[node name="VendingMachine3d2" parent="." unique_id=854345189 instance=ExtResource("6_rf1ya")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.4200993, 0.7967659, 26.737188)
|
||||
state = 4
|
||||
choose_state = 0
|
||||
|
||||
[node name="VendingMachine3d3" parent="." unique_id=589582853 instance=ExtResource("6_rf1ya")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.283085, 0.7967659, 26.737188)
|
||||
state = 4
|
||||
choose_state = 0
|
||||
Reference in New Issue
Block a user