31
votes
6answers
5k views

What is a good file format for saving game data? [closed]

I need to save some custom game data. Map, player, etc. All of them will have "sub objects". For example, a map and map will have an "array" of tiles. ie, hierarchical data. Hopefully nothing ...
31
votes
3answers
2k views

In which directory to write game save files/data?

I need a definite list of directories, one or more per platform, of where to put game save files and other game generated data. Either based on the OS developer specification, or because it is common ...
31
votes
5answers
5k views

Moving ships between two planets along a bezier, missing some equations for acceleration

OK, I already posted this over at math.stackechange.com but didn't get any answers :( First of here's a picture of my problem, the description follows afterwards: So I got all the points and ...
31
votes
2answers
6k views

What is deferred rendering?

I've heard about deferred rendering and how using it can allow for "lots" of lights in a scene without a huge performance hit, but what is it and (from a high level) how is it implemented?
31
votes
2answers
9k views

Entity/Component Systems in C++, How do I discover types and construct components?

I'm working on an entity component system in C++ that I hope to follow the style of Artemis (http://piemaster.net/2011/07/entity-component-artemis/) in that components are mostly data bags and it's ...
31
votes
1answer
1k views

How to deal with “level design creep?”

Level Design Creep is what I've started to call what happens when you build a series of levels and notice that every level is a little bit better looking or designed than the last, or when working ...
31
votes
5answers
1k views

How can I make space recognizable and easy to orient in?

I'm thinking about making a game set in space, that would feature very large, procedurally-generated game world (many stars, planets and what have you). However, I foresee a big problem: cosmic space ...
31
votes
6answers
9k views

Multi-threaded game (engine) design resources?

What are the best resources on multi-threaded game or game engine design and development? As this is obviously where computers are headed, I intend to study this topic and I'd like to know what ...
31
votes
3answers
1k views

How do you author HDR content?

How do you make it easy for your artists to author content for an HDR renderer? What kinds of tools should you provide, and what workflows need to change, in going from LDR to HDR? Note that I'm not ...
30
votes
15answers
6k views

What is a good starting platform for a teenage game programmer? [closed]

My son (15) has decided that he wants to pursue a career as a games programmer. I've said that he should get started now with a simple game. He has no programming experience yet, but I am a programmer ...
30
votes
3answers
9k views

Why don't game developers release their source code?

I was wondering why don't developers of AAA games release their source codes after their game has sold out and support is long gone? Of course there is this list, where you can find a lot of AAA ...
30
votes
6answers
4k views

Do complementary shadows make sense for games?

According to color theory, shadows work better if they don't use pure blacks or grays, but instead use a color that's complementary to the color of the object casting that shadow. That is, if you ...
30
votes
5answers
9k views

What are the pros and cons of incorporating Lua into a C++ game?

I have a C++ game programming book and it has a Lua section in it. I've started to read the Lua section, and it sounds interesting, but I can't determine the pros and cons of using Lua in my C++ game. ...
30
votes
3answers
8k views

Difference between orthogonal map and isometric map

I am laughing at myself ignorant on this. Google didn't produce an obvious answer. Could someone explain what orthogonal map and isometric map are, and how they are different?
30
votes
4answers
7k views

How does Flow Field pathfinding work?

Supreme Commander 2 has something called flow field path finding. How does it work? Is there some article available I can read up on how it works?
30
votes
7answers
2k views

Elegant way to simulate large amounts of entities within a game world

Assume you have a game in which there are many (many many) entities serving some functions, not all of which are constantly needed or need to be considered in every frame. The concrete problem I am ...
30
votes
9answers
2k views

Is it possible to calculate or mathematically prove if a game is balanced / fair?

This question is not focussed on video games but games in general. I went to a boardgame trade fair yesterday and asked myself if there is a way to calculate the fairness of a game. Sure, some of them ...
30
votes
4answers
4k views

How to design the attack class in an RPG game?

I am in the planning phase of a small RPG style game. The character will have have a set of attributes, like strength, agility, etc which are represented as integers. The character also will have a ...
30
votes
3answers
5k views

What is the purpose of the stencil buffer ? More precisely, what is a stencil in computer graphics?

I read the stencil word a lot, and I don't have a clue what is its real purpose in computer graphics. Seeing the picture in black and white on wikipedia, I'm still having problem with it. Why do we ...
30
votes
2answers
3k views

Will there be any more books in the Game Programming Gems series?

It's been more than three years now that the last Game Programming Gems book was published. The official website isn't updated anymore, and this page of Mark DeLoura's website seems to imply that the ...
30
votes
8answers
4k views

Procedural world generation oriented on gameplay features

In large procedural landscape games, the land seems dull, but that's probably because the real world is largely dull, with only limited places where the scenery is dramatic or tactical. Looking at ...
30
votes
1answer
6k views

Rendering SVG art directly in XNA

Suppose I have a bunch of 2D art in some vectorized format such as SVG. Is there an easy-ish way to render that directly without having to implement a full SVG renderer myself? Of course I could ...
29
votes
16answers
40k views

What are some famous games developed with .NET and/or XNA? [closed]

Are there famous games written in .Net and/or XNA?
29
votes
8answers
2k views

Profanity filter for an MMO chat

We are developing an MMO using Smartfox Server. The targeted audience is kids from 7 -12 years. There is a global chat option in this MMO. Whatever the user types in a textbox get displayed next to ...
29
votes
12answers
2k views

Alternates to scratch damage to solve combat deadlocking

Scratch damage is a game mechanic whereby any successful attack always does some minimal amount of damage. This is often used in subtractive combat systems, where the defense is subtracted directly ...
29
votes
6answers
2k views

Do I need to ask Microsoft for permission to use their products logo?

I am currently making a trailer of my game for my college project, I would like to note that my game is cross platform. Do I need to ask for permission to use those images in such situation? - When ...
29
votes
7answers
1k views

Which purpose do armor points serve?

I have seen a mechanic which I call "armor points" in many games: Quake, Counter Strike, etc. Generally, while the player has these armor points, he takes less damage. However, they act in a similar ...
29
votes
9answers
26k views

What is the fastest way to work out 2D bounding box intersection?

Assume that each Box object has the properties x, y, width, height and have their origin at their center, and that neither the objects nor the bounding boxes rotate.
29
votes
9answers
12k views

How do you prevent your JavaScript / HTML5 web game from being copied or altered?

I'm in the middle of planning a game built using JavaScript and HTML5. I'm having trouble understanding how you could prevent someone from simply copying the JavaScript from the web server and ...
29
votes
9answers
21k views

Is ruby a suitable language for game development? [closed]

I want to move into some game development, but the only language I know really well is Ruby. Most of what I have read seems to point towards lower level languages like C++ for game development, or ...
29
votes
8answers
9k views

Are there any open source projects for car engine sound simulation? [closed]

I have been thinking how to create realistic sound for a car. The main sound is the engine, then all kind of wind, road and suspension sounds. Are there any open source projects for the engine sound ...
29
votes
5answers
6k views

Realistic Camera/Screen Shake from Explosion

I'd like to shake the camera around a bit during an explosion, and I've tried a few different functions for rocking it around, and nothing seems to really give that 'wow, what a bang!' type feeling ...
29
votes
8answers
2k views

Establish a person's genuine interest in game programming

I teach on a 3rd level, 4 year games programming degree (B.Sc. in Computer Games Development). We find that new and prospective students often conflate interests and abilities in game-playing, ...
29
votes
6answers
6k views

How can I make a good-looking explosion particle effect?

I'm not much of an artist, but I'm trying to make decent particle effects in a 2.5D game. I'm making a replica of Wii Play's "Tanks" and I can't quite get the explosions to look good. I'm not going ...
29
votes
2answers
1k views

What exactly does an installer do and why might I need one?

this is probably the noob-question of the day: So I've written this game. Now there's the .exe file that does the work, a folder with my beautiful, beautiful assets and a bunch of .dll files and ...
29
votes
4answers
15k views

Workaround to losing the OpenGL context when Android pauses?

The Android documentation says: There are situations where the EGL rendering context will be lost. This typically happens when device wakes up after going to sleep. When the EGL context is ...
29
votes
4answers
2k views

What are some common ways to generate revenue from a free game?

When creating a free game what revenue options are there and how successful are they? What are the pros and cons of different revenue models such as ad-supported, freemium, partnerships, ...
28
votes
7answers
1k views

What are some non-obvious topics to learn for game development? [closed]

I've been writing games for around 10 years now (from QBasic to C# and everything in-between). I need to start stretching my skills into different areas. What are other, surprising topics I should ...
28
votes
5answers
1k views

24-Bit Colordepth not enough?

I noticed that in very soft gradients, the 24-Bit colordepth is not enough as you can see the transitions of the color. This pops out the most in dark scenes or night skies. Why doesn't anybody ...
28
votes
14answers
3k views

Why is there a lack of games for Linux? [closed]

What is wrong with the Linux/*nix family for games? What makes the development of games for this platform too slow compared to Windows or even OS X?
28
votes
9answers
3k views

Should I continue studying OpenGL or just switch to DirectX to give me a better chance of landing a job in the game industry? [closed]

I've been learning graphics programming for some time now using OpenGL and Linux. I'm pretty familiar with most of the concepts, but I would really like to further my knowledge and eventually pursue a ...
28
votes
11answers
1k views

How to encourage players to level up multiple characters? [closed]

In my game, it is possible to make multiple characters. You can make as many as you desire. What I usually do (and almost all players do) is just make a single character and level it up a LOT, and ...
28
votes
6answers
3k views

How can I design good continuous (seamless) tiles?

I have trouble designing tiles so that when assembled, they don't look like tiles, but look like a homogeneous thing. For example, see the image below: Even though the main part of the grass is ...
28
votes
6answers
1k views

Does inflating scores make players happier? [closed]

I realize that this will depend on a game-to-game, situation-to-situation basis and that this is not a very technical question, but I remember hearing in a tech podcast a few years ago that inflated ...
28
votes
4answers
2k views

What has stopped MMORTS games from being successful?

We all know that there have been attempts to create commercially successful MMORTS games, but all have failed. By failed, I mean that they didn't get really popular in the gaming community. Why is ...
28
votes
7answers
10k views

How does pathfinding in RTS games work?

[crossposted from stackoverflow] In a game such as Warcraft 3 or Age of Empires, the ways that an AI opponent can move about the map seem almost limitless. The maps are huge and the position of other ...
28
votes
3answers
3k views

Several classes need to access the same data, where should the data be declared?

I have a basic 2D tower defense game in C++. Each map is a separate class which inherits from GameState. The map delegates the logic and drawing code to each object in the game and sets data such as ...
28
votes
10answers
4k views

Alternative to Game State System?

As far as I can tell, most games have some sort of "game state system" which switches between the different game states; these might be things like "Intro", "MainMenu", "CharacterSelect", "Loading", ...
28
votes
6answers
2k views

Hexagon collision detection for fast moving objects?

A object has a position and a speed vector. Usually only the position is used to check if two objects collide, this is problematic for very fast moving objects as it can happen that the object moves ...
28
votes
5answers
9k views

How can I achieve a good fire effect with alpha blending and particles?

Using the following setting for the OpenGL particle effect: SRC: GL_SRC_ALPHA DST: GL_ONE Creates an additive blend, which looks spectacular on a black background but terrible on brighter colours, ...

15 30 50 per page