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

learn more… | top users | synonyms (1)

179
votes
10answers
46k views

Fixed time step vs Variable time step

What is better for games when developing game loops, fixed time steps or variable time steps? What type of games are better with one or the other? Variable time steps: With variable time step, I ...
91
votes
23answers
38k 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.
84
votes
3answers
29k 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 ...
91
votes
9answers
11k 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: ...
43
votes
8answers
32k 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 ...
28
votes
3answers
3k 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 ...
19
votes
5answers
4k 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 ...
46
votes
8answers
10k views

Where to start with game development? [closed]

I asked this earlier in this thread at stackoverflow.com. One of the early comments redirected me here to gamedev.stackexchange.com, so I'm reposting here. Searching for related questions I found a ...
23
votes
3answers
3k 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 ...
42
votes
9answers
42k 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 ...
17
votes
6answers
8k 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 ...
59
votes
15answers
76k views

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

Are any such things available to help me build my Android game?
17
votes
4answers
7k views

What should a game engine do?

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

How smartly implement scripting in game

I'm developing a game engine. It is supposed to be an entity/components based one. For developing my game itself (using my engine of course) i though to use some scripting language to actually create ...
89
votes
11answers
16k 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 ...
23
votes
5answers
5k 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 ...
29
votes
8answers
9k 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 ...
39
votes
12answers
14k 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 ...
24
votes
9answers
10k 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?
13
votes
5answers
5k views

Pro's and Con's of Various 3D Game Engines [closed]

I normally code my admittedly simple games by hand in either Assembly or C but I'm looking to go a little more high level. I also want to build more modern skills so I'm looking at UDK. What are the ...
12
votes
2answers
7k views

How to implement turn-based game engine?

Let's imagine game like Heroes of Might and Magic, or Master of Orion, or your turn-based game of choice. What is the game logic behind making next turn? Are there any materials or books to read about ...
55
votes
15answers
26k 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?
10
votes
3answers
2k views

Why is it a bad idea to store methods in Entities and Components? (Along with some other Entity System questions.)

This is a followup to this question, which I answered, but this one tackles with a much more specific subject. This answer helped me understand Entity Systems even better than the article. I've ...
8
votes
2answers
5k views

Interaction between engine parts

I want to ask a question about how the information exchange between game engine parts should be implemented. The engine is separated in four parts: logic, data, UI, graphics. In the beginning I made ...
1
vote
3answers
1k views

Game state sharing data

A game is a set of Game States. Each Game State contains game objects, may be list, may be scene graph or any other data structure. We can use Game States as Game Locations, too. How do you share ...
8
votes
1answer
781 views

what is world space and eye space in game development?

I'm reading a book about 3D stuff and OpenGL. The book often talks about world space and eye space. What exactly is the "world space?" Does the "eye space" mean the projection?
3
votes
4answers
5k views

RTS Engine or DotA-like game [closed]

Is there any good documented and simple Game engine for RTS games, especially for building DotA-like game? I know I can use Crystal Space, Irrlicht or another Game Engine. But I need most similar ...
6
votes
1answer
806 views

Resolution Independent

I am developing a game with XNA and I am a little desperate with resolutions. For now I have only implemented the main menu but I want to get a game that is independent of the resolution. As I am a ...
0
votes
6answers
2k views

Will C++ remain viable for game engines in somewhat distant future? [closed]

C++11 has opened ways, which were only dreamt by the C++ programmers. It has been three years since I have been learning C++, and I am going well. Now I want to get into video games. Every core of ...
13
votes
6answers
8k views

Where do I begin if I want to write a C++ 2d game? [closed]

Clarification: I'm not asking for the best place to start. I'm just asking for a place to start. I am a C# web developer and I want to expand my skillset and have some fun while doing it. I know some ...
19
votes
2answers
2k 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 ...
17
votes
5answers
4k 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 ...
4
votes
5answers
5k views

Which free HTML5-based game engine meets these requirements? [closed]

I am experienced with traditional JS and HTML but new to HTML5. I want to develop games in HTML5 so that it can work on all devices and browsers, including IE. Additionally, I require the following ...
17
votes
15answers
7k 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 ...
9
votes
3answers
1k views

What should I be considering when designing an Event Manager System?

I have been puttering around with the fundamentals of a Java game engine, and I've reached the point where I'm ready to add in an Event Manager system. I know, in theory, what an Event Manager should ...
8
votes
1answer
2k views

Linux Game Engines [closed]

What Linux Game Engines are out there? Name, link, and intended use.
7
votes
10answers
1k views

What tools should I consider if my aim is to make a game available to as many platforms as possible? [closed]

We're planning on developing a 2D, grid-based puzzle game, and although it's still very early in the planning stages, we'd like to make our decisions well from the beginning. Our strategy will be to ...
5
votes
2answers
2k views

How do I support variable screen ratios using AndEngine?

When displaying a background, AndEngine produces black bars above the image on certain devices. How do I support variable screen ratios for different devices using AndEngine?
11
votes
4answers
4k views

Physics engine recommendation which can simulate pool game correctly? [closed]

I'm making a pool-game like game. This game requires correct (or very accurate) reflective bounces. I tried Box2D and Bullet Physics, but they both have this problem. If there is a wall on top of ...
3
votes
8answers
3k views

What technology is best for building my first game [closed]

I have started a few game projects in the past, but have never finished anything. I decided that it was probably because I was writing everything thing from scratch, and just ended up dropping the ...
4
votes
3answers
419 views

Calculating game map changes overtime when user is not even online e.g. farmville

With a game like farville, there is both processing during gameplay and when the user is offline (plants are growing, etc.) So many of the elements on the game map depend on time. Is there a trick ...
-6
votes
1answer
2k views

Why is C++ used for game engines? How about its future in game engines? [closed]

C++, as I have seen, is being heavily used in 3d video game engines.... Is it because of the performance issues, legecy code or libraries such as DriverX? If performance, libraries and code ...
11
votes
2answers
1k views

Algorithm to shoot at a target in a 3d game

For those of you remembering Descent Freespace it had a nice feature to help you aim at the enemy when shooting non-homing missiles or lasers: it showed a crosshair in front of the ship you chased ...
15
votes
7answers
6k 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 ...
11
votes
3answers
2k views

How to implement buffs / debuffs / temporary stat changes in an RPG? [duplicate]

Possible Duplicate: What’s a way to implement a flexible buff/debuff system? In the context of creating an engine for a RPG I want to implement a generic way to give effects / buffs / ...
10
votes
1answer
3k views

Game Engine Design – Ubershader - Shader management design

I want to implement a flexible Ubershader system (with deferred shading). My current idea is to create shaders out of modules, which deal with certain features (FlatTexture, BumpTexture, Displacement ...
12
votes
2answers
5k views

Are high powered 3D game engines better at 2D games than engines made for 2D

I'm a software engineer that's new to game programming so forgive me if this is a dumb question as I don't know that much about game engines. If I was building a 2D game am I better off going with an ...
11
votes
1answer
5k views

How to apply Data Oriented Design with Object Oriented Programming?

I've read lots of articles about Data Oriented Design (DOD) and I understand it but I can't design an Object Oriented Programming (OOP) system with DOD in mind, I think my OOP education is blocking ...
13
votes
3answers
3k views

What is a game framework versus a game engine?

What is the difference between a game framework (e.g. XNA with C#, SDL for c++) and a game engine? Do game frameworks USE engines? Does a game engine encapsulate sub-engines like physics engines, ...
6
votes
6answers
18k views

Unreal Engine 3 vs id Tech 3 vs Unity [closed]

I'm trying to decide which engine I should start using to try to start building a game in. I had chosen Unity, but upon hearing that Unreal Engine 3 had just become kinda free to use, I found myself ...