New "database" system #133

Open
opened 2024-04-18 11:04:56 +02:00 by kazhnuz · 0 comments
Owner
  • Add constants pointers for many things instead of hardcoded text
  • Split in several "database file" some important datas
  • Split some elements in several lists
  • Maybe add a validator that can be called from a special checkdatabase.sh ? Basically check all the data files and create a file with all errors ?
  • Separate the maps and events files in their own folders outside of gamedata
  • Put back the assets in assets folders
  • Maybe preload the database ?

Exemple of splits :

  • Instead of the characters folders, split in several files with the datas, and using [CHAR_SONIC] = {}, or some stuff like that
  • For the move, split in a "moves.lua" file, a "moves_aniamtions.lua" file, a "moves_effects.lua" file, and files for choregraphies.
  • For the ennemies, use a species/ennemies split like in pokemon

Exemples :

- [ ] Add constants pointers for many things instead of hardcoded text - [ ] Split in several "database file" some important datas - [ ] Split some elements in several lists - [ ] Maybe add a validator that can be called from a special checkdatabase.sh ? Basically check all the data files and create a file with all errors ? - [ ] Separate the maps and events files in their own folders outside of gamedata - [x] Put back the assets in assets folders - [ ] Maybe preload the database ? Exemple of splits : - Instead of the characters folders, split in several files with the datas, and using `[CHAR_SONIC] = {},` or some stuff like that - For the move, split in a "moves.lua" file, a "moves_aniamtions.lua" file, a "moves_effects.lua" file, and files for choregraphies. - For the ennemies, use a species/ennemies split like in pokemon Exemples : - https://github.com/pret/pokeemerald/tree/master/src/data
kazhnuz added the
2. Deliverable
1. Clean-up
4. Internals
labels 2024-04-18 11:05:10 +02:00
kazhnuz added this to the Code Cleanup project 2024-04-18 11:05:16 +02:00
Sign in to join this conversation.
No description provided.