This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Node2D | |
onready var player = get_node("player") | |
onready var camera = get_node("player/Camera2D") | |
onready var temp = get_node("temp") | |
onready var transition = get_node("CanvasLayer/game-ui/transition") | |
var pauseUnits = false | |
var currentLevel = "" | |
var initLoad = true | |
var isDev = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends KinematicBody2D | |
# regular vars | |
var state = STATE.DEFAULT | |
var velocity = Vector2(0, 0) | |
var direction = -1 | |
var health = 5 | |
var maxHealth = 5 | |
var spirit = 10 | |
var tongue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Node2D | |
var timeToShow = 5 | |
var originalPosition | |
var waveDelay = 0 | |
var isWavy = false | |
var wavyDirection = 1 | |
var isShakey = false |