partially reimplemented cheats
This commit is contained in:
parent
bfa052968b
commit
9f7668107b
4 changed files with 16 additions and 1181 deletions
|
@ -65,6 +65,7 @@ func _ready() -> void:
|
|||
state_chart.initialize()
|
||||
state_chart.set_guard_property("can_respawn", true)
|
||||
state_chart.set_guard_property("use_iframes", use_iframes)
|
||||
state_chart.set_guard_property("red_feather", false)
|
||||
# state chart debug
|
||||
$StateDebugLayer/StateChartDebug.target = state_chart
|
||||
|
||||
|
@ -89,6 +90,12 @@ func _physics_process(delta: float) -> void:
|
|||
# check if in contact with ladder
|
||||
if ladder_detector.is_colliding():
|
||||
state_chart.send_event("ladder_touched")
|
||||
|
||||
#Cheats
|
||||
#CFox mode
|
||||
if Debug.cfox_mode == true:
|
||||
animation_player.play("idle")
|
||||
animation_player.set_speed_scale(0)
|
||||
|
||||
|
||||
# HELPER FUNCTIONS #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue