32
votes
3answers
3k views

A ball hits the corner, where will it deflect?

I need to brush up my trigonometry and hope you can help here with a simple mathematical model. Here is my model so far in the image attached. I am aware that the frame animation has other problems ...
32
votes
9answers
3k 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 ...
32
votes
1answer
4k views

Mouse aim in an FPS

I would like to make a First Person Shooter and move the camera with the mouse. The problem is that when the cursor reaches the limits of the screen, the camera won't turn anymore. How can I keep the ...
32
votes
6answers
10k 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 ...
32
votes
3answers
9k views

How do audio based games such as Audiosurf and Beat Hazard work?

Note: I am not asking how to make a clone of one of these. I am asking about how they work. I'm sure everyone's seen the games where you use your own music files (or provided ones) and the games ...
31
votes
7answers
8k views

Why do games ask for screen resolution instead of automatically fitting the window size?

It seems to me that it would be more logical, reusable and user-friendly to implement flexible, responsive UI layout over a 3d or 2d screen, which can then be run on any screen resolution. Some ...
31
votes
9answers
2k views

Starting from Scratch - Is it a Mistake if I re-invent the wheel?

Usually whenever I want to start a game, I will think to have a good basic architecture for rendering and better game loop from scratch. I usually don't want to use existing engines. The reason behind ...
31
votes
6answers
5k views

Can I (safely) assume that people playing my game have a middle mouse button?

The title pretty much says it all. I am currently writing a desktop game, which will probably not be played by the casual gamer. Thus my expectation is that nearly every user will most likely ...
31
votes
6answers
5k 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 ...
31
votes
4answers
3k views

How do graphics evolve so much on the same console hardware?

Is it only a matter of code optimization? Do game developers plan to start small on a new hardware, to have space to evolve while creating a series of that game? Are computer graphics breakthroughs ...
31
votes
8answers
32k 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.
31
votes
4answers
1k views

Creating an illusion of stress and danger

I'm currently experimenting with an adventure game setting where at some point the game is quite calm and the player has to solve puzzles and at some point there are enemies or environmental traps. I ...
31
votes
2answers
2k views

In a browser, is it best to use one huge spritesheet or many (10000) different PNG's?

I'm creating a game in jQuery, where I use about 10000 32x32 tiles. Until now, I have been using them all separately (no sprite sheet). An average map uses about 2000 tiles (sometimes re-used PNG's ...
31
votes
6answers
6k 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
5answers
7k 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 ...
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
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
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 ...
31
votes
2answers
10k 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
3answers
6k 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 ...
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
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 ...
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
16answers
42k views

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

Are there famous games written in .Net and/or XNA?
30
votes
15answers
7k 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
10k 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
3k 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 ...
30
votes
9answers
13k 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 ...
30
votes
9answers
23k 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 ...
30
votes
4answers
8k 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
2answers
9k views

How exactly does XNA's SpriteBatch work?

To be more precise, if I needed to recreate this functionality from scratch in another API (e.g. in OpenGL) what would it need to be capable of doing? I do have a general idea of some of the steps, ...
30
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 ...
30
votes
4answers
2k views

How do patches in games work?

Console and PC games have patches sometimes to fix bugs which the developers missed/didn't have time to fix. My question is how do these work? Sometimes the patch files are a few megabytes in size. ...
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
4answers
17k 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 ...
30
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 ...
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
6answers
8k views

Should I be using Lua for game logic on mobile devices?

As above really, I'm writing an android based game in my spare time (android because it's free and I've no real aspirations to do anything commercial). The game logic comes from a very typical ...
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
2answers
2k views

How to network this entity system?

I have designed an entity system for an FPS. It basically works like this: We have a "world"-object, called GameWorld. This holds an array of GameObject, as well as an array of ComponentManager. ...
29
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 ...
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
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
3answers
9k 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?
29
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 ...
29
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 ...
29
votes
8answers
10k 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
7answers
11k 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 ...

15 30 50 per page