forked from team-sg/hero-mark-2
un-bullshitted some levels
This commit is contained in:
parent
472497019f
commit
273ede7e9d
9 changed files with 55 additions and 62 deletions
|
@ -10,6 +10,7 @@ onready var high_score_100 = $HighScore100
|
|||
onready var levelarrow_up = $LevelArrowUp
|
||||
onready var levelarrow_down = $LevelArrowDown
|
||||
onready var lives_mode_text = $LivesModeText
|
||||
onready var easy_mode_text = $EasyModeText
|
||||
#Shards
|
||||
onready var shards = [
|
||||
$ShardGraphics/Shard,
|
||||
|
@ -58,6 +59,13 @@ func _physics_process(delta):
|
|||
lives_mode_text.text = "lives are on press z to change this"
|
||||
else:
|
||||
lives_mode_text.text = "lives are off press z to change this"
|
||||
#Toggle easy mode
|
||||
if Input.is_action_just_pressed("sword"):
|
||||
Game.is_easy_mode = !Game.is_easy_mode
|
||||
if Game.is_easy_mode:
|
||||
easy_mode_text.text = "easy is on press c to change this"
|
||||
else:
|
||||
easy_mode_text.text = "easy is off press c to change this"
|
||||
|
||||
func change_current_shard(amount):
|
||||
if current_shard + amount != -1 && current_shard + amount != 8: #Check if in range
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue