un-bullshitted some levels
This commit is contained in:
parent
472497019f
commit
273ede7e9d
9 changed files with 55 additions and 62 deletions
|
@ -22,6 +22,8 @@ var current_level = 0 #Current level being played
|
||||||
var current_file = 1 #Current save file
|
var current_file = 1 #Current save file
|
||||||
var shards_collected = [false,false,false,false,false,false,false,false,false,false]
|
var shards_collected = [false,false,false,false,false,false,false,false,false,false]
|
||||||
var is_marathon_mode = false
|
var is_marathon_mode = false
|
||||||
|
var is_easy_mode = false
|
||||||
|
var easy_mode_speed_factor = 0.75
|
||||||
var use_lives = false
|
var use_lives = false
|
||||||
var can_pause = true
|
var can_pause = true
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ scene = ExtResource( 3 )
|
||||||
resource_name = "Echo Mountain"
|
resource_name = "Echo Mountain"
|
||||||
script = ExtResource( 5 )
|
script = ExtResource( 5 )
|
||||||
title = "Echo Mountain"
|
title = "Echo Mountain"
|
||||||
shard_titles = [ "Fiend's Trick Jump", "Speed Snake!", "Twin Rolling Fiends", "Crafty Bat", "5 Rainbow Stars", "Collection Bonus", "Time Bonus", "Life Bonus" ]
|
shard_titles = [ "Push the Rock", "Twin Rolling Fiends", "Beware! Moving Platforms", "Crafty CatBat", "5 Rainbow Stars", "Collection Bonus", "Time Bonus", "Life Bonus" ]
|
||||||
save_id = "mountain"
|
save_id = "mountain"
|
||||||
scene = ExtResource( 6 )
|
scene = ExtResource( 6 )
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_scene load_steps=15 format=2]
|
[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://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_clouds.png" type="Texture" id=3]
|
||||||
[ext_resource path="res://graphics/backgrounds/mountain_sunset.png" type="Texture" id=4]
|
[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
|
@ -10,6 +10,7 @@ onready var high_score_100 = $HighScore100
|
||||||
onready var levelarrow_up = $LevelArrowUp
|
onready var levelarrow_up = $LevelArrowUp
|
||||||
onready var levelarrow_down = $LevelArrowDown
|
onready var levelarrow_down = $LevelArrowDown
|
||||||
onready var lives_mode_text = $LivesModeText
|
onready var lives_mode_text = $LivesModeText
|
||||||
|
onready var easy_mode_text = $EasyModeText
|
||||||
#Shards
|
#Shards
|
||||||
onready var shards = [
|
onready var shards = [
|
||||||
$ShardGraphics/Shard,
|
$ShardGraphics/Shard,
|
||||||
|
@ -58,6 +59,13 @@ func _physics_process(delta):
|
||||||
lives_mode_text.text = "lives are on press z to change this"
|
lives_mode_text.text = "lives are on press z to change this"
|
||||||
else:
|
else:
|
||||||
lives_mode_text.text = "lives are off press z to change this"
|
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):
|
func change_current_shard(amount):
|
||||||
if current_shard + amount != -1 && current_shard + amount != 8: #Check if in range
|
if current_shard + amount != -1 && current_shard + amount != 8: #Check if in range
|
||||||
|
|
|
@ -91,6 +91,13 @@ text = "Collect all coins
|
||||||
"
|
"
|
||||||
align = 1
|
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="."]
|
[node name="LivesModeText" type="Label" parent="."]
|
||||||
margin_left = 2.0
|
margin_left = 2.0
|
||||||
margin_top = 176.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
Loading…
Add table
Add a link
Reference in a new issue