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

learn more… | top users | synonyms (1)

10
votes
3answers
1k views

What has your experience been with Torque products?

I'm most interested in your experience with Torque-X, the Managed XNA version of their engine. How did it perform in your use case? (also info on your use, would be helpful) What was the usability ...
0
votes
6answers
3k 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 ...
-2
votes
1answer
388 views

How to spawn multiple enemies? [closed]

I can store it in an array, ok, but after how can i paint it? Because if i do enemy = new Enemy(); enemy2 = new Enemy(); i create two istances of the object, but afer how can i paint it? I use: g2d....
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 ...
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 ...
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 ...
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. ...
14
votes
6answers
7k views

What scripting language would you recommend for a C++ game project? [closed]

By scripting here I mean not just putting config data in a script, but scripting parts of the project like some class methods, test specific game loop, etc. This would be not just to accelerate ...
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 ...
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 ...
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 (...
17
votes
5answers
5k views

Do any open source JavaScript 3D physics engines exist? [closed]

I'm working on a web-based 3D FPS game using WebGL, HTML5 and JavaScript. It is supposed to target PCs and net-books with WebGL-enabled browsers installed. I'm wondering if there's an existing open ...
13
votes
2answers
7k 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
3answers
528 views

How can I implement a command system for a point-and-click style adventure game?

I'm making a point and click adventure game, and I'm currently trying to figure out the best way to implement a command system. Assume a Monkey Island or Maniac Mansion style interface, with a ...
11
votes
4answers
4k views

Game engine with good Lua entity creation/management [closed]

I'm looking for an engine that constructs it's entities using Lua or other scripting language. This is in order to find inspiration and do it in my own engine as well. I know that Cryengine does use ...
7
votes
3answers
3k views

How to update entity states and animations in a component-based game

I'm trying to design a component-based entity system for learning purposes (and later use on some games) and I'm having some troubles when it comes to updating entity states. I don't want to have an ...
7
votes
3answers
506 views

Profiling and containing memory per system

I have been interesting in profiling and keeping a managed memory pool for each subsystem, so I could get statistic on how much memory was being used in something such as sounds or graphics. However, ...
5
votes
2answers
2k views

Component based game engine and dependencies - singletons [closed]

I am thinking about how to create component based game engine. I understand that all things should be very similar as in Data Oriented Design (each object is a collection of various structures as ...
5
votes
1answer
600 views

How to insert and remove blocks quickly in a Minecraftian world?

I currently have volume data for the world stored as an array of booleans. I then check each empty block and if it has non-empty neighbors the faces get drawn. This prevents me from sending a bunch ...
2
votes
4answers
2k views

Modifier System C#

I am trying to figure out a system that can easily modify objects on the fly. For example, lets say I have an Entity2D that inherits from Entity. Entity2D has a Position property. Now I have a ...
0
votes
5answers
2k views

Collision detection logic

Edit 2 In the following picture sprite1 (the red square) is hitting the platform from the left, so: sprite1_rightEdge>platformSprite leftEdge would be true, so I can simply reposition ...
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) ...
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 ...
12
votes
8answers
5k views

HTML5 mobile game development vs. native game apps [closed]

What is the current state of game engines, frameworks, libraries and conversions related to the HTML5 set of technologies (including CSS3 and JavaScript libraries such as RaphaelJS, Impact, gameQuery);...
12
votes
3answers
885 views

What platform were old TV video games developed on?

I am very eager to know how TV video games (which we all used to play in our childhood) were developed and on which platform. I know how games are developed for mobile devices, Windows PC's and Mac ...
8
votes
2answers
2k views

OpenGL 2 and back vs 3 and forward: What are the key differences for 2D graphics?

OpenGL contexts before and after OpenGL 3.0 are rather different. So far I've really only worked with buffers on either side anyway, I do know the most notable difference is lack of Immediate Mode. ...
8
votes
6answers
2k views

Game Engine framework or library [closed]

I'm on the planning stages for an internal game engine I am about to start creating, which will be used for all my games going forward. But I'm struggling a bit with how it should be built. The ...
5
votes
3answers
7k views

Open Source Engine for RTS [closed]

I must write a cross-platform real-time-strategy game within 2-3 months. I want use C++ and OpenGL and am looking for an engine. The engine must be open source and work under both Linux and Windows. ...
5
votes
2answers
147 views

Decoupling input from game states / entity behavior

I'm looking for a way or general best practice advices for decoupling the architecture of my game, in the example below the input from the current game state workflow / entity behavior. While I'm all ...
16
votes
4answers
10k views

How can I make message passing between threads in a multithreaded engine less cumbersome?

The C++ engine I'm working on currently is split up into several large threads- Generation (for creating my procedural content), Gameplay (for AI, scripts, simulation), Physics, and Rendering. The ...
15
votes
4answers
6k views

What are the pros/cons of using a 3d engine for 2d games? [closed]

What pros or cons should a beginner be aware of when deciding between a 2d game engine (like Slick2D/Flixel/FlashPunk) and a 3d engine (like Unity) for 2d game development? I am just getting started ...
9
votes
1answer
572 views

Is there anything equivalent to Portal 2's linked_portal_door in any other engines?

I need the functionality of the linked_portal_door that's in Portal 2. I've searched a little in UDK and mostly got people trying to duplicate the portal gun. Does anyone know if UDK, CryEngine, ...
9
votes
2answers
3k views

What is data-driven design? [closed]

I've been reading up on a lot of articles covering data driven design for games. It seems to come down to: No hard coding No game-specific code in the engine Scripting for AI, cutscenes, et cetera. ...
7
votes
3answers
3k views

Questions about rendering access in UDK

I also asked about this over on the UDK forums, but haven't had much luck getting any responses. Basically, I have some experience with UT3 modding, but I'm just getting started with the UDK, and I ...
6
votes
4answers
448 views

Should references between assets be handled by name or ID or something else?

How should content or asset items be referenced in their serialized form? For example, a material might need to reference several textures. The simplest way would be to use a path, relative to the ...
6
votes
2answers
3k 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?
4
votes
2answers
805 views

Development platform for 2D web and mobile games

Is there a game development platform -- similar to Torque, or Unity -- which can be used to deploy 2D games on the following platforms: Web iOs Android Xbox Live Arcade (Preferred but not required) ...
4
votes
1answer
2k views

Game engine for turn based wargame [closed]

I would like to ask for game engine recommendations for turn based wargame development. I would like my engine to support; hex maps agents on hex rule based ai for the agents terrain on hex ...
3
votes
3answers
3k views

Game physics / 2D Collision detection AS3

I know there are some methods you can use like hittestPoint and so on, but I want to see where my movieclip colliedes with another another movieclip. Any other methods I can use? by any chance does ...
3
votes
8answers
4k 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 ...
1
vote
2answers
248 views

persistence of objects between game states

What are the possible ways of sharing different objects between game states and how do other engines implement such system? Lets say a game has a couple of states (a menu state and a game state for ...
1
vote
2answers
775 views

Is there any option other than Component Based for game architecture?

Having read a lot recently on Component Based systems (for games), i find it hard to go back to my earlier state of mind. If static object hierarchies fail to model "objects with a dynamic set of ...
0
votes
1answer
1k views

Managing Game States

I'm thinking about making a StateManager for my game. I want to know how to design it; that is, how to use a stack to push and pop states onto, and draw them to the screen. For example, should each ...
-4
votes
4answers
20k views

Which game engine is ideal for a 3D RPG? [closed]

I am thinking about making a small RPG. I know some basics of openGL, but I do not want create my own engine. My criteria are: Ease of use Can do rpg game 3D Which game engine is ideal for a 3D ...
7
votes
1answer
1k 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 ...
5
votes
4answers
4k views

Entity/Component based engine rendering separation from logic

I noticed in Unity3D that each gameObject(entity) have its own renderer component, as far I understand, such component handle rendering logic. I wonder if it is a common practice in entity/component ...
3
votes
1answer
921 views

Fundamental physics component(s) in component-based game engine

What are the "smallest" physics components in your component-based game engine? Would it make sense to create something like Positionable, Rotatable, Movable, Collidable and combine them the way you ...
1
vote
5answers
4k views

Make the game run 60 fps in Irrlicht Engine

I want my game run at 60 fps, but i don't know where to start, i have the simple loop: while(device->run()){ How do i lock the fps to 60?
1
vote
1answer
170 views

Positioning sprites in a Component-Entity engine

I'm building my first component/entity engine and I'm not so sure about some of my choices. I'm here asking suggestions on my first doubt. I draw objects with 2 different behaviours: 1) Position ...
1
vote
3answers
1k views

What Javascript game engines are out there, other than Impact? [closed]

Does anybody know of a decent (meaning preferably free ;)) alternative to Impact? Any suggestions are very much appreciated!