27
votes
6answers
3k 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 ...
27
votes
4answers
3k 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 ...
27
votes
4answers
892 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 ...
27
votes
5answers
2k views

Doing powerups in a component-based system

I'm just starting really getting my head around component based design. I don't know what the "right" way to do this is. Here's the scenario. The player can equip a shield. The the shield is drawn ...
27
votes
6answers
11k views

How can I improve rendering speeds of a Voxel/Minecraft type game?

I'm writing my own clone of Minecraft (also written in Java). It works great right now. With a viewing distance of 40 meters I can easily hit 60 FPS on my MacBook Pro 8,1. (Intel i5 + Intel HD ...
27
votes
2answers
801 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 ...
27
votes
4answers
14k views

why would you use textures that are not a power of 2?

In the early days of OpenGL and DirectX, it was required that textures were powers of two. This meant that interpolation of float values could be done very quickly using shifting and such. Since ...
26
votes
32answers
8k 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 ...
26
votes
3answers
6k views

How do teams prevent overwriting work in source files? [closed]

It occurred to me the possibility that while, for example the game engine, is being worked on simultaneously by multiple people how is overwriting prevented? Let's say developer one is working on ...
26
votes
7answers
4k 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 ...
26
votes
6answers
3k views

Is OpenGL appropriate for 2D games?

I have been teaching myself the OpenGL library for a while now, and want to start making a game. However, for an easier introduction, I want to start with something 2D, such as a top down ...
26
votes
5answers
4k views

In 2D, how do I efficiently find the nearest object to a point?

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 each distance and choose the minimum one, but that ...
26
votes
20answers
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; ...
26
votes
5answers
13k 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 ...
26
votes
6answers
3k 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 ...
26
votes
10answers
3k 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 ...
26
votes
3answers
858 views

Should I have a public development blog? [closed]

Should I keep a public development blog for a game I'm creating? What are the benefits and issues of this activity?
26
votes
6answers
1k 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 ...
26
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 ...
26
votes
4answers
17k 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 - ...
26
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 ...
26
votes
6answers
4k 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 ...
26
votes
6answers
7k 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 ...
26
votes
5answers
9k 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 ...
26
votes
5answers
3k 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 ...
26
votes
3answers
1k views

How to handle multiple story threads in a RPG game?

I designed an RPG game that has multiple story threads, meaning that, depending on the user's choice some things may or may not happen, you can achieve the same thing in several ways, the ending can ...
26
votes
3answers
3k views

Random seed function for map generation?

I am looking for a function to generate a random tile-based map as the visual boundaries of the map change (by going through the map). I want the map to be infinitely large, and have maze-like ...
26
votes
4answers
12k views

How were cartridge-based games programmed? [closed]

I'm thinking of like the SNES, N64, Atari... even the DS today, I suppose. SNES games did not usually take up more than 4 MB of space, and N64 games were usually 32 to 64 MB worth of data. These ...
26
votes
0answers
449 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?
25
votes
4answers
6k views

Why don't we use octogonal maps instead of hexagonal maps?

I understand the advantage of hexagonal tiles over square ones. But why aren't octagons used instead? I would think they would provide better, more natural movement in eight directions. I was ...
25
votes
11answers
3k 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 = ...
25
votes
8answers
3k 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 ...
25
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 ...
25
votes
6answers
8k views

Is it legally possible to make a clone of the game?

With board games like "Monopoly", "Domino", "Checkers", or "Chess", can game developers make clones and sell them? Also, can I make a clone of ZX Spectrum games? Are there many parts of the game with ...
25
votes
8answers
11k views

How can I develop Flash games without expensive software?

I've been playing with writing flash games in my spare time, but up to this point, I've just been using a trial version of Adobe Flash Professional. I'm aware of FlashDevelop, but their documentation ...
25
votes
6answers
3k views

Marketing: Angry Birds - How it's done [closed]

Why do some apps, like Angry Birds, dominate the market while other cool/fun/addicting apps are never heard of? I'm trying to figure out the best marketing strategy, or best way to sell an app to ...
25
votes
9answers
1k 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
3answers
16k 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 ...
25
votes
4answers
959 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
2answers
2k views

Calculating the rotational force of a 2D sprite

I am wondering if someone has an elegant way of calculating the following scenario. I have an object of (n) number of squares, random shapes, but we will pretend they are all rectangles. We are ...
25
votes
5answers
2k views

Legal issues for a “fangame” of a commercial franchise? [duplicate]

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 ...
25
votes
7answers
7k views

Teamwork in Unity

I have a Unity project without any version control, and I need to share it with another developer so that both of us can work on the project. What strategies should be use that play nice with Unity ...
25
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 ...
25
votes
6answers
4k views

What is a good algorithm to detect collision between moving spheres?

If (for the purpose of collision detection) 3D objects are represented in a game by spheres, what is a good algorithm to detect a collision between spheres? If each object has a position as of the ...
25
votes
1answer
3k views

How do you turn a cube into a sphere?

I'm trying to make a quad sphere based on an article, which shows results like this: I can generate a cube correctly: But when I convert all the points according to this formula (from the page ...
25
votes
3answers
2k 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
2answers
2k views

Is there a way to procedurally generate the history of a world?

I am somewhat intrigued by the diagram found here representing 1800 years of cultural history in an imaginary world some guy created. This sort of thing would seem to have strong applications for ...
25
votes
10answers
9k 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 ...
24
votes
10answers
6k views

What are the most commonly used programming languages? [closed]

When I took my Java courses a year ago, I was told that Java is used mostly in the overseas gaming companies while C++ is used here in the US. What languages should I focus on learning in-depth?
24
votes
5answers
8k views

What quality should my sounds be?

Sound and it's quality is something like religion. Never ending story. People will say, that MP3 320kbps is lossless, while experts will say that any MP3 is crap, but in the end, no one will hear a ...

15 30 50 per page