All Questions

36
votes
8answers
11k views

Why do game engines convert models to triangles compared to keeping it as four side polygon

I've worked using maya for animation and more film orientated projects however I am also focusing on my studies on video game development (eventually want to be either programmer or some sort of TD ...
36
votes
3answers
16k views

Random map generation

I'm starting/started a 2D tilemap RPG game in Java and I want to implement random map generation. I have a list of different tiles, (dirt/sand/stone/grass/gravel etc) along with water tiles and path ...
36
votes
4answers
5k views

What is the purpose of a “press start” screen?

A lot of games start with their intros and vendor videos, and then show a "Press Start" screen before the actual main menu. I never quite figures out the purpose of this. Why not go to the main menu ...
36
votes
1answer
1k views

How do I create particles that react to the player and enemies?

I'm currently making a game with my own game engine which I've written in C++ and I'm using the most recent directx SDK. The game is a top down space shooter (with a pretty interesting twist) and ...
36
votes
12answers
35k views

How do you come up with ideas for new games? [closed]

What is the best way in your opinion to find new ideas for games? I want to invent something really new (like Gish, World of Goo, Crayon Physics etc), but I'm having problems coming up with new, ...
36
votes
4answers
2k views

How to break the feeling of busywork in a game

I don't know if this topic has been explored before but in a handful of games I've played there comes a point where trying to explore everything, doing sidequests, or even trying to get gear starts ...
36
votes
6answers
11k views

Component-based game object systems in practice

Let's see history of success. Which popular games (and game engines) were built using component-based game object system? Each answer should contain: Game Title (one per answer) Author / Company ...
36
votes
6answers
4k views

How would you handle different aspect ratios in a 2d platformer?

A long time ago, 4:3 pretty much the only apect ratio you would find on a pc. Today the most common one is 16:10, but most new monitors (especially laptops) are 16:9 I'm writing a 2d platformer and I ...
36
votes
5answers
1k views

Best Way to allow players to “Dye” images without losing color quality?

I am creating a 2.5D isometric (2D images) game. I want the players to be able to "dye" their armor, clothes, and other things. I find that grayscaling everything leads to losing out on some of the ...
36
votes
6answers
6k views

How can I promote my game? [closed]

I am a beginning indie developer, and I want to get the word out about my game. What sites can I go to to ask about reviews of my game, and where might I be able to talk about and get feedback on my ...
36
votes
10answers
2k views

How to know when your game concept is simply not fun and to stop

I'm a new hobbyist game developer but have yet to come up with something original that I found to be really fun. The hardest part I find about game development is this: You have an idea that in your ...
35
votes
2answers
8k views

How to create adjustable formula for RPG level up requirements?

I'm trying to create a formula that can be modified simply by changing two values: number_of_levels, and last_level_experience. This is to enable people modding the game to change the levelling ...
35
votes
7answers
6k views

What are the performance difference between unsigned and signed integers?

I am aware of the performance hit when mixing signed ints with floats. Is it any worse to mix unsigned ints with floats? Is there any hit when mixing signed/unsigned without floats? Do the ...
35
votes
8answers
18k views

How'd they do it: Millions of tiles in Terraria

I've been working up a game engine similar to Terraria, mostly as a challenge, and while I've figured out most of it, I can't really seem to wrap my head around how they handle the millions of ...
35
votes
7answers
12k views

How were 8-bit and 16-bit games developed? [closed]

We have a lot of information on the internet out there on plenty of engines, SDKs, fancy IDEs, etc. But how did people manage to develop games in the past? Are there 'famous' tools? What was the most ...
35
votes
1answer
5k 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?
35
votes
3answers
4k views

Algorithms for rainfall + river creation in procedurally generated terrain

I've recently become fascinated by the things that can be done with procedurally terrain and have started experimenting with world building a bit. I'd like to be able to make worlds something like ...
35
votes
5answers
4k views

How to avoid the GameManager god object?

I just read an answer to a question about structuring game code. It made me wonder about the ubiquitous GameManager class, and how it often becomes an issue in a production environment. Let me ...
35
votes
9answers
4k views

How are deterministic games possible in the face of floating-point non-determinism?

To make a game like an RTS networked, I've seen a number of answers here suggest to make the game completely deterministic; then you only have to transfer the users' actions to each other, and lag ...
34
votes
3answers
7k views

Why do we use the Pythagorean theorem in game physics?

I've recently learned that we use Pythagorean theorem a lot in our physics calculations and I'm afraid I don't really get the point. Here's an example from a book to make sure an object doesn't ...
34
votes
6answers
3k views

Is it unprofessional to leave game resources to the open eye?

I'm still having problems packing my resources, after going through complicated APIs and basically just zip files which are exhausting my brain, I thought I could also pack the game with the resources ...
34
votes
6answers
2k views

Why use random numbers when it comes to rewards and stats?

Many games use random numbers for things like attack damage, gold loot, or monster type being spawned. It is obvious that random numbers allow you to generate content to make games more re-playable, ...
34
votes
4answers
2k views

Why are radians preferred over degrees in game development?

I've been looking up the definition of radians and found out that mathematicians prefer them because they are derived from pi instead of being completely arbitrary like degrees. However, I have not ...
34
votes
5answers
23k views

What are some ideal algorithms for Rogue-like 2D dungeon generation? [closed]

What are some good resources regarding procedural content generation in the context of dungeon generation? Closest article I could find was ...
34
votes
4answers
8k views

How to render 2D particles as fluid?

Suppose you have a nice way to move your 2D particles in order to simulate a fluid (like water). Any ideas on how to render it? This is for a 2D game, where the perspective is from the side, like ...
34
votes
5answers
933 views

Does the gender of a game's protagonist affect sales?

Most protagonists of games are male. I imagine the conventional wisdom is that this is because We live in a patriarchal society, especially when it comes to game development, and The target ...
33
votes
14answers
4k views

MMORPG design for time-limited players

I believe that there is a significant market of players who would enjoy the exploration and interaction aspects of MMORPGs, but simply don't have the time for the endless grinding marathons which are ...
33
votes
13answers
2k views

what is the best way to eliminate grinding in games? [closed]

This is a very persistent question in game design, especially in games where you need to hold/retain players like MMO or social games. (On a side note grinding can easily calculated so its easy tool ...
33
votes
6answers
4k 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 ...
33
votes
2answers
4k views

Water/Ocean simulation and physics

I'm looking for some references about water simulation, and how to model it's interaction with bodies (like boats, ships, submarines). I've found a lot of references on the visual aspects of water ...
33
votes
5answers
5k views

Any tips for creating cross-platform games? [closed]

Do you have any tips/recommendations when creating a cross-platform game in C/C++?
33
votes
2answers
2k views

How does a game without loading times work?

We're talking about an expansive game that is not divided in levels or checkpoints. A 3D adventure, for example.
33
votes
20answers
5k views

Examples of good Javascript/HTML5 based games [closed]

Now that Flash is largely being replaced with HTML5 elements (video, audio, canvas, etc.) are there any good examples of web-based games built on completely open standards (meaning Javascript, HTML ...
33
votes
4answers
804 views

How to prepare a game for localization?

Many projects don't think about localization until the game is done. Then localization is done as a hack, and it's obvious that it was added on later. Some specific areas of concern: Text strings ...
33
votes
9answers
3k views

Cross-platform independent development

Some years ago, if you wrote in C and some subset of C++ and used a sufficient number of platform abstractions (via SDL or whatever), you could run on every platform an indie could get on - Linux, ...
33
votes
4answers
2k views

Movement prediction for non-shooters

I'm working on an isometric 2D game with moderate-scale multiplayer, approximately 20-30 players connected at once to a persistent server. I've had some difficulty getting a good movement prediction ...
32
votes
10answers
4k views

What makes a game look “good”? [closed]

I am working on a 3D space game using OpenGL and C++ and I am planning to focus on giving the game modern, eye-catching graphics, but the more I think of it the more I realise I don't really know what ...
32
votes
2answers
2k views

Good game design process for a do-it-all programmer

I am pretty new in game development - on Android platform and thinking about one-man game development. I know I can't professionally do everything such as graphics, sounds, and music but I think I can ...
32
votes
6answers
14k views

Why are textures always square powers of two? What if they aren't?

Why are the resolution of textures in games always a power of two (128x128, 256x256, 512x512, 1024x1024, etc.)? Wouldn't it be smart to save on the game's file size and make the texture exactly fit ...
32
votes
16answers
4k views

Turn-based strategy games where action happens in real-time?

Okay, this idea has come up for the 3rd time in conversation now, and it's been bugging me for years. The idea is a game where all players make decisions/issue orders to units while the game is in a ...
32
votes
6answers
9k views

Learning To Create Better Art (2D Games)

Until one of my games "makes it" big, or I get flooded with gold ingots, I will have to handle most or all of my game art myself. The crux of my question is: how can I learn enough art to get beyond ...
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
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
7answers
14k views

Where can I find good (well organized) examples of game code?

Where can I find good (well organized) examples of game code? I'm hoping that I can pick up some organizational tips. Most examples in books are too short and leave out lots of detail for the sake of ...
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 ...
32
votes
6answers
5k views

Analysis of Mario game Physics [closed]

I know there's a breakdown of Sonic the Hedgehog physics found here, and I was wondering, does there exist a breakdown of any of the Mario games? Something similar to this but for Mario is what I'm ...
31
votes
13answers
2k views

How can I minimize the chances of my game getting pirated?

I am planning to make a small game in the near future. How can I minimize the chances of it being pirated?
31
votes
7answers
7k 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
3answers
3k views

When should I hard-code data versus load external data?

I'm a thousand or so lines of code into making my own 2D space-based game, which creates networks of randomly generated star systems and populates them with a random selection of planets, stations, ...
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 ...

15 30 50 per page