Add test level to menu
This commit is contained in:
parent
5e8725eefc
commit
1e100bee4d
4
menu.gd
4
menu.gd
@ -6,6 +6,7 @@ const LEVEL_PLATFORMER: PackedScene = preload("res://levels/level_platform
|
|||||||
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")
|
const LEVEL_HERMIONE: PackedScene = preload("res://levels/level_hermione.tscn")
|
||||||
|
const LEVEL_TEST_PORTAL_DELAY: PackedScene = preload("res://levels/level_test_portal_delay.tscn")
|
||||||
|
|
||||||
@onready var items_container: VBoxContainer = $CenterContainer/ItemsContainer
|
@onready var items_container: VBoxContainer = $CenterContainer/ItemsContainer
|
||||||
|
|
||||||
@ -15,7 +16,8 @@ var levels: Dictionary = {
|
|||||||
"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
|
"Multiple Worlds - WIP": LEVEL_HERMIONE,
|
||||||
|
"No Portal Delay?": LEVEL_TEST_PORTAL_DELAY
|
||||||
}
|
}
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
Loading…
Reference in New Issue
Block a user