Summary
In this chapter, we added the ability to save the current configuration of the application to a file and load the same configuration back into the application. First, we evaluated the advantages and disadvantages of binary and textual save files and checked three common text file types to find a fitting format for our save files. Next, we explored the chosen YAML file format and implemented the save and load functionalities. Finally, we added a default file to load at application startup to help the user with the first steps of the application handling.
In the next chapter, will take care of custom cameras in the application. Currently, we use only the internal camera to fly around in the virtual world. By adding custom camera types, more visualization options for the virtual world are possible. We will add a third-person-style camera, following one of the instances similar to an action game, and a stationary camera that follows one instance. Additionally, a simple camera...