Questions tagged [game-engine]

Use this tag only if you are creating or modifying a game engine framework, or if the game engine you use doesn't yet have its own tag on Stack Overflow. Otherwise use the engine-specific tag(s).

A game engine is a software framework designed for the creation and development of video games.

Some game engines even include a suite of visual development tools in addition to reusable software components and an asset pipeline that takes care of pre- and postprocessing resource files.

Many so-called "game engines" only provide real-time rendering capabilities instead of the wide range of functionality (physics, collision detection, pathfinding, user interface controls, AI, etc) needed by games. These engines rely upon the game developer to implement the rest of this functionality and are more correctly referred to as a "graphics engine" or "rendering engine".

3791 questions
6
votes
5 answers

How to check for convexity of a 3d mesh?

Is there a fast way to do this? Searching online shows convexity of functions or single polygons. But I need the ability to check this for the whole model. An object can have convex faces but can be concave as a whole like a torus.
Joan Venge
  • 315,713
  • 212
  • 479
  • 689
6
votes
1 answer

Libgdx pause/resume not called when window is being dragged (Windows)

I am creating a Java game with libgdx. Really liking the engine so far but I noticed an issue when dragging the game window. Rendering seems to stop (which is okay) but I cant find any events that get called during this state. Is there any way I can…
Arbel
  • 425
  • 8
  • 26
6
votes
2 answers

libGDX: Create grid for board game

I am trying to create a simple board game using libGDX. Just that you have a rough idea of what I'm trying to do, imagine Bejeweled (though mine of course is not as complex). The game involves a board with cells as squares. Depending on the level,…
tomet
  • 2,416
  • 6
  • 30
  • 45
6
votes
1 answer

Entity Systems in C++

In game development there is a notion of Entity System which is aiming to simplify the game loop by gaining a flexible architecture. For details see the links…
Narek
  • 38,779
  • 79
  • 233
  • 389
6
votes
4 answers

Isometric engine drawing issue

I'm trying to write a game engine in js (canvas). So far so good. But i got one problem my world is diamond shaped and i render the tiles from top to bottom. The problem is when i have a tile that's bigger than 1 tile (so 2x2 as example) this will…
Sander Visser
  • 4,144
  • 1
  • 31
  • 42
6
votes
1 answer

Game Design MVC - Controller Architecture

Reading an artile on gamasutra had me thinking of how should the controller in an MVC game be designed as: Option 1: The controller should act on the model, Eg: whenever a key is pressed controller calls model: On KeyPress Left …
Lefteris E
  • 2,806
  • 1
  • 24
  • 23
6
votes
1 answer

Using Multiple Vertex Buffers In DX10/DX11

I have a C++ DirectX 11 renderer that I have been writing. I have written a COLLADA 1.4.1 loader to import COLLADA data for use in supporting skeletal animations. I'm validating the loader at this point (and I've supported COLLADA before in another…
WTH
  • 97
  • 1
  • 7
6
votes
3 answers

How to handle lots of objects in a C++ game

The question Sorry about the title, could not seem to find a shorter/better description.. Here's the situation: I am making a simple game in which there is a big map (simple, but very big in size). There are also a lot of enemies on that map, but…
OneMore
  • 1,139
  • 2
  • 9
  • 19
6
votes
3 answers

jBullet example

I am trying to learn how to use jBullet in a project that I am working on and I have reviewed the demo that the source provides but I just cannot figure out how these demo get objects display. Does anyone have a good resource they could point me in…
user1566540
6
votes
3 answers

Android AndEngine: handling Collission Detection properly

I am working on a simple AndEngine game that involves the ff. sprites a.) tanks b.) soldiers c.) bombs I have a similar question located here: Android AndEngine: Simple sprite collision What the game looks like: However upon fixing the initial…
Erasmus
  • 427
  • 2
  • 10
  • 23
6
votes
3 answers

Syntax Error "=="

this is part of my code to my game engine that I am working on. When I build/debug the code, it stops with a compiler error: "Camera.cpp(70): error C2059: syntax error : '==' " and line 70 is the if ( near == far ) line. It also happens on line…
Niro56
  • 65
  • 1
  • 5
6
votes
1 answer

Porting 2d tile based iPhone game to Android.

Are there any good 2d tile based game engines for android I should look into before just jumping right into canvas painting for this game?
Rocky Pulley
  • 22,531
  • 20
  • 68
  • 106
6
votes
2 answers

Andengine: destinguish between OnAreaTouched and OnSceneTouched

Hi Everyone, in the game I develop with AndEngine, there are a lot of sprites running around. Now every of this sprites has a TouchArea registered to the scene, because I display some informations about the sprite when it is touched. The Scene…
GameDroids
  • 5,584
  • 6
  • 40
  • 59
5
votes
3 answers

Choosing a 2D game engine for a simple Zelda-style adventure game

For a Christmas gift, I'd like to make a brief Zelda-style (circa Link's Awakening) adventure game. I have extensive experience with python, JavaScript, XML, PHP but have never undertaken game development. Not picky about platform (investigating…
AteYourLembas
  • 303
  • 3
  • 12
5
votes
2 answers

Besides Impact, what JavaScript game engines exist?

Pls don't include subjective thoughts, or moderators will close this question like they closed our last one (http://stackoverflow.com/questions/7668076/impact-vs-other-javascript-game-engines). We need game engines that can run on iOS devices and…
Crashalot
  • 33,605
  • 61
  • 269
  • 439