-
Notifications
You must be signed in to change notification settings - Fork 4
scene level_select_screen
Rob Nugen edited this page Mar 25, 2022
·
6 revisions
Each level select button is implemented with
res://LevelSelect/LevelSelectButton.gd
Two images are used for each number. The version below, used until 3 February 2022 used the same 12 numbers for all different worlds. They looked bad so D redid the numbers, 12 per animal.
func set_level(level):
# we do not need to remember the level because
# LevelSelectScene links the button press to the respective level select
var path_to_num = String("res://images/levelselect/numbers/" + String(level).pad_zeros(2) + ".png")
$level_number.set_texture(load(path_to_num))
In the bottom right, the back button should be larger.. same as used on the game won screen.