Tagged Questions
-1
votes
1answer
95 views
Optimization of Storage of Spells a Character Knows
I need to store which spells a character knows. While the game is executing I have them stored in a vector. Obviously storing this many values is either going to take a lot of computing to get the ...
2
votes
1answer
123 views
Loading files while running game
I am curious as to what technique(s) are used to load files in while a game is running. For example, Minecraft will load chunks as you get within a certain range of them. How is this achieved without ...
7
votes
1answer
1k views
How to create a game save file format in c++ using STL
Hey so i just learned about the i/o part of the STL, more specifically fstream. Although I can now save binary info and classes i've made to the hard drive, i am not sure how to define how the info ...
4
votes
2answers
961 views
Writing a custom model file format
I am using Ogre for my rendering engine, and I planned on just using the .mesh format that is setup by default with Ogre. However, I recently purchased a large number of 3d assets from a company, only ...
7
votes
2answers
582 views
Splitting into files - how much splitting?
If I say I have a hierarchal entity framework, rather than a component model. Something like:
(Yes, this is made up)
Weapon->Gun->AutomaticGun->MP44
Or, more of a classical example:
...