Doodad: Secret Exit Flag for Bonus Levels #66
	
		Labels
		
	
	
	
	No labels
	
		
			
	
	bug
		
			doodad
		
			enhancement
		
			levels & doodads
		
			security
		
			ui toolkit
		
			wontfix
		
		
	
		No milestone
		
			
		
	
	No project
	
		
	
	
	
	
		No assignees
		
	
	
		
			
		
	
	
	
		1 participant
	
	
		
		
	Notifications
	
		
	
	
	
		
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
		Reference: SketchyMaze/doodle#66
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This would be an Exit Flag alternative that unlocks a secret level in the Level Pack.
Appearance: similar but distinct to the Exit Flag, maybe make it gold and sparkly.
Behavior: on one-off levels it acts the same as the Exit Flag, solving the level. In level packs it could unlock a secret bonus level.
Bonus levels: the levelpack index.json could have some storage to define which levels in the pack are bonus levels. Ideas:
The savegame JSON can mark whether a given level had been completed once by means of the Secret Exit. For each new Secret Exit found, an additional Bonus Level is unlocked. Replaying the level and reaching the Secret Exit again does not unlock a new bonus level but the player would replay the one that it did unlock.
The "Story Mode" UI screen would serialize Bonus Levels in-line with the level that first unlocked it, e.g. if the levelpack had 5 normal levels and 3 bonus levels the Story Mode initially shows only the 5 levels by default. If the 2nd level had a secret exit, it unlocks the 1st of the Bonus Levels, and the Story Mode would show the bonus level between the 2nd and 3rd level (marked specially on the front-end). Story Mode would remember where to insert bonus levels based on your savegame data: Level 2 would be marked as "secret exit used" and the UI would pull the next bonus level to insert directly after.