Closed cooperuser closed 8 years ago
I assume "only show the name if applicable" also applies?
Yes
Ok cool, no more Debug
Well, the level 0
debug
is the name of the level the user gets sent to if something goes wrong
Well, the level is called Debug
, but what I meant is it doesn't say Debug
anymore if the level doesn't have a name
Correct
wait a minute, what? Why is there a "number" attribute? I assume that's temporary
Also, if the bottom left thing doesn't display a number the alignment looks off, so I would try to fix that
The number
attribute is for the default levels.... or should default-level
be a flag where it checks the file name?
But the default levels are saved according to their number (e.g. level15.json
)
But what if a user names a level level24.json
or something
Then it will display the number 24
...
I think there should be a default-level
flag, then it would integrate with the progress system more
Well, with the current way we are storing the levels the level number is in the file name. But I actually think we should change that so that the file name is the same as the name of the level (for example, Four Corners.json
) and create a file called order.json
or sequence.json
or something like that that looks like what I typed out below (it is ordered by page). If you're not sure why I made it like this, see the bottom part of issue #58.
{
"levels": [
[
"First Steps",
"Not So Easy",
"Doubling Up",
"Saucer",
"Globular",
"Symbiosis",
"The Climb",
"Which One?",
"Correspondence",
"Underground Heist",
"Spire",
"Surprisingly Simple",
"Mushroom",
"Easy Way Out",
"Two-Block Shuffle",
"Crown"
],
[
"Triumvirate",
"Satellite",
"Four Corners",
"Jailbreak"
],
[
"Hyrule Field I",
"Hyrule Field II",
"Hyrule Field III",
"Snowpeak Ruins"
]
]
}
Eventually, we will change this so that the file names are UUIDs (see #58), and the level name will once again be an attribute in the info
section of the JSON.
Make it show the level number and name in play mode. Only show the number if applicable (only when playing default levels).