issues
search
VinayGupta23
/
alter-ego-game
A puzzle-platformer game with clones! Developed as part of CSCI526: Mobile Games at USC.
https://vinaygupta23.itch.io/alter-ego
0
stars
1
forks
source link
Level Manager Enhancements
#37
Closed
vinayg-usc
closed
2 years ago
vinayg-usc
commented
2 years ago
[x] Add separate API for "Go to main menu" and "Go to level select"
[x] All existing APIs such as
NextLevel
,
JumpToLevel
and
GetLevels
should only be related to actual levels
[x] Exception: Calling
NextLevel
on last level should go to main menu
[x] Provide a public property/function for
GetInstance
, it is much easier than writing a long line of code with tag checking
Purpose of changes:
Ability to query list of levels for auto-populating UI in a natural way
Ability to easily track when a level is quit rather than finished, which would be useful for analytics
Ability to easily
track the highest level reached
, if in future we want to enforce playing in order to "unlock the next"
NextLevel
,JumpToLevel
andGetLevels
should only be related to actual levelsNextLevel
on last level should go to main menuGetInstance
, it is much easier than writing a long line of code with tag checkingPurpose of changes: