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
19
votes
5 answers

Build a simple HTML5/canvas 2D game. Game engine recommended to use?

I want to start learning HTML5 with canvas by building a simple 2d game. I want to build one that looks like this one: http://www.youtube.com/watch?v=h4SgiVCPfPk Do you recommend any framework or game engine I could use to do this?
pimpampoum
  • 5,816
  • 6
  • 24
  • 27
18
votes
2 answers

FRP on a game engine. Is it worth it?

Today, I've read about FRP (functional reactive programming). However, I don't know how much this fits in the engine itself. After reading Gerold Meisinger's article, my question is, if it's worth it to use FRP instead of a component-based…
frarees
  • 2,190
  • 3
  • 17
  • 22
18
votes
4 answers

iOS Game Engine

I'm basically new and starting iPhone game development and I want to create 3D games for the platform, I had a look around and it doesn't seems to have much choice if you want a pure 3D oriented game engine that provide you physic etc... While…
Bob McLaury
  • 409
  • 1
  • 5
  • 6
18
votes
7 answers

I'm learning AI, what game could I implement to put it to practice?

I have taken an AI course, and the teacher asked us to implement a game that makes use of one of the AI algorithms. Here is where I need a bit of help: I don't know to what kind of games each algorithm is applied if you could just give an example…
Geo
  • 93,257
  • 117
  • 344
  • 520
18
votes
7 answers

Good 2D Collision Response References

Hey, I'm currently looking for various methods of implementing collision response in 2D video games, something similar to this tutorial Metanet has: N Tutorial I'm looking to implement something in XNA, but any language would be fine. I'm more…
Jeff
  • 1,153
  • 2
  • 15
  • 35
18
votes
2 answers

Working with the coordinate system and game screen in Unity 2d?

So I've developed games in other platforms where the x/y coordinate system made sense to me. The top left representing the game screen with coordinates of (0,0) and the bottom right was (width,height). Now I'm trying to make the jump to Unity 2d and…
Eric Smith
  • 1,336
  • 4
  • 17
  • 32
18
votes
2 answers

What is world space and eye space in game development?

I am reading a book about 3D concepts and OpenGL. The book always talks about world space, eye space, and so on. What exactly is a world inside the computer monitor screen? What is the world space? What is eye space? Is it synonymous to…
gamdevNoobie
  • 357
  • 1
  • 3
  • 8
17
votes
3 answers

Remove Actors from Stage?

I use LibGDX and move only the camera in my game. Yesterday I founded a way to draw the ground in my game. I'm trying to make a clone of Flappy Bird, but I have problems with drawing the ground which is moving on the screen. In every render call I…
Fabian König
  • 323
  • 2
  • 4
  • 10
16
votes
1 answer

SDL_PollEvent() stuttering while idle?

I've cobbled together a very basic game loop in C++ using SDL2, and I've noticed that every few seconds, SDL_PollEvent seems to be unusually slow, even when nothing is happening. I sent my deltaTime to console every loop, and its about 100ms…
Aaron Schultheis
  • 419
  • 2
  • 10
16
votes
4 answers

Game Programming - communication between game objects in 2d

recently I have been trying my hand at coding a game in C#. I'm not using XNA for this, as I thought I would learn more if I coded the game from scratch (although I am using a multimedia engine). I'm trying to design a 2D RPG game - a bit ambitious…
Spoonman
15
votes
2 answers

Ruby sandboxing vs. integrating a scripting language

I am currently working on a text-based game engine in Ruby, with the app separated into Ruby code in /lib and YAML data in /data, which is loaded when needed by the game. I want to allow the data files to contain basic scripts, mostly in an…
Rob Smith
  • 173
  • 10
15
votes
3 answers

How are game (e.g. Oblivion) quests modeled?

I've just started playing Elder Scrolls IV: Oblivion a few days ago, and one thing I cannot help but wonder about is how the quest system is handled programmatically? Specifically, there are many dozens (hundreds?) of quests and even sub-quests in…
TimKlimowicz
  • 691
  • 6
  • 15
15
votes
2 answers

Is there a framework for multiplayer board game in JavaScript?

I will probably use javascript to develop an online board/card game. My approach will be to have a client that will be able to work in standalone mode, so it must enforce rules. That means for example, if a player can't play a card, he or she…
Papipo
  • 2,799
  • 2
  • 23
  • 28
15
votes
2 answers

Why is clock() considered bad?

I was once advised to use a platform dependent method (GetTickCount() for Windows) for getting time instead of using clock(), because it's bad or unreliable. Why? There's also this header functions that many suggest, however, I can't find…
McLovin
  • 3,295
  • 7
  • 32
  • 67
15
votes
6 answers

Unity vs Torque game engines and IDE environment

I want to get people's opinion of Torque and Unity and their IDE tools. You build Torque games using one of their engines (I'm currently interested in the iPhone engine), and Torque Game Builder (the whole thing...engine plus TGB is ~$1000). You…
milesmeow
  • 3,688
  • 5
  • 35
  • 58