Open EliteMasterEric opened 2 years ago
@prokube I'm interested in your thoughts on this and where improvements might be made.
This is super cool and would love to see implemented. Obviously we would have to deprecate but still support the more standard FNF chart format (because :sparkles: portability :sparkles: ), but this is really neat and would make a lot of things easier.
Maybe we should separate events into a separate "chart" and load them like that. Sort of like what Psych Engine has, but with unique event charts for each difficulty.
Oh and also give Normal difficulty a suffix while we're at it because like wtf?? This lets us make a Fallback difficulty kinda.
This means if we save, say, tutorial.json
to the tutorial
folder, that will become the FALLBACK chart if you try to load it in a difficulty it doesn't have. We can do this with the events too if we carry out Although: Section 1. I will probably make these separate issues, though.
Background
The restrictions of the current chart data format are beginning to become evident. For one, setting
mustHit
swaps note indexes between CPU and player, which is a MASSIVE pain to deal with in logic. Additionally, there is not place for a lot of the new attributes I want to add.Proposal
This is the proposed "new" chart format. Newly created charts in Enigma will save to this format. Old style charts should still be functional in engine.
Additional Notes
{ "strumTime": 9600, "strumline": 0, "character": 1 },
would have been many unnecessary characters, so I used a minimized format which uses single letters to represent values and documentation for what the mapping is.