1
vote
1answer
179 views

How can I have human-readable key names in a configuration file?

Given a file mapping keys to controls, such as this: up w down s left a right d jump space run shift crouch ctrl The values need to be converted into game commands, ...
0
votes
1answer
38 views

What does this FVF value in the FVFData block of an .X file equate to?

I'm trying to read and ultimately write a mesh from/to file. This mesh has 2 sets of texture coordinates. The second set I know are held within the FVFData{} block of the .x file. The second set of ...
-1
votes
1answer
115 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
384 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 ...
6
votes
2answers
1k 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 ...
4
votes
3answers
4k 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
2k 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
2k 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
479 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 ...