world titles
This commit is contained in:
parent
ea36720f7b
commit
a1fb454384
10 changed files with 109 additions and 60 deletions
|
@ -27,6 +27,7 @@ onready var animation_player: AnimationPlayer = $AnimationPlayer
|
|||
onready var boss_block: TextureRect = $"%BossBlock"
|
||||
onready var shards_block: HBoxContainer = $"%ShardsBlock"
|
||||
onready var shards_needed: Label = $"%ShardsNeeded"
|
||||
onready var world_title: Label = $"%WorldTitle"
|
||||
|
||||
func _ready() -> void:
|
||||
var palette = load("res://graphics/player/palettes/%s.tex" % Game.current_palette)
|
||||
|
@ -137,6 +138,14 @@ func _select_level(level_id: int) -> void:
|
|||
forward_arrow.modulate.a = 1.0
|
||||
# set text
|
||||
level_title.text = level.title
|
||||
#set world name
|
||||
print(selected_level)
|
||||
if selected_level < 2: world_title.text = "Garden of love:\nremnants of nature's beauty"
|
||||
if selected_level == 3: world_title.text = "Artificial life:\namalgam, stranger to the gods"
|
||||
if selected_level > 3 && selected_level < 7: world_title.text = "Harsh Reality:\nHappiness through Hardship"
|
||||
if selected_level == 7: world_title.text = "Dr.Intelli the Vengeful monster:\nfriend to no one, cold metal prison"
|
||||
if selected_level > 7 && selected_level < 11: world_title.text = "Artificial world:\nend man-made suffering"
|
||||
if selected_level == 11: world_title.text = "This is it SG...\nchange the future, we believe in you"
|
||||
# initiate animation
|
||||
_travel_to_level(level.save_id)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue