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

learn more… | top users | synonyms (1)

2
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 ... ...
2
votes
1answer
311 views

Do games depend on OS to scale resolution?

I'm having issues with my computer related with scaling when using different resolutions other than the native. So I started to wonder, in PCs, is scaling handled by the card driver or the game ...
2
votes
2answers
2k views

Java: How to Make a Player Class in a Tile-Based RPG

So I've been following a JavaHub tutorial that basically uses a pixel engine similar to MiniCraft. I've attempted to make a Player Class as such, and I'm basically making a mock Pokemon game for ...
2
votes
2answers
289 views

Alerting enemies to my presence when I make a sound in a Wolfenstein/DOOM style game engine

I am working on a raycast-based 3D game and things are going well, but I am now currently working on the AI of an enemy. I want to make it like how DOOM did it but don't know how to handle how and ...
2
votes
2answers
857 views

Do Playfish and Zynga use Flash game engines? [closed]

I'm very interested to learn how to make 2D and 3D games, but I'm very new to this field so I am wondering if companies like Playfish, Zynga and other producer of games on Facebook are using publicly ...
2
votes
1answer
136 views

How to run physics simulation in the background for possible future outcomes?

I'm designing a physics-heavy game in 3d. The core mechanic of this game is that the user gets to choose his actions based on probable future outcomes. For example - the player has a choice whether ...
2
votes
2answers
2k views

How can I reduce Unity's package size?

I've been experimenting with Unity3D 4.3's 2D features. I've created a simple prototype game to learn how Unity works, how to create sprite animations, collisions and all the basic things. My ...
2
votes
2answers
142 views

Gameover scene transition [duplicate]

I created a gameover scene in a crafty.js project but it does not run. Crafty.scene('gameover', function() { Crafty.background("#ccc"); Crafty.audio.stop("bg"); }); var gameOver = ...
2
votes
1answer
1k views

CPU usage, game loop and sleep()

I've read about this topic on numerous discussion sites, but I can't seem to find a clear definitive (up-to-date) answer, and hopefully this will me some more insight: I've read the excellent game ...
2
votes
4answers
299 views

Getting into the details of game engine programming [closed]

I am interested in learning game programming, but I really have an interest in the lower level engineering in games. I have OpenGL experience, and I am really interested in learning more about ...
2
votes
2answers
427 views

Importance of scripting engine at Cocos2d Game Engine

Each Game Engine is different and solves different problems in different ways, so the engine design does vary greatly from engine to engine (even though a lot of principles are shared from engine to ...
2
votes
3answers
2k 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 ...
2
votes
1answer
390 views

Efficient manager/controller for uniform and/or attribute variables in a rendering engine

Most engines on the market have their drawbacks and it's difficult to find a simple/light-weight one that's open-source and doesn't have to put you through a rather complex learning process. Writing ...
2
votes
2answers
323 views

Scroller game level map advice

I'm started a XNA project to make a game similar in gameplay to Super Spy Hunter on a NES, which is used as a feature reference. The first thing I thought of is how to store and display level. ...
2
votes
3answers
781 views

Is there a HTML/JS game engine/library that deals with things (HUD, menus, accounts, etc) other than the core gameplay?

I've been looking through the many HTML/Javascript game engines/libraries out there (many of which are found here https://github.com/bebraw/jswiki/wiki/Game-Engines). Most of them seem fairly ...
2
votes
1answer
1k views

(Abstract) Game engine design

I am writing a simple 2D game (for mobile platforms) for the first time. From an abstract point of view, i have the main player controlled by the human, the enemies, elments that will interact with ...
2
votes
1answer
2k views

N64 SDK and Coding

Recently I've been looking into developing games for N64 emulators and modding existing ROMs and I wanted to know if there are any tools out there which can be used to write the code for the emulators ...
2
votes
2answers
691 views

Audio Design and XAudio2 Performance Issues

I have a very basic understanding of audio and was hoping I could get some help to resolve a problem with the audio design in my engine. Let me give you a run-down of how I've currently got it fitting ...
2
votes
1answer
124 views

What types of matrices are needed for game and graphics programming?

I am writing a 3D math library for general game development and want to know what type of Matrix classes I should include. Is just a 4x4 matrix enough, or must I provide 3x4 and dedicated rotational ...
2
votes
1answer
1k 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 ...
2
votes
1answer
154 views

Multi-Threaded Pipelined Game Engine Data Synchronization Questions

Let's say I'm setting up a worker pool based game engine with pipelining. Let's say I have 4 stages in my pipeline as such: Stage 1: Physics Stage 2: AI/Input Stage 3: Game Logic Stage 4: Rendering ...
2
votes
1answer
167 views

Does a game engine affect the quality of pre-baked Global Illumination?

If I were to pre-bake Global Illumination into light maps using a high quality renderer like Mental Ray or PRman, and loaded it into two different engines such as Unity and Unreal, would there be a ...
2
votes
1answer
557 views

2D/Isometric map algorithm

First of all, I don't have much experience on game development but I do have experience on development. I do know how to make a map, but I don't know if my solution is a normal or a hacky solution. I ...
2
votes
1answer
221 views

What data should a generic collision detection system gather?

I'm working on a relatively generic 2D AABB collision detection system for a game engine, and I've re-written it more times than I'd like to admit due to not calculating/recording specific details of ...
2
votes
1answer
3k views

in iOS, does CADisplayLink automatically control the app's 'timestep'?

I'm writing an iOS game that uses OpenGL ES 2.0. I have my 'OpenGLView' which contains a - (void)setupDisplayLink { CADisplayLink* displayLink = [CADisplayLink displayLinkWithTarget:self ...
2
votes
1answer
322 views

Does PushButton Game Engine have the notion of a Camera?

I am playing around a bit with the PushButton Engine for game development in Flash and have come across a need for a Camera like the Camera that follows Mario in Mario Games. Flashpunk has a nice ...
2
votes
1answer
91 views

Accessing the command line from in-game?

Is there a way to interact with the command line (Linux/Windows) from in-game using a game engine such as Unity or Unreal? I would like to have the user be able to jump on a console or even just ...
2
votes
1answer
148 views

What is missing from SDL for it to gain more widespread adoption? [closed]

As I understand, SDL offers abstractions that let you make windows, handle input and audio much easier than doing so directly with the low level APIs provided by several operating systems. However, ...
2
votes
1answer
126 views

How to subscribe to an event fired from any Instance/Object of type X

I'm currently working on a small game-engine and i'm kinda stuck on finding the right pattern to subscribe to an event fired from any instance of type X.To understand what i'm trying to achieve, here ...
2
votes
2answers
346 views

Handling cyclic dependencies in entity/components system

I built an rather standard C++ entity/component system (a bit like this one). Components can access other components through their associated Entity. This is usually done by getting some kind of ...
2
votes
1answer
442 views

How to implement input handling in a C game engine?

I am starting to learn C programming (though I have a lot of experience using higher-level languages). I want to write a game engine using C and OpenGL. I think I understand the graphics rendering ...
2
votes
1answer
1k views

How to scale openGL textures by a ratio based on height/width (or alternative)

I have been able to successfully allow my UI to extend over edges of my game on higher resolutions by using the Android Guide and by implementing this code on the GL10 object: ...
2
votes
1answer
213 views

How to implement a multi-platform Java 2D game engine's graphics?

I'm not sure whether this question should be posted here. I'm trying to make a basic generic game engine in Java. Here's what I have so far. public abstract class Device { public abstract void ...
2
votes
1answer
165 views

Good practices while working with multiple game engines, porting a game to a new engine [closed]

I have to work with multiple game engines, like Cocos2d Unity3d Galaxy While working with multiple game engines, what practices should i follow? EDIT: Is there any guideline to follow, that would ...
2
votes
2answers
5k views

What 2D game engines are there available for C++? [closed]

I just realized there are not C++ 2D Game Engines that I know of. For example, something like Pygame in Python, or Slick2D in Java. We have the following: SDL -> Too low level, not a Game Engine ...
2
votes
3answers
252 views

What are the pros and cons of a non-fixed-interval update loop?

I am studying various approaches to implementing a game loop and I have found this article. In the article the author implements a loop which, if the processing falls behind in time, skips frame ...
2
votes
2answers
4k views

Java game engine for android and desktop [closed]

I want implement 2d game as desktop application. And after development move it to android platform. Engine should be have input and network managers. Help me choose.
2
votes
2answers
230 views

Why does my win32 call, contained in a Class method, fail?

Using a Direct3D Tutorial, I took the knowledge and encapsulated it into a class. The code builds in MSVC 2010 fine, and I've handled all compiler warnings pertaining to my project with the highest ...
2
votes
1answer
1k views

How to setup JBox2D

I resently downloaded the JBox2D but how do I set this up?.. Its jbox2d-2.1.2.2 All I can see is a bunch of code and folders. Any websites with step by step tutorial?? You know how??
2
votes
2answers
2k views

Looking for an Open Source Game Engine with Crowd Simulation

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 ...
2
votes
1answer
520 views

Visual script editing software tool for creating game behavior logic

Is there a visual script editing software tool in any game engine similar to Visual3d for creating game behavior logic by non-programmers like designers?
2
votes
1answer
396 views

How to include compiled GameMonkey script in final game release instead of script source?

I use GameMonkey to script the game play and use the script from my C\C++ host game. I've got it working the script with my engine. But I have a question. In these engines like Torque, Unreal, Unity, ...
2
votes
0answers
142 views

Abstracting Game Logic from Game Engine [closed]

I've seen that the Quake 3 Engines uses QVMs and DLLs for the gamelogic. Unity uses some kind of Component-Entity system. My question is basicly: What's a good way to keep the engine seperated from ...
2
votes
0answers
143 views

Preferred way for game to interface with game engine [closed]

I've been trying to find some mention of how ones game project should interface with a game engine, to no avail. This is my question: You use different engines in different ways, some examples: The ...
2
votes
1answer
395 views

Combining 2D and 3D in game engine

I've implemented basic 3D functionality and made little "2.5D" demo in orthographic projection using OpenGL ES 2 and Box2D. Now I want to make completely two-dimensional game (using sprites) and ...
2
votes
1answer
96 views

Getting an instance of KX_PolygonMaterial in Blender

I've got a question concerning using Python in Blender's Game Engine. Before I start I want to state that I'm trying to change the color of an object in Blender's game engine. To do this, I'm ...
2
votes
1answer
155 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?
2
votes
3answers
436 views

Game engine that allows for objects being placed in-game [closed]

I am looking for a game engine with multiplayer support that allows for players to place objects in the terrain. (eg. in TF2 one can place teleporters, etc... or in minecraft one can place blocks). I ...
2
votes
1answer
535 views

Dynamically Deformable Terrain In Game Engine

I am looking for a game engine that is open to the public for free or at a payed price that allows for any reasonable way of doing deformable terrain over a network. The closest I have found to this ...
2
votes
0answers
164 views

Problems loading Hilva tutorials [closed]

I'm a newcomer to XNA, and I'm evaluating some libraries. The Hilva Graphics Engine looks interesting, and I'm trying to run their tutorials. However, all of them give me errors. For example, if I ...