un-bullshitted some levels

This commit is contained in:
pennyrigate 2023-04-20 04:03:07 -04:00
parent 472497019f
commit 273ede7e9d
9 changed files with 55 additions and 62 deletions

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=15 format=2]
[ext_resource path="res://objects/enemy/boss/boss1.tscn" type="PackedScene" id=1]
[ext_resource path="res://objects/enemy/boss/scrump.tscn" type="PackedScene" id=1]
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=2]
[ext_resource path="res://graphics/backgrounds/mountain_clouds.png" type="Texture" id=3]
[ext_resource path="res://graphics/backgrounds/mountain_sunset.png" type="Texture" id=4]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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

View file

@ -91,6 +91,13 @@ text = "Collect all coins
"
align = 1
[node name="EasyModeText" type="Label" parent="."]
margin_right = 256.0
margin_bottom = 14.0
theme = ExtResource( 1 )
text = "easy is off press c to change this"
align = 1
[node name="LivesModeText" type="Label" parent="."]
margin_left = 2.0
margin_top = 176.0

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long