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

learn more… | top users | synonyms (1)

0
votes
0answers
15 views

how to disable touch in Quintus?

hi i'm new in web games development and trying to build card game using the Quintus game engine i have object called card i can touch and drag it in the screen but i want just to touch and drag it one ...
-1
votes
0answers
49 views

I'm developing a Component-Entity game engine and could use some guidance/opinions on design [closed]

After writing this... it's a bit of me thinking out loud, so I know it's a poor question, but I'm struggling with anxiety, and being uncertain about how to do things puts a lot of strain on me, often ...
-2
votes
0answers
50 views

How was the art for Braid created? [closed]

All the backgrounds, foliage, well everything you see really. Would it have been free hand drawn with a tablet or example or how is it done?
-1
votes
0answers
30 views

WebGL First Person Camera - Matrix issues [closed]

I have been trying to make a WebGL FPS camera.I have all the inputs working correctly (I think) but when it comes to applying the position and rotation data to the view matrix I am a little lost. The ...
1
vote
2answers
80 views

Fast determination of whether objects are onscreen in 2D

So currently, I have this in each object's renderer's update method: float a = transform.position.x * Main.scale; float b = transform.position.y * Main.scale; float c = ...
-1
votes
0answers
17 views

which one should I choose cocos2d-iphone or sprite-kit? [closed]

I'm interested in game Development.IOS,which game engine should i choose sprite-kit or Cocos2d-Iphone
10
votes
1answer
291 views

How are entity systems cache-efficient?

Lately I've been doing a lot of reading on entity systems to implement in my game engine (C++/OpenGL). The two key benefits that I constantly hear lauded about entity systems are 1) the easy ...
-4
votes
1answer
70 views

Do total conversion mods require absolutely no programming or scripting skills? [closed]

I tried to look up total conversion and other mods as examples (Counter-Strike, Defense of the Ancients, Gunman Chronicles, Dear Esther, Natural Selection) but it is a bit difficult to find out if ...
0
votes
0answers
32 views

How to run C++ functions from other files [duplicate]

I want to set up my game engine I'm making to essentially load C++ code from another file, and to load initialization variables from those files also. I was thinking a system that has files that store ...
1
vote
0answers
53 views

OpenGL ES 2.0 state management best practices [closed]

I use a game engine with dynamic sprite batching for 2D games on mobile platforms (MOAI SDK). It already handles redundant state changes pretty well - with the use of texture atlases it only flushes ...
1
vote
1answer
93 views

GLSL Processed Image to OpenGL

I've tried wording and rewording this question in various forms of search and can't seem to find an answer to it. If I'm wording it wrong and/or just not finding the right information, feel free to ...
0
votes
1answer
121 views

Gamemaker vs Unity2d - Speed of Development [closed]

I know coding, so programming is not a problem Money is not a problem at all, I can get both GameMaker Master Collection and Unity Pro I want to make a 2d game. So which one is better for speed of ...
1
vote
0answers
102 views

UI rich Strategy/RPG UI - 2D Game Engine or UI Toolkit? [closed]

I'm on the fence regarding the graphics engine of my current game and hope for some advice. This is an UI heavy strategy/rpg. Although the game is played on a (simple) 2D map, it is largely turn ...
2
votes
1answer
108 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 ...
0
votes
1answer
98 views

GPL Game Engine - What needs to be released under GPL?

I'm hoping I can clarify this issue. Note, a similar question has been asked here, but it doesn't really give a specific enough answer that I can comprehend at this point! :- How does one escape the ...
0
votes
1answer
56 views

Proper way for Player object to communicate with Map object?

I'm writing my first game (in javascript / node over websockets) and am running into a bit of chicken and egg problem, and am afraid how I'm doing it right now won't scale once the game gets more ...
0
votes
1answer
55 views

What is the optimal way to handle matrix internal data storage for interop with native graphics apis?

I'm writing a managed (c#) game engine and have stumbled on a bit of a crossroads in design/implementation regarding matrix types. Matrix types need to be optimized for marshaling to native graphics ...
2
votes
1answer
101 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 ...
1
vote
1answer
103 views

Fire Delay Timers

I currently have a turret that can fire projectiles. I can control the delay between shots (fireDelay), and I can control the time needed to reload the magazine of the gun(reloadDelay). I do the ...
0
votes
1answer
28 views

Moving multiple hingejoints based on joystick input

I'm controlling a 2D side-viewed (facing right) stickman with a joystick. The movements are fairly intuitive: Joystick down -> Stickman crouches down Joystick up -> Stickman stretches out ...
0
votes
1answer
79 views

The sprite will not move in libGDX

When I ran the android application, The sprite image will not move when I press the input keys. I followed a tutorial based on input keys and wish to know what's wrong. Can anyone see what's wrong? ...
2
votes
1answer
116 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, ...
11
votes
5answers
2k views

How can I run on multiple platforms using a custom engine?

Game engines like Unity and Unreal can run on mutiple platforms. I am wondering how they do this. I have been using C++ and OpenGL for a while, and what I am looking for is resources to integrate ...
0
votes
2answers
100 views

Currently developing a game with Android SDK, should I switch to a game engine in future projects? [closed]

I am an android developer, and I've made several apps on the Google Play Store. I'm currently working on my first game, which is just a simple RPG for android, that I'm coding in java with the android ...
15
votes
3answers
3k views

Does allocating and freeing a huge chunk of memory at startup “clean up memory”?

The book Game Coding Complete, Fourth Edition, chapter 5 (Game Initialization and Shutdown), section Checking Memory contains this interesting code sample: bool CheckMemory(const DWORDLONG ...
0
votes
1answer
54 views

Why is my application getting more CPU usage while it's halting the operation [closed]

I have a question about the way OS gives CPU time to the applications. Usually when I render my scene with a single object in it I get ~8% CPU usage, but when I stop the framework for further process ...
3
votes
1answer
90 views

Prewarming in particle engines

How is prewarming in particle engines made? I have a particle engine and need to support this, which is a feature I have already seen in Unity. Is it done at compilation, like informations stored ...
3
votes
1answer
85 views

How can I speed up cocos2d game engine?

I am developing a tower-defense game and I want to permit user to change game engine speed ,for example rotation speed of towers,rockets speed ,enemies moving speed ,counters and etc proportionally. ...
2
votes
1answer
80 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 ...
1
vote
2answers
266 views

How can I support objects larger than a single tile in a 2D tile engine?

I´m currently working on a 2D Engine containing an isometric tile map. It´s running quite well but I'm not sure if I´ve chosen the best approach for that kind of engine. To give you an idea what I´m ...
-2
votes
1answer
99 views

Is Unity a well suited engine for games with procedually generated environments? [closed]

I've been looking for a suitable game engine for a new project, which will rely heavily on procedurally generated 3d environments. I've been looking into Unity, but it's not clear to me at this stage ...
0
votes
1answer
97 views

AndEngine - Performance problems with many entities

I'm developing a rolling scene based game I'm loading all the entities from a XML file and create them in the Loading Scene recently I increase the game width , and by doing so , in the whole level I ...
0
votes
2answers
83 views

Data oriented design vs visibility

I'm almost sold on the concept of a data oriented engine -- however, one thing still eludes me. If we pack the data from a large level into huge arrays and go over them, any visibility system that we ...
0
votes
2answers
113 views

Without using a pre-built physics engine, how can I implement 3-D collision detection from scratch? [closed]

I want to tackle some basic 3-D collision detection and was wondering how engines handle this and give you a pretty interface and make it so easy ... I want to do it all myself, however. 2-D ...
0
votes
0answers
26 views

Turning on collision crashes game

I am getting a null pointer excecption to both my sprite and level. I am working on my mob class, and when I try to move him and the move function is called, the game crashes after checking collision ...
2
votes
2answers
217 views

C++ property system interface for game editors (reflection system)

I have designed an reusable game engine for an project, and their functionality is like this: Is a completely scripted game engine instead of the usual scripting languages as Lua or Python, this uses ...
0
votes
0answers
85 views

XNA - Finding boundaries in isometric tilemap

I have an issue with my 2D isometric engine. I'm using my own 2D camera class which works with matrices and need to find the tilemaps boundaries so the user always sees the map. Currently my map size ...
0
votes
0answers
75 views

Maintaining State in Mud Engine

I am currently working on a Mud Engine and have started implementing my state engine. One of the things that has me troubled is maintaining different states at once. For instance, lets say that the ...
0
votes
1answer
110 views

Separate parts of a game engine [closed]

I'm pretty new in developing videogames. By now I only used SDL with C/C++ to create games. I'm currently learning OpenGL and I realized that to be fluid and easy to maintain the code must be ...
0
votes
0answers
93 views

Zooming in isometric engine using XNA

I´m currently working on an isometric game engine and right now I´m looking for help concerning my zoom function. On my tilemap there are several objects, some of them are selectable. When a house ...
1
vote
2answers
172 views

What's the difference between an “SDK” and an “engine?”

In delving into Game Programming, I have encountered both SDKs and Game Engines. Please define these, and give their relationships and differences to each other.
-3
votes
1answer
132 views

Is a game engine actually needed to make games? [duplicate]

I see Game engines like Ogre are just software wrappers or software systems to enable easier access to certain features provided by other programmers that are relevant to game development. However, ...
2
votes
1answer
207 views

How should I traverse entities and components for their per-frame updates?

I am implementing a simple entity/component-based engine in C++ and am unsure about the best way to store references to entities/components and what the best way to traverse them each game step would ...
1
vote
0answers
123 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 ...
9
votes
3answers
1k views

How many active shaders at one frame in the game (should I typically use)? 5? Or more like 100?

I have a question: how many shaders are usually active at the same time in one scene in modern games? I mean: I know that multiple shaders are being used (switching between them in each frame). And ...
13
votes
7answers
3k views

Why do game developers write their own engines instead of using existing ones?

I observed that most of the most, big and well-known game titles developers oftenly develop their own engines - like Valve has their engine, Crytek has their own, Ubisoft has their own, Epic games has ...
1
vote
1answer
75 views

Structure gameobjects and call events

I'm working on a 2D tile based game in which the player interacts with other game objects (chests, AI, Doors, Houses etc...). The entire map will be stored in a file which I can read. When loading the ...
2
votes
2answers
653 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 ...
0
votes
1answer
112 views

Generating shaders from fragments / HLSL Dynamic Linking in older shader models

In shader model 5 is a feature called dynamic linking which separates hlsl fragments by using interfaces and their methods implemented in classes. I don't have any experience with this technique, my ...
0
votes
0answers
32 views

alBufferData() sets AL_INVALID_OPERATION when using buffer ID obtained from alSourceUnqueueBuffers()

I am trying to stream audio data from disk using OpenAL's buffer queueing mechanism. I load and enqueue 4 buffers, start the source playing, and check in a regular intervals to refresh the queue. ...