added objective, added boss
This commit is contained in:
@@ -7,6 +7,8 @@ export var FRICTION: int = 1000
|
||||
const HEALTH_SLICES: Array = [0, 18, 35, 50, 65, 82, 100]
|
||||
var health_index: int = 6
|
||||
|
||||
var l5_gems: int = 0
|
||||
|
||||
var hud: CanvasLayer = null
|
||||
var velocity: Vector2 = Vector2.ZERO
|
||||
|
||||
@@ -40,6 +42,7 @@ func load_hud(node: CanvasLayer) -> void:
|
||||
return
|
||||
|
||||
func set_weapon_position(pos: Vector2) -> void:
|
||||
|
||||
if pos[0] < 0: # facing left
|
||||
$SwordAnimation.position.x = -8
|
||||
$SwordAnimation.position.y = -6
|
||||
|
Reference in New Issue
Block a user