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:
@@ -46,25 +46,26 @@ var data_last_updated = 0.
|
||||
@onready var camera : RegionCamera = %Camera
|
||||
|
||||
# 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")
|
||||
):
|
||||
data.succeded.emit()
|
||||
data.state = RegionData.State.SUCCEEDED
|
||||
# data.update()
|
||||
# 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")
|
||||
# ):
|
||||
# if data.state != RegionData.State.SUCCEEDED:
|
||||
# data.succeded.emit()
|
||||
# data.state = RegionData.State.SUCCEEDED
|
||||
# # data.update()
|
||||
|
||||
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("move_pointer")
|
||||
):
|
||||
data.charges = 0
|
||||
data.state = RegionData.State.FAILED
|
||||
# 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("move_pointer")
|
||||
# ):
|
||||
# data.charges = 0
|
||||
# data.state = RegionData.State.FAILED
|
||||
|
||||
func _init():
|
||||
data = GameInfo.game_data.current_region_data
|
||||
|
||||
Reference in New Issue
Block a user