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

learn more… | top users | synonyms (1)

3
votes
2answers
226 views

Which of these two particle generator lifetime management techniques is better?

What would be better: An explosion class which gets created when needed, does it's stuff, then is deleted. (one instance per explosion) An explosion class which persists through the whole game, and ...
3
votes
3answers
238 views

How do you apply relativistic physics to a 4x strategy game?

I had the big idea of trying to create a hard science fiction 4x strategy game (with the obvious space setting), which is supposed to simulate a realistic way of creating interstellar societies while ...
3
votes
3answers
3k views

What are the benefits of using a 2D game engine on Android?

I have thought about just coding a 2D game on Android using just pure Java and the Android SDK, no engines like libdgx, cocoa-2dx attached. I don't know if I really need to use a game engine or not. ...
3
votes
3answers
4k views

Cross-platform, free (for commercial use) C/C++ 2d game library or rendering engine? [closed]

i need a C/C++ engine that should be really cross platform (or at least windows, android, and iphone). The 2d engine should be written in C or (better) C++, should permit the rendering of animated ...
3
votes
2answers
638 views

What other components would one have to combine with Ogre 3D render engine to make a full fledged custom game engine?

I have heard that Ogre 3D is not actually a game engine, rather it is a 3D render engine. I have also heard people claim that one can piece it together with other components (engines?) to create a ...
3
votes
2answers
375 views

Importing real world models into a game engine

What are the hardware and software tools required to import physical worlds into a game engine? Can i use a HD camera to do that? What do the popular game engines support?
3
votes
2answers
494 views

How would the entity system handle dependent components?

Currently, I am still learning about entity-component-system, and I have the following question concerning the components. How would the systems handle dependent components? For example, In a 2D ...
3
votes
1answer
2k views

Mental Image of the engine behind an RTS like SimCity/Settlers, what is it?

Disclaimer: I'm first a programmer and then an RTS gamer. This means I'm a complete and utter newb in terms of patterns, best practices and glossary of technical terms on the game dev world. Since I ...
3
votes
1answer
309 views

How can I speed up cocos2d game engine?

I am developing a tower-defense game and I want to permit user to change game engine speed ,for example rotation speed of towers,rockets speed ,enemies moving speed ,counters and etc proportionally. ...
3
votes
2answers
239 views

How can I organise the code for an episodic game?

We're working on a game that's going to be split into three episodes, which we'll release one after another as they get finished. I'm worried that our typical somewhat monolithic architecture is not a ...
3
votes
1answer
472 views

When storing voxels in chunks, how do I access them at the world level?

I'm not looking for how to store the voxels data wise, I'm looking for the theory. Currently, my voxel engine has no global list of tiles. Each chunk has it's own list, and it's hard to do things like ...
3
votes
1answer
482 views

Performace problems with Voxel Engine

well, I am creating a voxel engine in C# and XNA and many posts I have posted on this site have been due to performace issues, many people suggested using a profiler to help me out. I have, and ...
3
votes
2answers
416 views

Best way to verify client files are same as server

In a client server game architecture, what are the possible ways to verify that the client has not modified things like gfx assets or client side scripts? Obviously no solution is perfect, but I ...
3
votes
2answers
471 views

Engine programming, is it supposed to be enjoyable? [closed]

Now this might sound like a silly question and I apologize if this sort of question is not suited for stackexchange. But I am genuinely wondering this, and I feel like I get alot more proffesional ...
3
votes
2answers
675 views

Crafting recipes: storage and quering

Consider following situation. In a game you can perform crafting: i.e. create new items from existing ones (like in Minecraft). I have following game entities (simplified): item: atomic part; ...
3
votes
1answer
92 views

How do engines that can be scripted with a different language than the engine work?

So there are some engines that can be scripted with different languages than of what the engine itself is written with. How does this work?
3
votes
2answers
1k views

Handling movement using an Entity Component-based System Architecture

I have seen various descriptions of how to handle movement in a component-based entity framework. The most common I've stumbled across is the idea of using components called Controller, Physics, ...
3
votes
2answers
1k views

implementing multi pass rendering in a game engine

I have done multi pass rendering before and understand how it works. I did a simple example which rendered a basic scene with shadows. This was all done in one file. Now I am trying to figure out is ...
3
votes
1answer
2k views

irrlicht for android

I was just wondering after noticing that moblox was.built with irrlicht if there is an android port of it? Or did the dev make his own port from scratch? From my research I noticed a port project ...
3
votes
2answers
2k views

What is the best online game framework for Python? [closed]

I want create online game with Python. Is there any framework or library to make it easier? I would like it if the framework provided things like character attributes, such as health.
3
votes
2answers
231 views

What are my options other than game engines? [closed]

I'm a programmer. I've experience in Java, python, and c++. I see that some big games are built using game engines (Crysis uses Cryengine). However, other don't (Bayonetta for example). what's their ...
3
votes
1answer
2k views

Making efficeint voxel engines using “chunks”

Concept I'm currently looking in to how voxel engines work with a view to possibly making one myself. I see a lot of stuff like this ... ...
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
1answer
524 views

Best approach to simple per-fragment lighting - OpenGL

I am programming a graphics engine for an old game. The game uses a BSP geometry which I have rendering perfectly. For it's lights however, it simply has light instances with the standard x, y, z, ...
3
votes
1answer
1k views

Where can I download the Doom Classic source code, the iOS port?

Doom classic source code for iOS was released by id software, and has a download link on this page: http://www.idsoftware.com/doom-classic/. The issue is that the url doesn't work, I sent an email to ...
3
votes
1answer
351 views

Approximating walking physics via simpler sliding physics

I am modeling walking insects. I implement them as cuboids and use forces (including friction and drag), to control motion. However, the movement characteristics of this 'sliding box' physics don't ...
3
votes
1answer
159 views

Chess engine on which to apply a custom-made OpenGL skin

Is there any opensource chess engine that I can use to practice my OpenGL skillset? I think it would be a neat exercise.
3
votes
3answers
113 views

Creating a Game Engine: How to position game objects (top left vs. center)

I'm building a custom game engine in C++ using SDL and I'm not sure how I should define the position of my game objects. I tried googling a bit but I wasn't sure how to refine my search terms to get ...
3
votes
1answer
262 views

Swapping graphics engines

Is it possible, or even feasible, to have graphics engine completely decoupled from game logic? Why I ask is because I want to start working on a game (I'm a complete beginner in game development, ...
3
votes
5answers
219 views

Scripting APIs and scripting to make games

I am confused, what is scripting and what is scripting API? Is scripting the process of writing the game program? And is the scripting API (as in unity scripting API) the API provided by the game ...
3
votes
1answer
116 views

Field of view determination with partially opaque cells

I'm currently implementing the field of view of a player in a 2D-grid based game. I've chosen a standard ray tracing algorithm because he really fits the features needed in my game. However, the ...
3
votes
2answers
100 views

Designing ability interaction system

I am making a turn based game where player chooses a team of heroes with specific abilities for each of them. (ex. stun one enemy, deal 20 damage to all enemies, heal 10 HP to one ally,...) The design ...
3
votes
1answer
70 views

How to store renderer vertex / index data in scene graph objects?

I have a SceneNode class which contains a Mesh instance. The Mesh class stores client side information such as vertex and index arrays (before they're uploaded to the GPU). I also have an abstracted ...
3
votes
1answer
209 views

Creating Scenes Programmatically From A Deployed Build in Unity

This is somewhat of an extension to this question: http://answers.unity3d.com/questions/513801/programatically-creating-entire-unity-games.html I have a client who would like to create an entire game ...
3
votes
1answer
91 views

Proper joystick input processing

Take for example, the Xbox One controller. XInput returns joystick input along 2 axis (x & y). I'm not sure if the hardware just measures voltage across 2 axis or not, I'm not very knowledgeable ...
3
votes
1answer
139 views

Prewarming in particle engines

How is prewarming in particle engines made? I have a particle engine and need to support this, which is a feature I have already seen in Unity. Is it done at compilation, like informations stored ...
3
votes
1answer
3k views

Game development with D programming language [closed]

I have recently found out about D programming language and its basic features. It seems D is quite powerful alternative for C++ and more effective at some points. Also D can interface to C, but ...
3
votes
1answer
4k views

Managing resources

I have a resource manager that loads and returns resources. Currently I just return shared_ptrs for the resources I create, but I'm thinking about going over to using something like simple handles, ...
3
votes
1answer
297 views

Resource management question. Resource containing resource

I have resource manager handling as usual resource loading, unloading etc. With resources such an images, mesh no problem. But what to do when I have resource containing other resource (for example ...
3
votes
1answer
186 views

Using allocators for different systems

I am going over the memory architecture for my game and even though I know my memory budgets may not be final, I at the point where I can start using them in a general sense. I know that I will need ...
3
votes
1answer
493 views

What is the best way to code the XNA Game Server for FPS game?

I'm writing a FPS XNA game. It gonna be multiplayer so I came up with following: I'm making two different assemblies — one for the game logic and the second for drawing it and the game irrelevant ...
3
votes
2answers
2k views

Looking for an Open Source Game Engine with Crowd Simulation [closed]

I am looking for a game engine for my school project on computer graphics. There are specific requirements that I do not want to implement by myself, since they are irrelevant for the grade, but ...
3
votes
1answer
475 views

Engine Design for Rendering Reflections

I have a very simple game engine. A GameObjectManager stores a collection of all the GameObjects. When I want to render, I just call GameObjectManager.render() from the rendering context. This works ...
3
votes
1answer
963 views

2D game engine for UI - suggestion needed

I am planning on making a simple real-time strategy game from the series Stargate Universe. For those who don't know, in the series' center is a spaceship called Destiny. It has a nice control room, ...
3
votes
1answer
86 views

Ideal draw order - sort primarily by distance or material?

When it comes to pre-sorting the draw calls for a given frame, I am aware of two different methods for optimising. The first is to batch draw calls by their material. This minimises shader changes ...
3
votes
1answer
162 views

How do I let a game support different rule sets?

I'm making a MUD game engine that supports D&D , Pathfinder and other tabletop-RPG rule sets. I am starting to build out how characters interact with the world (e.g. dialog, battle, searching for ...
3
votes
1answer
2k views

How to program dynamic touch events that scale according to device?

When using openGL to build a UI for my prototype I find that that I am still required to use pixels to capture touch events. To make matters worse the Android Docs make this subject slightly ...
3
votes
3answers
187 views

Collision and Graphics integration

I'm a little confused about the integration between collision and graphics. They both need to share the same position in the world. The most obvious choice is the center of the entity, which is good ...
3
votes
1answer
205 views

Is there a browser game engine with options of payments? [closed]

I would like to make some browser game, where you can buy stuff for real money. Is there any engine I could use? Or should I implement it by myself?
3
votes
1answer
378 views

Vector fields and game engine

It exist a game developed with a vectorfield game engine? What I mean is that instead of calculating intersections, one could calculate the vector field generated for example by gravity, and for ...