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
322
votes
8 answers

Component based game engine design

I have been looking at game engine design (specifically focused on 2d game engines, but also applicable to 3d games), and am interested in some information on how to go about it. I have heard that many engines are moving to a component based design…
a_m0d
  • 12,034
  • 15
  • 57
  • 79
263
votes
11 answers

2D cross-platform game engine for Android and iOS?

I've worked for some time with Unity3d and found it's 2D part with OnGUI() or GUITextures too clumsy. Also, even a smallest game done on Unity3d is at least 10MB download which is just too much for a 2D game. So, I'm currently looking for an engine…
iseeall
  • 3,381
  • 9
  • 34
  • 43
85
votes
9 answers

2D Cross-Platform Game Development Engines

I've worked for some time with Corona SDK and love how fast and easy I can create powerful apps using Lua. But it can only compile for iOS and Android, which feels like too little now. My main interest is for it to be able to compile to Desktop AND…
Hate Names
  • 1,596
  • 1
  • 13
  • 20
63
votes
5 answers

Why transform normals with the transpose of the inverse of the modelview matrix?

I am working on some shaders, and I need to transform normals. I read in few tutorials the way you transform normals is you multiply them with the transpose of the inverse of the modelview matrix. But I can't find explanation of why is that so, and…
user1796942
  • 3,228
  • 5
  • 29
  • 38
51
votes
6 answers

What is a good game engine that uses Lua?

I know Love2D and Corona SDK (for mobile devices). Is there any other game engines that use Lua you recommend?
Fábio Perez
  • 23,850
  • 22
  • 76
  • 100
51
votes
4 answers

How to create a simple 2D game for Android?

I'm a complete newbie when it comes to game development and I need someone to point me to the right direction. For the sake of clarity please consider the following animation. Basically I need to know how to emulate the above animation as an…
2hamed
  • 8,719
  • 13
  • 69
  • 112
48
votes
4 answers

Understanding scenes in Unity3d

I have some confusion with scenes in Unity3d and I was not able to find any resources about them. When should scenes be used? For example in a platformer would every level have to be a different scene? Would the main menu be a scene? Can one…
user2853108
  • 1,291
  • 3
  • 12
  • 15
40
votes
11 answers

Corona SDK free alternatives

I tried corona sdk free edition, i really liked it. The problem is, that im not so good developer to use corona paid edition for my small project, i'm aware that i'll not earn my money back. Are there any free alternatives, like Corona? I'd prefer…
artouiros
  • 3,947
  • 12
  • 41
  • 54
37
votes
13 answers

Making a hack proof game in Javascript

Suppose you created an online game in HTML5/JavaScript. All the code would be downloaded into the user's browser, and they would run the game. How do you stop someone from copying the game onto their computer, and injecting functions and modules to…
Tom Gullen
  • 61,249
  • 84
  • 283
  • 456
35
votes
7 answers

Is there any game engine in Scala?

I wonder if there are any game engine written in Scala or easily accesible from Scala?
Roman Kagan
  • 10,440
  • 26
  • 86
  • 126
32
votes
4 answers

HTML5 2d Hex Board Game (tabletop) Engine

I'm looking for a very simple HTML5 2D Hex / Touch game engine framework to build board game like: Turn based 2D Hex Grid Wargame Dungeon Crawler Settlers of Catan Krosmaster I found an awesome article on Hexagon grids with a D3.js implementation…
Jean-Philippe Encausse
  • 1,491
  • 2
  • 22
  • 40
30
votes
3 answers

Android Studio + Liquid Fun

I'm trying to setup Android Studio + LiquidFun. I follow a lot of tutorials like these: http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/ http://tools.android.com/tech-docs/android-ndk-preview But either isn't comprehensive or…
27
votes
3 answers

OpenGL and OOP program structure

I've worked on a variety of demo projects with OpenGL and C++, but they've all involved simply rendering a single cube (or similarly simple mesh) with some interesting effects. For a simple scene like this, the vertex data for the cube could be…
Jeff
  • 2,149
  • 3
  • 17
  • 19
27
votes
4 answers

Math used in 3D (Game) Engine Programming

I'd like to get an idea what kind of math is typically necessary for 3D game engine programming? Any specific math (such as vector geometry) or calculation algorithms (such as fast fourier transforms), or is this all abstracted away with…
Alex
  • 75,813
  • 86
  • 255
  • 348
26
votes
2 answers

How can a 3D game render an object without having a sprite for every single angle?

When learning to program simple 2D games, each object would have a sprite sheet with little pictures of how a player would look in every frame/animation. 3D models don't seem to work this way or we would need one image for every possible view of the…
reddead
  • 320
  • 3
  • 7
1
2 3
99 100