DaveTheCoder It doesn't work
extends Node
var cheatCodes = {
"gm_up gm_up gm_down gm_down gm_up gm_up gm_up gm_up": "konami"
}
func _ready():
if Global.debug ==0:
if Input.is_action_just_pressed("gm_up") and Input.is_action_just_pressed("gm_up") and Input.is_action_just_pressed("gm_down") and Input.is_action_just_pressed("gm_down") and Input.is_action_just_pressed("gm_up") and Input.is_action_just_pressed("gm_up") and Input.is_action_just_pressed("gm_up") and Input.is_action_just_pressed("gm_up"):
Global.debug =1
$"../Node2D/AudioStreamPlayer2".play()