26
votes
5answers
7k 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, ...
26
votes
2answers
741 views

Modeling speed of light information propagation in space combat sim

I'm working on a space combat sim that takes place over relatively vast areas (a cube of space ~20 light minutes to a side) and uses (mostly) realistic physics. One of the key elements I want to model ...
26
votes
3answers
5k views

How do you approach resolution independence in raster based graphics content?

Those games that are not fortunate enough to run on a locked platform spec, like handhelds, need to run across various resolution formats and aspect ratios. In a 3D game you might have a HUD or menu ...
25
votes
15answers
4k views

Interesting/Innovative Open Source tools for indie games [closed]

Just out of curiosity, I want to know opensource tools or projects that can add some interesting features to indie games, preferably those that could only be found on big-budget games. EDIT: As ...
25
votes
7answers
3k views

Do retail games use “inversion of control” and “dependency injection”?

Many of the more diligent software developers I know are moving to inversion of control and dependency injection to handle references to objects. Coming from a Flash games perspective I don't know all ...
25
votes
6answers
3k views

Vertical vs horizontal hex grids, pros and cons [closed]

With hex grids, you can choose to arrange the tiles with the pointy sides up, so that you can move along the west-east axis, or you can arrange them with an edge up, so that you can move along the ...
25
votes
12answers
5k views

How are sound effects made?

My friend and I are finishing up our first game right now and I have just discovered that even though he can make some decent music tracks, he has no idea how to make a sound effect. An explosion, for ...
25
votes
8answers
1k views

In-Game Tutorial Decisions

I'm working on a game with confusing mechanics such as energy storage and the coolant temperature. What is the best way to get a new player learned quickly? What are the pros and cons of different ...
25
votes
4answers
1k views

Can I run into legal issues with random names?

I'm currently building a game whose NPC's are going to be assigned a random gender and a random name for the right gender. To do this I will be using a "database" of names (actually a text file with ...
25
votes
5answers
10k views

How to create a hexagon world map in PHP from a database for a browser based strategy game

I'm trying to create a hexagon world map for my PHP browser based strategy game. I've created a table in my database with the following data per row: id, type, x, y and occupied. Where type is the ...
25
votes
6answers
2k views

Designing a game - Where to start? [closed]

A friend of mine and I are planning a game together to work on in our free time. It's not an extensive game, but it's not a simple one either. He's working on the story behind the game while I'm ...
25
votes
6answers
985 views

Have any video game designs used non-uniform random numbers in interesting ways?

A variety of video games use uniformly distributed numbers to decide the outcome of an event, such as a "50% chance to hit" almost always means to check if a random floating point number from 0-1 is ...
25
votes
2answers
7k 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, ...
25
votes
9answers
963 views

What is the best way to avoid colorblind issues?

About 5-10% of males have some form of colorblindness. What's the best way to ensure you are not turning away 5-10% of your male population from your game? Just to note colorblindness does not mean ...
25
votes
4answers
1k views

If two objects interact, what holds the interaction code?

Think of a bullet and an enemy, or the player and the floor. If these objects interact, what holds the interaction code?
25
votes
4answers
881 views

Version control with game development - When should I branch?

I recently started using Version Control with my projects (even though I'm working alone on them). I find that it gives a nice way to keep history of the whole development process (with issue ...
25
votes
6answers
3k views

Implementing a wrapping wire (like the Worms Ninja Rope) in a 2D physics engine

I've been trying out some rope-physics recently, and I've found that the "standard" solution - making a rope from a series of objects strung together with springs or joints - is unsatisfying. ...
25
votes
1answer
3k views

Decision Tree vs Behavior Tree

What are some differences between Decision Trees and Behavior Trees for AI Game Development? When would you use one over the other?
25
votes
6answers
2k views

Game programming books that don't teach programming? [closed]

I am an normal programmer with about 3 years of experience, who is interested in getting into game development. The problem that I face is that when I look at these "beginner" books, most of them ...
25
votes
5answers
1k views

Simulating pressure in a grid based liquid simulation

I have a 2D grid based water system in my XNA game, we have a method using cellular automata to simulate water falling and spreading. Example of water flowing down a slope: Each tile can contain a ...
25
votes
3answers
1k views

What can cause ALT-TAB to be 'annoying'/slow/glitchy?

This is more of an open ended question, but I hope to get some good insight on how to avoid the issue. When playing Games on Windows, I might want to ALT-TAB out of it. Some games have no problems, ...
25
votes
7answers
5k views

About floating point precision and why do we still use it

Floating point was always troublesome for precision on large worlds. This article explains behind-the-scenes and offers the obvious alternative - fixed point numbers. Some facts are really ...
25
votes
10answers
7k views

Browser-based MMOs (WebGL, WebSocket) [closed]

Do you think it is technically possible to write a fully-fledged 3D MMO client with Browser JavaScript - WebGL for graphics, and WebSocket for Networking? Do you think future MMOs (and games ...
25
votes
0answers
380 views

How are game console reverse engineered so emulators are created? [closed]

How do people reverse engineer consoles such as the Wii, to create emulators for their game executables?
24
votes
32answers
4k views

Tools for creating assets? [closed]

There are similar questions about finding existing resources that are free for use (free sprites/images, music, sound), but I'm interested in creating the resources myself. What tools do you use for ...
24
votes
11answers
2k views

What are your favourite game-specific coding gems? [closed]

I'll start off with John Carmack's the Fast Inverse Square Root in Quake III: float Q_rsqrt(float number) { long i; float x2, y; const float threehalfs = 1.5F; x2 = number * 0.5F; y = ...
24
votes
8answers
2k views

Why is permadeath essential to a roguelike design?

Roguelikes and roguelike-likes (Spelunky, The Binding of Isaac) tend to share a number of game design elements: Procedurally generated worlds Character growth by way of new abilities and powers ...
24
votes
10answers
2k views

Effects to make a speeding spaceship look faster

I have a spaceship and I've created a "boost" functionality that speeds up my spaceship, what effects should I implement to create the impression of high speed? I was thinking of making everything ...
24
votes
3answers
2k views

How can I make water appear darker with depth, like in Minecraft?

In Minecraft when you look at water the deeper you view the darker it gets. Does anyone know how to code something like that? Minecraft with effect similar game without effect
24
votes
4answers
3k views

Finding the nearest object

I have a sizable game engine and I'd like a feature for finding the nearest of a list of points. I could simply use the Pythagorean theorem to find the distances. I know I can't simply add x and y, ...
24
votes
9answers
14k views

Texture packing algorithm

What is a good texture packing algorithm? Technically, bin packing is NP-hard, so a heuristic is what I'm really after.
24
votes
19answers
2k views

Are there many games involving the manipulation of water?

I'm in the very, very early brainstorming stages of a game which centers around the manipulation of water and the terrain around it. (i.e., changing the water's state between solid, liquid, gas; ...
24
votes
5answers
1k views

Why do GPUs require game specific drivers?

PC GPU driver updates often cite improvements made to performance of specific, recently released games. Why is this game-specific updating needed? How do the game-specific changes interact with the ...
24
votes
10answers
2k views

Strategies to Defeat Memory Editors for Cheating - Desktop Games

I'm assuming we're talking about desktop games -- something the player downloads and runs on their local computer. Many are the memory editors that allow you to detect and freeze values, like your ...
24
votes
3answers
14k views

Android game development in c++

So being a primarily c/c++ developer, I've always thought that the only option for mobile game development for me was using iOS, which allows for c/c++ (and minimising objective C). I heard from a ...
24
votes
4answers
1k 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. ...
24
votes
3answers
2k views

How does a 2D game like Zelda handle the character being behind buildings where only part of him is shown?

I'm trying to develop a simple Zelda-style game. I found this very useful topic How was collision detection handled in The Legend of Zelda: A Link to the Past? that I'm using as reference to develop ...
24
votes
4answers
2k views

Is game development a super elite club?

We all read job vacancies via the internet like GitHub jobs or StackExchange Careers 2.0 for example. You know, web app development, iOS/Android jobs and many other things. We even read about jobs ads ...
24
votes
2answers
3k views

How can I generate Worms-style terrain?

I'm working on a Worms-styled game and want to generate some terrain procedurally. I've previously done a lot of terrain generation using perlin noise, and this is what I started out using for this ...
24
votes
3answers
2k views

Assets Management, database or versioning system?

While developing the assets for the game, (meshes, textures, sounds, videos) ho do you manage them? Keeping them together with the source code inside the versioning system? (perforce, git, etc…) Or ...
24
votes
6answers
3k views

Who does the AI calculations in an MMO?

I am building an MMO and want to add NPCs. The thing is I don't know the basic design. What does the calculations, the clients or the server? I would understand the server calculating events and ...
24
votes
4answers
13k views

How can a programmer learn to draw 2D assets? [closed]

Are there any good tutorials for someone who wants to create 2D graphical game assets? Drawing classes for absolute beginners, preferably teaching skills that can be as relevant as possible to games - ...
24
votes
4answers
1k views

Legal issues for a “fangame” of a commercial franchise?

I've played around in the past of the 2D Flash fan-made version of the popular Valve game Portal. It has basically the exact same mechanics, but as a 2D side-view flash game. Lately I've toyed ...
24
votes
2answers
2k views

What are milestones for a game developer to gauge their progress?

I know actually completing a game is a massive milestone, a complete polished, holistic experience. Something that I've not yet been able to commit to. There are of course classes and degrees to ...
24
votes
6answers
5k views

A way to store potentially infinite 2D map data?

I have a 2D platformer that currently can handle chunks with 100 by 100 tiles, with the chunk coordinates are stored as longs, so this is the only limit of maps (maxlong*maxlong). All entity positions ...
24
votes
5answers
6k views

How to generate caves that resemble those of Minecraft?

I've been working on a 3D procedural world for a while now and am wanting to start adding cave systems. I'm currently using 2D/3D Perlin Noise for the terrain generation in combination with Marching ...
24
votes
4answers
2k views

game story event programming

I have developed a game engine in c/c++ and DirectX. I have a tile engine for the maps, animated player/npc sprites, talking to the npc, menus, and level changing but there is no game, it just feels ...
24
votes
4answers
2k views

How to determine the amount of experience needed for leveling up

Related questions under this topic might include: How should I base how much experience points it takes to get to the next level? What factors are involved in this? How do I keep the player not ...
24
votes
6answers
4k views

What 3D level development tools are available to indie developers? [closed]

People who build in Unity or UDK have immediate access to a 3D level editor. People who build their games in XNA or from scratch have no such thing. I'm looking for 3D level development tools ...
24
votes
4answers
755 views

What viable way for an indie dev to test for epilepsy reactions on a game?

So I've been developing a game which is a bit.. blinky in terms of color and lightness contrasts. It's a game for the iPhone, so the screen's not gonna be so big.. But I've heard about wipeout XL ...

15 30 50 per page