Game engines are a collection of libraries and tools that provide a framework to create games.

learn more… | top users | synonyms (1)

214
votes
10answers
68k views

When should I use a fixed or variable time step?

Should a game loop be based on fixed or variable time steps? Is one always superior, or does the right choice vary by game? Variable time step Physics updates are passed a "time elapsed since last ...
106
votes
3answers
48k views

Tips for writing the main game loop? [closed]

Can anyone recommend some good tips, articles, sites, etc. for writing the main game loop? What are some things that you should do in the game loop, and what are some things that you shouldn't do in ...
104
votes
9answers
14k views

Entity communication: Message queue vs Publish/Subscribe vs Signal/Slots

How do game engine entities communicate? Two use cases: How would entity_A send a take-damage message to entity_B? How would entity_A query entity_B's HP? Here's what I've encountered so far: ...
102
votes
22answers
56k views

Why is it so hard to develop a MMO? [closed]

I want to develop a MMO like World of Warcraft, but some basic research says that is going to take months (if not years) and cost a lot of money. I'd like to know why.
98
votes
11answers
24k views

Good resources for learning about game architecture? [closed]

Are there any good resources for learning about game architectures? I am looking for high level overviews of different architectures. I tend to find information about the various pieces of a game such ...
84
votes
15answers
153k views

2D Gaming Libraries/ Frameworks/ Engines for Android [closed]

Are any such things available to help me build my Android game?
70
votes
8answers
37k views

Why don't more games use vector art? [closed]

It would seem to me that vector art is more efficient in terms of resources/scalability; however, in most cases I have seen artists using bitmap/rasterized art. Is this a limitation put on the artists ...
67
votes
4answers
9k views

How does one make games playable before they are fully downloaded?

Diablo 3 and StarCraft 2 have a nice feature: I can start playing before the full game/update has finished downloading. How does this work? How could I implement a similar feature? I guess Diablo 3 ...
59
votes
8answers
19k views

Where to start with game development? [closed]

To anyone who finds this question on Google or elsewhere 3 years after asking this question I've had a lot more experience with game design, and I have a good idea what I was lacking in understanding....
57
votes
15answers
32k views

Cross Platform 2D Graphics Engines [closed]

I'm looking for a 2D graphics engine that would allow me to release to Windows, Mac and the iPhone, much the way Unity does for 3D. Is there a good engine that does this and is specific to 2D?
52
votes
9answers
80k views

Easy to use cross-platform 3D engines for C++ game development? [closed]

I want to try my hand at writing a 3D game. However I don't want to start at such a low level of drawing individual triangles and writing my own 3D object loader and so on. I've heard of things like ...
51
votes
8answers
51k views

Is Java viable for serious game development? [closed]

Ever since I was a little kid, my dream has been to develop games. Well, now that I am older, more mature, and have some programming experience, I would like to start. However, I would like to turn ...
49
votes
12answers
26k views

Is it reasonable to write a game engine in C? [closed]

Even though C++ appears to be king, from what I've been told C is still widely used in games, especially on the consoles. However, would writing an entire game engine in C be unreasonable today? What ...
45
votes
5answers
3k views

Is there a pedagogical game engine? [closed]

I'm looking for a book, website, or other resource that gives modern 3D game engines the same treatment as Operating Systems: Design and Implementation gave operating systems. I have read Jason ...
44
votes
12answers
4k views

How can people recognize what engine a game uses?

About many games you can say "oh that's the Unreal Engine for sure", or "this was made by upgrading GTA 4", etc. We can often recognize the engine used for a game just by looking at its graphics (...
39
votes
6answers
18k 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 ...
34
votes
3answers
6k 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 ...
31
votes
11answers
6k views

Do 2D games have a future? [closed]

I'm currently working on a 2D soft-body physics engine (since none exist right now -_-), but I'm worried that there's no point to spending what will most likely be years on it. Although I love ...
31
votes
4answers
5k views

Proper OO game engine design: how to parcel responsibilities

(note - I don't have the reputation to create new tags, so mod action may be needed to re-tag) I'm in the midst of developing a 2D sprite-based game for Windows 7 Phone using XNA. The training and ...
30
votes
2answers
2k views

How'd they do it: Destructible environments in BF:BC2 and BF3

How did the folks at Dice create the destructible environments in the more recent Battlefield games? Did they just assemble the buildings out of predefined sub-regions that break apart when there is ...
29
votes
9answers
29k views

Why do game developers write their own engines instead of using existing ones?

I observed that most of the most, big and well-known game titles developers oftenly develop their own engines - like Valve has their engine, Crytek has their own, Ubisoft has their own, Epic games has ...
29
votes
7answers
11k views

How can one implement hot-swappable C++ modules?

Fast iteration times are key to developing games, much more so than fancy graphics and engines with truckloads of features in my opinion. No wonder many small developers choose scripting languages. ...
29
votes
7answers
14k 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
6answers
9k views

How to solve the big video memory requirements in 2d game

We are developing 2d game (Factorio) in allegro C/C++ and we are facing the problem with increasing video memory requirements as the game content increases. What we currently do is, that we gather ...
27
votes
3answers
4k views

For custom game engines, what should I do if my core data is malformed or missing?

I'm writing a custom engine for a game. I started this game well before I understood why I should use middleware instead, and it's too far along to rewrite. The vast majority of my data comes from ...
27
votes
6answers
5k views

Why don't all games permit changing the field of view?

This is less of a question aimed at developing a game and more about the technology behind it. A number of gaming journalists and pro gamers (both on the tournament and the home entertainment sector) ...
26
votes
5answers
7k views

Implementing features in an Entity System

After asking two questions on Entity Systems (1, 2), and reading some articles on them, I think that I understand them much better than before. But, I still have some uncertainties, and mainly they ...
26
votes
3answers
5k views

What's the difference between a Library and an Engine

I am working on a library to help 2D-Game development with Scala. So far it is a collection of helpful classes, file loading, collision detection, images, sprites... So when does it stop being a ...
25
votes
9answers
14k views

What C++ GUI library can you suggest? [closed]

I'm building my own game engine in C++ and I'm currently deciding on what user interface I should use. Should I use a library? Should I make my own?
24
votes
6answers
5k views

Is there a reason to add options to not use advanced game technologies in a game engine/library?

I have been developing a game engine, and have been discovering and reading up on game technologies such as anisotropic filtering, ambient occlusion, anti-aliasing, etc. Usually in games, you can ...
24
votes
6answers
17k views

What are the advantages and disadvantages to using a game engine?

How do I know whether or not to use a game engine? I want to make a relatively complex 2D game for Android. What factors should I weigh to decide whether to find, install and learn a game engine or ...
24
votes
5answers
4k views

Game architecture / design question - building an efficient engine while avoiding global instances (C++ game)

I had a question about game architecture: What is the best way to have different components communicate with each other? I do really apologize if this question has already been asked a million times, ...
23
votes
4answers
16k views

How to design a game engine in an object-oriented language? [closed]

Whenever I try and write a game in any object-oriented language, the first problem I always face (after thinking about what kind of game to write) is how to design the engine. Even if I'm using ...
23
votes
3answers
14k views

Any open source game engines for Android? [closed]

Is there any open source android gaming engine ?
22
votes
10answers
4k views

How does one escape the GPL?

DISCLAIMER I don't pretend to know anything about licensing. In fact, everything I say below may be completely false! Backstory: Recently, I've been looking for a decent game engine, and I think ...
22
votes
1answer
1k views

Why is it that the majority of npc character models are roughly the same height in video games?

In the majority of video games I play, I notice that NPC's are the same height. What's up with that? It kinda takes me out of the experience, when I see ten people in a row that are 5 foot 8. Anyone ...
22
votes
5answers
6k views

Quick 2D sight area calculation algorithm?

I have a matrix of tiles, on some of that tiles there are objects. I want to calculate which tiles are visible to player, and which are not, and I need to do it quite efficiently (so it would compute ...
22
votes
3answers
4k views

How does Blizzard manage to support Mac OS and Windows in their games?

I've always thought, that using Direct X for Windows was the most powerful, easy and modern method to create games with modern graphics nowdays. And knowing, that it's only Windows I thinks it's ...
22
votes
12answers
16k views

Isometric game engine in JavaScript/HTML5 [closed]

Is anybody aware of any stable-ish (ie out of alpha) isometric drawing engines for JavaScript/HTML5? I have done some Google searches and found a few, but they were mostly in alpha/invite-only status....
20
votes
7answers
5k views

What advantage do OpenGL, SFML and SDL have over software rendering?

I started watching the Handmade Hero stream, where Casey Muratori creates a game engine without using frameworks or such. Yesterday I got to the part where he showed how an image is drawn onto the ...
20
votes
5answers
3k views

What do potential employers look for in a good portfolio? [closed]

A buddy from work and myself are wanting to get into the indie scene for game development. I've done a few tech demos demonstrating different ideas and approaches for various problems. Now, I feel it'...
20
votes
5answers
6k views

When to roll your own game engine?

I've been a software developer for 5 years now and wanting to get into iOS game development. I've played around with the iOS SDK for about 2 years now, attending cocoaheads meetings and feel I have a ...
20
votes
7answers
7k views

Easiest, most fun way to program 2D games? Flash? XNA? Some other engine? [closed]

this is a post detailing my search for the most enjoyable way for a hobbyist game programmer to sweeten his free time with making a game. My requirements: I looked at Flash first, I made a couple of ...
20
votes
4answers
10k views

What should a game engine do? [closed]

I'd like to improve my skills/try something new and I'd like to start with 3D. I have read Starting programming in 3D with C++ but I have question about engines: What should engine do? I know it is ...
20
votes
2answers
3k views

Component-Based System online resources

I've been considering moving to a more component-based approach in my games. Does anyone else have any decent reference material or sample implementations that would help make this transition a little ...
19
votes
1answer
2k views

How are entity systems cache-efficient?

Lately I've been doing a lot of reading on entity systems to implement in my game engine (C++/OpenGL). The two key benefits that I constantly hear lauded about entity systems are 1) the easy ...
19
votes
1answer
862 views

Which features belong to the engine and which ones to a game?

Right now I find myself implementing and testing new features of my 2D game engine by directly coding them into engine. Simultaneously I have a showcase game (with scripting support) which should call ...
18
votes
15answers
8k views

Simple game engines / development tools made with artists in mind? [closed]

I've been working in the 2d art side of games for a while now, and my full time job keeps me very busy on the art side of things, but I'm becoming more and more interested in learning to prototype my ...
18
votes
3answers
643 views

How can I maintain a rectangular formation when units are added or removed?

I've got bots in a rectangular formation with rows and columns. A problem arises when a bot is added or removed from the formation. When this happens, the bots have to rearrange themselves so that the ...
17
votes
3answers
4k views

Does allocating and freeing a huge chunk of memory at startup “clean up memory”?

The book Game Coding Complete, Fourth Edition, chapter 5 (Game Initialization and Shutdown), section Checking Memory contains this interesting code sample: bool CheckMemory(const DWORDLONG ...