Et toujours du dev pour la béta
* Evolution de l'histoire avec de nouveaux dialogues, une plus grande durée de vie du jeu, des nouvelles zones d'histoire... * Suppression du mode infini * Ajout d'un écran des mutations découvertes * Ajout d'un nouveau mécanisme de respawn situé dans le vaissau * Ajout de 2 nouveaux modificateurs de région * Quatre nouveaux artefacts * Visuel de la décontamination de la planète 3D en cours de la partie * Ajout d'une annonce visuelle des scène du jeu * Fix sur la mutation Généreux pour être en accord avec sa description * Amélioration de l'effet de la mutation Purification * Fix de la mutation sociale aux niveau supérieurs * Ajout d'un effet visuel de réacteur sur le joueur 3D * Fix sur l'annonce de nouveaux objets qui se déclenchaient à une nouvelle run * Amélioration des animation et des informations données dans le vaisseau * Correction mineure des traductions
This commit is contained in:
@@ -22,7 +22,7 @@ func stop_audio():
|
||||
audio_player.stop()
|
||||
|
||||
func _on_mouse_entered():
|
||||
if hover_animation_player:
|
||||
if hover_animation_player and interactable:
|
||||
hover_animation_player.play("hover")
|
||||
if inspectable:
|
||||
Pointer.inspect(self)
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,73 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bihsgpfqaiqml"
|
||||
path="res://.godot/imported/orchid_saver.blend-2ed183e213d591791b3e5f1318afc991.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://entities/interactable_3d/orchid_saver/assets/3d/orchid_saver.blend"
|
||||
dest_files=["res://.godot/imported/orchid_saver.blend-2ed183e213d591791b3e5f1318afc991.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": {
|
||||
"Glass": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/glass_3d.tres",
|
||||
"use_external/path": "uid://b5vlcdry8vtgi"
|
||||
},
|
||||
"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.
96
entities/interactable_3d/orchid_saver/orchid_saver.tscn
Normal file
96
entities/interactable_3d/orchid_saver/orchid_saver.tscn
Normal file
@@ -0,0 +1,96 @@
|
||||
[gd_scene format=3 uid="uid://u3o5g8lmck74"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bihsgpfqaiqml" path="res://entities/interactable_3d/orchid_saver/assets/3d/orchid_saver.blend" id="1_g6sgk"]
|
||||
[ext_resource type="Script" uid="uid://1u4bxefehen8" path="res://entities/interactable_3d/orchid_saver/scripts/orchid_saver.gd" id="1_tiit5"]
|
||||
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="3_h5gyd"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_h5gyd"]
|
||||
size = Vector3(0.20593262, 0.79333496, 0.93652344)
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_tiit5"]
|
||||
height = 0.2626953
|
||||
radius = 0.24365234
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_cqerb"]
|
||||
viewport_path = NodePath("Screen/SubViewport")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_cqerb"]
|
||||
font = ExtResource("3_h5gyd")
|
||||
font_size = 30
|
||||
|
||||
[node name="OrchidSaver" type="Area3D" unique_id=381308711]
|
||||
script = ExtResource("1_tiit5")
|
||||
screen_text = "Hello"
|
||||
interactable = false
|
||||
|
||||
[node name="Model" parent="." unique_id=1027429202 instance=ExtResource("1_g6sgk")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.06540024, 0, 0.05925989)
|
||||
|
||||
[node name="Capsule" parent="Model" index="0" unique_id=1504808872]
|
||||
visible = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=397985169]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.72472906, 1.1686838, 0.095844865)
|
||||
shape = SubResource("BoxShape3D_h5gyd")
|
||||
|
||||
[node name="PlayerDetector" type="Area3D" parent="." unique_id=1159653958]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerDetector" unique_id=2007025806]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.17858887, 0)
|
||||
shape = SubResource("CylinderShape3D_tiit5")
|
||||
|
||||
[node name="Screen" type="Sprite3D" parent="." unique_id=947440245]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -0.66160196, 1.189235, 0.050924063)
|
||||
pixel_size = 0.0018
|
||||
texture = SubResource("ViewportTexture_cqerb")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="Screen" unique_id=241109082]
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
size = Vector2i(429, 276)
|
||||
|
||||
[node name="TurnedOffBackground" type="ColorRect" parent="Screen/SubViewport" unique_id=448339240]
|
||||
unique_name_in_owner = true
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.0627451, 0.05882353, 0.16862746, 1)
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Screen/SubViewport" unique_id=411688632]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 16
|
||||
|
||||
[node name="ScreenContent" type="VBoxContainer" parent="Screen/SubViewport/MarginContainer" unique_id=1667330208]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="ScreenIcon" type="TextureRect" parent="Screen/SubViewport/MarginContainer/ScreenContent" unique_id=87645401]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
expand_mode = 2
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="ScreenTitle" type="Label" parent="Screen/SubViewport/MarginContainer/ScreenContent" unique_id=2109180149]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Hello"
|
||||
label_settings = SubResource("LabelSettings_cqerb")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[editable path="Model"]
|
||||
@@ -0,0 +1,52 @@
|
||||
@tool
|
||||
extends Interactable3D
|
||||
class_name OrchidSaver
|
||||
|
||||
@export var screen_icon : Texture :
|
||||
set(v):
|
||||
screen_icon = v
|
||||
update_screen()
|
||||
@export var screen_text : String :
|
||||
set(v):
|
||||
screen_text = v
|
||||
update_screen()
|
||||
@export var screen_turned_on : bool = false :
|
||||
set(v):
|
||||
screen_turned_on = v
|
||||
update_screen()
|
||||
@onready var capsule_model : Node3D = %Model.find_child("Capsule")
|
||||
|
||||
var active = true
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
capsule_model.hide()
|
||||
interactable = false
|
||||
|
||||
%PlayerDetector.body_entered.connect(
|
||||
func (body : Node3D):
|
||||
if body is Player3D and active:
|
||||
interactable = true
|
||||
capsule_model.show()
|
||||
screen_turned_on = true
|
||||
AudioManager.play_sfx("HoloAppear")
|
||||
)
|
||||
%PlayerDetector.body_exited.connect(
|
||||
func (body : Node3D):
|
||||
if body is Player3D and active:
|
||||
interactable = false
|
||||
capsule_model.hide()
|
||||
screen_turned_on = false
|
||||
AudioManager.play_sfx("HoloDisappear")
|
||||
)
|
||||
update_screen()
|
||||
|
||||
|
||||
func update_screen():
|
||||
if is_node_ready():
|
||||
%TurnedOffBackground.visible = not screen_turned_on
|
||||
%ScreenContent.visible = screen_turned_on
|
||||
%ScreenIcon.texture = screen_icon
|
||||
%ScreenTitle.text = screen_text
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://1u4bxefehen8
|
||||
@@ -75,3 +75,4 @@ libraries/ = SubResource("AnimationLibrary_xa016")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.9604645e-08, 1.0397238, -0.47173643)
|
||||
light_color = Color(0.87551093, 0.72609586, 0.8473426, 1)
|
||||
shadow_enabled = true
|
||||
omni_range = 1.8928293
|
||||
|
||||
Reference in New Issue
Block a user