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 ...
1
vote
1answer
179 views
Dealing with binary data and endianness
When distributing my game, I am going to compile all the resources and level data into a single binary package file, which is loaded from by the game. Do I have to worry about my machine being a ...
5
votes
2answers
626 views
Custom extensible file format for 2d tiled maps
I have implemented much of my game logic right now, but still create my maps with nasty for-loops on-the-fly to be able to work with something. Now I wanted to move on and to do some research on how ...
3
votes
3answers
2k views
How can I create a pack file / archive for game data files, and then load them? (zlib?)
I'm starting to think about how I'm going to go about loading models, images, sounds, etc for my game. I have two competing lines of thought to deal with:
If possible, it would be nice to make use ...
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 ...
0
votes
2answers
1k views
C++ SDL, Opengl 3D Game
I have been learning C++ for long time (but only learning game development for eight days) and I have made a simple game using 2D textures.
I was thinking of starting on 3D game development. I wanted ...
2
votes
1answer
396 views
Animation file format
I'm trying to make a simple 2D animation file format. It'll be very rudimentary: only an XML file containing some parameters (such as frame duration) and metadata, and some images, each representing a ...