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
3 answers

Live Wallpaper with Game Engine or not?

I'd like to develop a live wallpaper. After some research, I concluded that there were two options to create one : Directly, i.e like it's said on Android-Developpers ( http://developer.android.com/resources/articles/live-wallpapers.html ) Or…
Trox
  • 349
  • 1
  • 5
  • 15
6
votes
2 answers

SpriteKit: Should I pan the camera or move the background?

When building a game with SpriteKit, with a platformer game (like Doodle Jump for example), is it preferable to move the camera up, or the background nodes down ? What is the standard practice in other frameworks ?
Alexandre Cassagne
  • 2,384
  • 23
  • 40
6
votes
1 answer

Getting joystick input in Java

I am working on a project which requires me to take input from a joystick. I'll be using my Logitech Extreme 3D Pro, but I guess it will be the same for all joysticks. If it matters I am using windows 10. I have made several google searches but I…
sir_weasels
  • 61
  • 1
  • 2
6
votes
1 answer

Game-Loop in Firemonkey for Android

im currently making a 2D game in Firemonkey for my Android phone using some TImage Controls and controling their positions and angles. Simple as that. I tried to use my normal way of looping, which works well/flawless in Windows but fails on…
KoalaGangsta
  • 397
  • 1
  • 17
6
votes
2 answers

Javascript: Animated GIF to Data URI

I am writing open-source Falloutish 2 game in PHP+HTML+CSS+JavaScript. Right now dealing with the engine. I have this gif: https://dl.dropboxusercontent.com/u/4258402/nmwarrgb_e.gif ...which I want to convert to Data URI. I need to do this because…
Rav
  • 1,460
  • 1
  • 21
  • 33
6
votes
1 answer

vector of unique_ptr deleting?

I have an issue with a segfault that I can not figure out. It's from an EntityManager for a small game engine I'm working on. I can add the Ship Entity, and the Ship can add 1 Bullet Entity, but it segfaults if I try to add more than 1 Bullet. I've…
6
votes
7 answers

Models for 3d game programming?

I'm a beginner in game development and game programming. I have experience in computer graphics - mainly OpenGL In those days Finally, I have some spare time to polish my game coding skills. But when coming to program a simple 3d game, I couldn't…
Protostome
  • 5,569
  • 5
  • 30
  • 45
6
votes
2 answers

Rotating a bit matrix

Let's say I am using a char array of size 8 to represent a collision mask for an image. Each bit of the char represents a pixel. In reality I will be using a long[64] array for a 64x64 matrix. So a box will appear…
6
votes
1 answer

How to approach porting a game engine to another platform?

I've run into this problem several times before and wanted to hear what other's experience and advice is. Assume you have a working and stable but relatively small game engine that works on only one platform, and you want to port it to another…
CodeSmile
  • 64,284
  • 20
  • 132
  • 217
6
votes
1 answer

How to convert to a HDR renderer?

I am in the process of converting my webgl deferred renderer to one that uses high dynamic range. I've read a lot about the subject from various sources online and I have a few questions that I hope could be clarified. Most of the reading I have…
Mat
  • 961
  • 12
  • 28
6
votes
7 answers

Help with game development. Render loop?

I'm working on a simple game, this is my first game project. Most of the samples I find have a Render Loop where all the game logic is made too and I just don't like this. Let's say I have a ball with X=0, and a wall in X=10 and in a slow machine,…
John
  • 83
  • 1
  • 3
6
votes
1 answer

Android: how do I do the opposite of 'Matrix.mapPoints(float[] points)'?

If I have a point and a Matrix: float point[] = new float[]{x,y}; Matrix matrix = new Matrix(); and call: matrix.mapPoints(point); how could I reverse the effects that matrix.mapPoints(point) has on point? This isn't the actual application that I…
raystubbs
  • 193
  • 4
  • 7
6
votes
1 answer

Ambigious OpenGL Default Camera position

in my Opengl programs (before i apply perspective projection matrix) whenever i draw some object I draw it at the origin of the world coordinate system, however almost all of the Opengl tutorials states that the camera (My projection view) is…
BulBul
  • 1,159
  • 3
  • 24
  • 37
6
votes
2 answers

Have any commercial video games ever used Prolog?

Have any commercial video games ever used Prolog? With is rules-based logic based model it seems like it have some place in the industry. PS: as odd as this question is it still meets all the criteria for a question on SO.
Sled
  • 18,541
  • 27
  • 119
  • 168
6
votes
2 answers

LibGDX Stage vs SpriteBatch to draw the Game

I have a big problem with the drawing in LibGDX. First I don´t use every physics or other complicate things in my game. I only draw sprites and put Rectangles at this for Collision Detection. I have 3 Screens in my game: splash, menu and game. So I…
Fabian König
  • 323
  • 2
  • 4
  • 10