This repository has been archived by the owner on Aug 1, 2020. It is now read-only.
New export: areas #5
Labels
breaking
Merging this PR requires bumping the major version
feature
Corresponds to 'feat' commit type
help wanted
Assistance needed
After some discussion with clover, I realised that removing the game's notion of 'areas' is not a good idea - namely, enemy defeats, collected coins, etc are remembered until the player leaves their area. There is no cleaner way to support this than just using standard areas.
That means adding a new export type: areas, which encapsulates both maps, stages, battles, and possibly relevant resources such as textures or backgrounds. (On the latter two, they could also just be their own exports as one can override backgrounds/textures on a per-map basis...)
Applying the above rules, specifically the last two, the following structure:
Could end up producing a maptable like:
Special maps such as those loaded on First Play and Game Over can be set per-mod. The simplest implementation of this is probably by placing references to the configured maps into the specific indexes of the MapTable that said special maps occupy.
Discussion & feedback before implementation would be appreciated! Questions we need to answer:
<area name>.toml
or separately in multiple<battle name>.toml
files? The latter, if just placed in the<area name>
directory, is somewhat inconsistent with the way the rest of starpkg's file structure works!The text was updated successfully, but these errors were encountered: