Add test level to menu
This commit is contained in:
parent
5e8725eefc
commit
1e100bee4d
16
menu.gd
16
menu.gd
@ -1,11 +1,12 @@
|
|||||||
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")
|
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