Dev Demo 2
* Ajout des achievement Steam * Ajout d'une annonce à la récupération d'un artefact et ajout de textes axplicatifs sur les annonces d'artefacts et de mutation * Fix du léger glitch des tooltips * Ajout de clarté sur la machine de respawn dans le vaisseau
This commit is contained in:
@@ -15,14 +15,14 @@ const LIFT_TIME := 2
|
||||
var chosen_incubator_id := -1
|
||||
|
||||
# Cheat Code
|
||||
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_just_pressed("action")
|
||||
):
|
||||
finish_scene()
|
||||
# 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_just_pressed("action")
|
||||
# ):
|
||||
# finish_scene()
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
|
||||
@@ -9,6 +9,5 @@ func _ready():
|
||||
func _on_ai_receptacle_clicked():
|
||||
%Player3D.controlling_player = false
|
||||
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
||||
%Credits.appear()
|
||||
|
||||
|
||||
SteamConnection.unlock_achievement(SteamConnection.ACH_MEET_DEMETER)
|
||||
%Credits.appear()
|
||||
@@ -15,7 +15,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://ci4x1q326lvyy" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/mutation_discovered_screen/mutation_discovery_screen.tscn" id="15_q4ojn"]
|
||||
[ext_resource type="PackedScene" uid="uid://cn2hob1i72a25" path="res://stages/3d_scenes/cockpit_scene/fail_tutorial.tscn" id="15_wrlf0"]
|
||||
[ext_resource type="PackedScene" uid="uid://u3o5g8lmck74" path="res://entities/interactable_3d/orchid_saver/orchid_saver.tscn" id="16_nfjul"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3k7rl7nbp7yx" path="res://common/icons/device-floppy.svg" id="17_ggekp"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwq22io1cc27y" path="res://common/icons/restore.svg" id="17_ggekp"]
|
||||
[ext_resource type="PackedScene" uid="uid://blvetnnib2ks0" path="res://stages/3d_scenes/cockpit_scene/assets/3d/cockpit2.blend" id="17_omtjc"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pxmsf"]
|
||||
@@ -230,7 +230,7 @@ autoplay = &"trailer"
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.024999544, -1.3700237, -3.9526832)
|
||||
screen_icon = ExtResource("17_ggekp")
|
||||
screen_text = "SAVE_ORCHID_MEMORY_AND_RESPAWN"
|
||||
screen_text = "RESPAWN_TO_LAST_BASE"
|
||||
|
||||
[connection signal="clicked" from="Phone" to="." method="_on_phone_clicked"]
|
||||
[connection signal="clicked" from="OrchidSaver" to="." method="_on_orchid_saver_clicked"]
|
||||
|
||||
@@ -5,15 +5,15 @@ const DIALOG_PATH = "res://dialogs/timelines/1_waking_up/3_demeter_ship_presenta
|
||||
var jingle_played := false
|
||||
|
||||
# Cheat Code
|
||||
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_just_pressed("action")
|
||||
):
|
||||
GameInfo.game_data.dialogs_done.append(DIALOG_PATH)
|
||||
finish_scene()
|
||||
# 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_just_pressed("action")
|
||||
# ):
|
||||
# GameInfo.game_data.dialogs_done.append(DIALOG_PATH)
|
||||
# finish_scene()
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
|
||||
@@ -204,6 +204,10 @@ func _on_fetch_interactable_clicked():
|
||||
|
||||
used.emit()
|
||||
|
||||
get_tree().create_timer(1.).timeout.connect(
|
||||
func (): %ArtefactAnnounce.announce_artefact = get_choosen_artefact()
|
||||
);
|
||||
|
||||
get_tree().create_timer(3.).timeout.connect(
|
||||
func ():
|
||||
state = State.OFF
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
[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"]
|
||||
[ext_resource type="PackedScene" uid="uid://bhbc1monbgumh" path="res://entities/interactable_3d/cristal/artefact_announce.tscn" id="13_tvcj6"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_vrdoi"]
|
||||
script = ExtResource("4_tvcj6")
|
||||
@@ -325,6 +326,11 @@ volume_db = -25.143
|
||||
autoplay = true
|
||||
bus = &"Sfx"
|
||||
|
||||
[node name="ArtefactAnnounce" parent="." unique_id=1447182082 instance=ExtResource("13_tvcj6")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
announce_artefact = null
|
||||
|
||||
[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"]
|
||||
|
||||
Reference in New Issue
Block a user