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
33 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 ...
-1
votes
0answers
21 views

Looking for Open Source engine for building Real Time Multi-player Quiz games like Quizup,Quizlet [on hold]

Any recommendations for Open Source engine for Real Time Multiplayer Quiz game like Quizup,Quizlet. Intended Platforms - Web,Android,IOS Game engine should have below features (may be some more): ...
0
votes
1answer
27 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
36 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? ...
-1
votes
0answers
13 views

Open Source/Free classic Role Playing system for a game [on hold]

I am designing a classic fantasy Role Playing game for a mobile platform. I am looking for a good Role Playing system which I can use as my rules foundation. Ideally it will have the following: ...
0
votes
0answers
39 views

A game engine for a 2d fighting game like skullgirls? [closed]

I want an engine that I can make a 2d fighting game similar to skullgirls: Having those visual novel style dialogs with fights in between. Anyone have any ideias? I'm also pretty new to programming. ...
0
votes
1answer
31 views

Android - 3d view with object picking, dynamid textures and camera changing [on hold]

I need in an application to add a 3D viewport inside an activity, together with some other buttons. I need the viewport to allow object picking, so user can click on objects, dynamically changing ...
1
vote
1answer
90 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
88 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
47 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
81 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 ...
2
votes
1answer
61 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
63 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 ...
0
votes
2answers
149 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
81 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
53 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
77 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
108 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
25 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
180 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
70 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
54 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
107 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
77 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
165 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
120 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
190 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
118 views

Abstracting Game Logic from Game Engine

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
0answers
54 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
448 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
93 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
31 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. ...
21
votes
6answers
3k views

How to solve the big video memory requirements in 2d game

We are developing 2d game (Factorio) in allegro C/C++ and we are facing the problem with increasing video memory requirements as the game content increases. What we currently do is, that we gather ...
0
votes
3answers
97 views

How can a game engines renderer be compatible with a 3d modeling software such a Maya

So you create some model in say Maya, you apply all kinds of effect to the model and then export the file. So then the game engine has to load the file and render it, so surely the game engines needs ...
0
votes
0answers
47 views

Rendering bug in java

I'm using a simple rendering method in java to render tiles. Everything looks fine, but I notice that some rows grow 1 pixel when I move, and dhen shrink back, but I have no idea why. Infos: I'm ...
1
vote
1answer
76 views

How to put basic scripting/variable changes into dialog xml files?

I have a simple XML structure for my dialog between the player and NPCs. What I'd like to do is put variable changes (and maybe other things) directly into the XML. So, for instance, if you select a ...
26
votes
6answers
3k views

Why don't all games permit changing the field of view?

This is less of a question aimed at developing a game and more about the technology behind it. A number of gaming journalists and pro gamers (both on the tournament and the home entertainment sector) ...
3
votes
1answer
66 views

Field of view determination with partially opaque cells

I'm currently implementing the field of view of a player in a 2D-grid based game. I've chosen a standard ray tracing algorithm because he really fits the features needed in my game. However, the ...
1
vote
0answers
39 views

Maintaining relative location of objects across different screen resolutions

I'm developing a very simple interactive HTML5 game, in which I need to show a room having multiple objects like cupboard, table, fan etc. How can I bind all of the objects together, so that they ...
2
votes
2answers
137 views

How can I determine the pixels covered by a transformed triangle (without drawing it)?

I have three points that form a triangle in a 3D scene. I want to apply an arbitrary rotation/translation transformation to this polygon and later check in which pixels of an image they would be ...
1
vote
1answer
143 views

How can I manually control the lifetime of actor objects in C#?

I have the following Actor and Scene classes : public class Actor { string name; vec3 position; quat rotation; public void Update() { ... } public void ...
1
vote
1answer
130 views

What are the advantage/disadvantage of publishing a game as Chrome App over Android app?

I have a 2D game on my mind that I wanted to develop. Though I am quite familiar with using Javascript, CSS3 and aware of HTML5's canvas, I am also aware of Chrome App and its ability to work offline. ...
1
vote
0answers
61 views

how to project a collision between a pair of polygons under rotation?

I am trying to create a physically plausible 2d physics engine. I have read many documents about detection of collisions, contact resolving, interpenetrations, projection, separating axis theorem ...
0
votes
1answer
249 views

Planet gravity? [duplicate]

I am trying to make a game with the Phaser game engine and would like to implement some sort of planetary gravity. Essentially I just want the player to be able to walk on a circle or orbit a point. I ...
0
votes
0answers
20 views

make ball to bounce [duplicate]

I'm making a game in GameMaker. I would like to know the code needed or the condition for a line that the player would draw and then a ball would bounce on it
0
votes
2answers
224 views

Should I use a engine when building a snake game? [closed]

I'm new to game development, and want to build a snake game for Android (Maybe also iOS). I've made several apps for Android and have a pretty good experience with Java. The question is, do I need to ...