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
93 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
124 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
103 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
177 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
139 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
220 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 ...
2
votes
0answers
136 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 ...
10
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 ...
15
votes
7answers
4k 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
110 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
1k 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
126 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
36 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
4k 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
133 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
56 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
99 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
4k 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
77 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
41 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
211 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
157 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
178 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. ...
0
votes
1answer
342 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
21 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
247 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 ...
1
vote
0answers
178 views

iOS OpenGLES - Multithread Game loop - Render and Update

I am trying to implementing multi-threaded game loop in iOS. (Actaully, two thread - Render and Update) This is my structure. Update Loop Has logic and at the end of loop, save update state. ...
1
vote
1answer
105 views

Is there a robust way to get a pointer to a resource when I have a handle to its base type that doesn't rely on dynamic_cast?

I'm building my own pet engine and after struggling with how to handle resource ownership for a while, I came across this question and specifically Josh and Sean's responses (as well as Sean's blog on ...
0
votes
1answer
152 views

Grid collision - finding the location of an entity in each box

I am trying to implement grid-based collision in a 2d game with moving circles. The canvas is 400x400 pixels. Below you can see the code for my Grid class. What I want it to do is check inside which ...
0
votes
3answers
80 views

Getting entity type object [closed]

I have a custom entity class and what it does is create a SQUARE object. public class Entity { Rectangle rect; public Entity() { this.rect = new Rectangle(20,20); rect.relocate(200,200); ...
7
votes
1answer
339 views

RK4, Derivatives, Understanding Game Physics

Gafferon Games has a great article on RK4 Integration for building physics simulations which can be found here: Integration Basics Personally my mathematics and physics knowledge could use ...
0
votes
0answers
47 views

Space invaders 2d array to represent scene [duplicate]

For code optimization purposes, I want to create a 2d array that contains 40 equal squares (10x10px). Each square represents 1\40 of the displayed window (400x400px). I populate the 2d array with the ...
7
votes
2answers
2k views

Is the source code of the Source Engine available?

Is the full C++ source code of the Source Engine available? I know the SDK is available with the purchase of a Source-based game, but my goal is to find a open-sourced game engine that includes its ...
1
vote
1answer
123 views

Game Engines: how to keep different platforms code in separate plugins?

Considering that some game platforms are under NDA (mostly, the good old console trinity) and that publishing code using their SDK is not allowed, how do game engine usually manage keeping plugins for ...
1
vote
2answers
104 views

Checking which object cause most gravitational force

I'm work on a proof-of-concept space-engine, and one of it's tasks is to find the object with the greatest Sphere Of Influence towards the player - that is the mass of the object divided by the ...
1
vote
1answer
415 views

Using Unity 3D in LibGDX

Is it possible to use Unity 3D engine with LibGDX when making Android game apps? Is it also possibly used for making 2D games using Unity 3D and LibGDX? I would like to know if it's possibly ...
1
vote
1answer
69 views

Swapping function definitions at runtime

I am developing an cross-platform game-engine with a friend using C++, OpenGL ( 2 + 4 ) and some other Low Level API provided by the platform. So far we've finished window initalisation and some ...
3
votes
2answers
195 views

How can I organise the code for an episodic game?

We're working on a game that's going to be split into three episodes, which we'll release one after another as they get finished. I'm worried that our typical somewhat monolithic architecture is not a ...
6
votes
4answers
276 views

Should references between assets be handled by name or ID or something else?

How should content or asset items be referenced in their serialized form? For example, a material might need to reference several textures. The simplest way would be to use a path, relative to the ...
0
votes
0answers
133 views

Encapsulating variable elements into one drawable object - XNA/MVVM

Ok so I'm building a game and there is a class for an Object which gets the Values of a specific card from a XML Table and stores them in varibles. Note: I will have many "Card"'s instantiated at any ...
0
votes
2answers
204 views

How can I create a web player for a game engine?

This web player is for UDK and works very well without a browser plugin. I'm wondering how it's built. How can I build my own? My game engine is written in C++ language.
0
votes
2answers
126 views

How do I connect my objects to my meshes?

I am creating a simple 3D engine and I've run into a problem. I have an array of objects [Camera, Player, Player, MonsterA, MonsterB, MonsterA] and a number of mesh files that I need to associate ...
1
vote
0answers
292 views

Gluing libraries together into a 3D engine [closed]

As I read about people wanting to write their own 3d engine from scratch and people recommending using existing engines, it occurred to me that a middle-ground exists between developing your own ...
1
vote
1answer
210 views

How can I implement jumping in a 2D game using bounding box collision?

Problem: I'm trying to implement basic jumping to my 2D game engine, but have failed several times. Basically what I've done so far is disabling gravity and using a separate function moving the player ...
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 ...
0
votes
2answers
144 views

Making money with engines? [closed]

As the title says. Making money with games, especially free to play ones, is a well-known topic that‘s often discussed. So one can either sell the game, fill it with ads, get a sponsorship, find a ...
0
votes
2answers
260 views

Cross Game Engine Compatibility - Multiple Game Engines for one Game

I am new to Game Development, infact getting started with it, so reading as much as I can. I came across game engines. Now atleast I have an idea of what a game engine is, and what it does. In order ...
-1
votes
2answers
180 views

What is a Game Engine? [duplicate]

I am new to Game Development, All I have developed is some 2d Games, using Game Maker by YoYo Games. There game development is much more easy, just as simple as Drag and Drop. But, Now I wish to ...
0
votes
1answer
609 views

What is the difference between an API, Framework, IDE, and Game Engine?

I am just starting out trying to learn to develop games. At first I thought c++ and Opengl were the tools a beginner would start out to make a game, but quickly found out the Opengl was just a API for ...
-2
votes
1answer
238 views

Is SFML A game engine?

I am a little confused on the difference from a game engine and a actual game By making a game are you making a game engine or is a game engine the same thing as a library used to make a game?