travis-boyd / CSC492-How2

1 stars 0 forks source link

Progression gating #51

Closed travis-boyd closed 10 months ago

travis-boyd commented 10 months ago

When the menu loads, the player's progression for each level is loaded from PlayerPrefs. Each level's key in PlayerPrefs is hardcoded.

For each level that has not been completed already, the appropriate levels will be made unavailable in the menu by changing the text to "LOCKED" and the color to grey.

For each level that a player has completed, a value will need to be saved in PlayerPrefs with the title form eg. progression_1_1 for level 1-1 (Movement-Easy), progression_2_3 for level 2-3 (Health-Hard) etc.