kmfarley11 / PokeYellow_Cpp

An attempt to recreate Pokemon Yellow Version (from the ground up) via CPP, OpenGL, and SDL(2)
9 stars 0 forks source link

PT-004: Plan and Construct a Database System #4

Open kmfarley11 opened 8 years ago

kmfarley11 commented 8 years ago

This step is optional for the Pallet Town 0.5 milestone; however, it would take a huge load off of future development if this is done right.

The idea is to create a system which allows for easy modification of simple, and organized objects or files in order to parse very specific events. An example would be in utilizing an xml file to keep track of all of the different npcs in the game, each with unique conversations, some with similar interactions, and a lot with pokemon etc. If a parser was effectively created to index into this stored data based on event info, then loading an opponent's data could potentially be quite trivial.

This functionality could potentially, and hopefully, spread into the general room, pokemon, save file, and item objects.

Some ideas for this are:

It seems like xml might be the best option at the moment: this issue will require a good deal of research. As this is an optional issue, any amount of work going into this would be welcome so long as it is presented in an organized and thoughtful fashion. A reasonable goal would be to set up a simple prototype for data storage and implement it for the static npcs in Pallet Town.

kmfarley11 commented 8 years ago

Not sure how necessary an actual database is. xml (tmx) parsing seems necessary, but a database arrangement shouldnt be implemented until further thought and planning is put in to the long-term goals.