Add hermione level to menu

This commit is contained in:
Vojtěch Struhár 2025-02-28 16:13:33 +01:00
parent 5012b5f73e
commit ded1600175

View File

@ -1,10 +1,11 @@
extends Control extends Control
const LEVEL_5_ROOMS: PackedScene = preload("res://levels/level_5rooms.tscn") const LEVEL_5_ROOMS: PackedScene = preload("res://levels/level_5rooms.tscn")
const LEVEL_3_ROOMS: PackedScene = preload("res://levels/level_3_rooms.tscn") const LEVEL_3_ROOMS: PackedScene = preload("res://levels/level_3_rooms.tscn")
const LEVEL_PLATFORMER: PackedScene = preload("res://levels/level_platformer.tscn") const LEVEL_PLATFORMER: PackedScene = preload("res://levels/level_platformer.tscn")
const LEVEL_SEMAPHORE_LIGHTS: PackedScene = preload("res://levels/level_semaphore_lights.tscn") const LEVEL_SEMAPHORE_LIGHTS: PackedScene = preload("res://levels/level_semaphore_lights.tscn")
const LEVEL_CUBE_PORTALS: PackedScene = preload("res://levels/level_cube_portals.tscn") const LEVEL_CUBE_PORTALS: PackedScene = preload("res://levels/level_cube_portals.tscn")
const LEVEL_HERMIONE: PackedScene = preload("res://levels/level_hermione.tscn")
@onready var items_container: VBoxContainer = $CenterContainer/ItemsContainer @onready var items_container: VBoxContainer = $CenterContainer/ItemsContainer
@ -13,7 +14,8 @@ var levels: Dictionary = {
"Semaphore - Lights Demo": LEVEL_SEMAPHORE_LIGHTS, "Semaphore - Lights Demo": LEVEL_SEMAPHORE_LIGHTS,
"5 rooms": LEVEL_5_ROOMS, "5 rooms": LEVEL_5_ROOMS,
"Platform": LEVEL_PLATFORMER, "Platform": LEVEL_PLATFORMER,
"Recurisve portals - WIP": LEVEL_CUBE_PORTALS "Recurisve portals - WIP": LEVEL_CUBE_PORTALS,
"Multiple Worlds": LEVEL_HERMIONE
} }
func _ready() -> void: func _ready() -> void: