Hello,
I have some experience with programming in python but not in C++.
I have just encountered the idea of the Component Entity Systems model of design
I was wondering If I could get a little advice on how to start my project and to design it.
I am going to be building an RPG with Network capability (Raknet) using the Leadwerks Game engine using C++.
(I realize I have a lot of ground to cover but I'm not in a hurry and just love the exploration of the languages just as much as the building of the project as it is a long term hobby and nothing more. )
The articles I have consumed so far are here and here.
I am still a little fuzzy on how I should start to assemble my project.
I decided to implement a character generator first to work out the bugs in my programming and to increase my overall knowledge base so that I understand the use of C++, implementing GUI elements (Qt most likely) and basic networking. (client server architecture using the UDP protocols)
My questions are;
- What is the best practice in C++ for storing the players character data. Do you serialize with json or another method? Does one store it in a binary or .txt file in the program directory?
- Do I use a database connection to store the players character information?
- What is the best data structure type to use for this application since the "players" will be mixed data types. (Vector array? List? Struct?)
- Should the character information be stored on Client side or Server side?
I am very open to suggestions about other resources to consume for my general edification.
Thank you for the help!