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

learn more… | top users | synonyms (1)

1
vote
1answer
67 views

Entity-components pattern and memory management

I indent to use a level-entity-components hierarchy in my c++ game engine where level is just a placeholder for entities. However, since I'd like to setup all the levels at once (and thus entities and ...
1
vote
3answers
98 views

Array Texture 2D with different sizes for the textures?

I'm making a 2D game engine, and I need a way to batch all textures into one so I only make one glBindTexture call throughout a scene. I am trying to use 2D texture arrays, but they only support ...
1
vote
2answers
118 views

How do game engines like Unity and Game Maker exports to other platforms?

From what I understand, if you want to export a Unity/GameMaker game from the editor, the game needs to be compiled to create an executable. But I thought to produce a Windows executable you needed to ...
1
vote
1answer
45 views

Quaternion Types in Game Engine

I've recently been coding a quaternion class for my game engine and have run into a problem. Firstly, should I be using unit quaternions for my engine? Secondly, should I have the functions ...
1
vote
1answer
246 views

Setting up an efficient OpenGL rendering loop

This is the code that I use to setup my shader char* vertexShaderSource = getResource("vert.shad"); char* fragmentShaderSource = getResource("frag.shad"); vshad = readFile(vertexShaderSource); fshad ...
1
vote
1answer
190 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 ...
1
vote
1answer
232 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 ...
1
vote
1answer
151 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 ...
1
vote
1answer
3k 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 ...
1
vote
2answers
428 views

Endless terrain in jMonkey using TerrainGrid fails to render

I have started to learn game development using jMonkey engine. I am able to create single tile of terrain using TerrainQuad but as the next step I'm stuck at making it infinite. I have gone through ...
1
vote
1answer
303 views

How should I setup my minecraft-like world rendering for the best performance?

I want to know what technique will give me most fps in game. I have minecraft-like world and I need to display it. Now I have only one cube, created as VBO and if i need to display cube I just display ...
1
vote
1answer
194 views

Increasing flexibility of a data passing system in a component based entity system

I'm creating a Component orientated system for a small game I'm developing. The basic structure is as follows: Every object in the game is composed of a "GameEntity"; a container holding a vector of ...
1
vote
1answer
1k views

3d transformation of game world keeping gameplay 2d - COCOS2D 2.0

Using: COCOS2D + iOS. I want to rotate the game world, may be loading another .tmx file for another dimensions when user want to switch dimension. the effect what I am looking for is something like ...
1
vote
1answer
422 views

The right way to start out in game development/design [closed]

Greetings everyone I'm a 19 year old student looking for some help in the field of game development. This question may or may not seem a bit overused, but the fact is that game development has been ...
1
vote
2answers
233 views

Making an interface for input in C - How?

I have a big question. I started to develop a simple 3D engine (or should I call it framework?). I use OpenGL for rendering and it is developed for Windows. It is all written in C. But I don't know, ...
1
vote
2answers
1k views

Sharing VBO with multiple objects and fixed size buffer data

I'm just messing around with OpenGL and getting some basic structures in place and my first attempt resulted in each SceneObject class (just contains vertex information right now) having it's own VBO ...
1
vote
1answer
252 views

Math major as a viable degree [closed]

While I realize there are many topics about CS vs software engineering vs game school programs, I haven't found anything relating to whether pure math degrees (with CS minor and electives) would also ...
1
vote
1answer
2k views

Andengine Traffic game: moving sprites along path on map

I'm developing simple traffic educational game like https://market.android.com/details?id=cz.allianz.krizovatky.android . When the player taps on car sprite, it started to move with other cars. If ...
1
vote
4answers
1k views

Beginning RTS game student project [closed]

I have experience with XNA and Unity3D. I have also built my own engine with Tao and C#. I am in last year of college and I want to make a small RTS game demo, nothing fancy I won't bother much with ...
1
vote
1answer
606 views

Tile based game engine for WP7?

I showed my friend a demo of what I was doing with the farseer physics engine on the windows phone and he wanted to know if farseer would be good for a game he wants to develop. It's a tile based game ...
1
vote
3answers
65 views

What technique would I use to animate a 2D curling tentacle?

I have played around in Cocos2D-X and I think I understand the limitations of sprite-based animation fairly well. I want to have a game with some characters curling and extending a tentacle which ...
1
vote
1answer
50 views

AntTweakBar doesn't register SFML mouse events

I'm trying to add GUI for easier level editing in our game engine. We're using SFML for all the basic stuff (window management, input events etc). I've chosen AntTweakBar because it is a well known ...
1
vote
1answer
85 views

Coordinate system for a strategy game

I am working on a personal project of developing a simple 3D strategy game. I am working on my own game engine (let's assume that I have to have my own) and I have one theoretical question. How to ...
1
vote
3answers
99 views

When should we save our game data?(Before quit game or just when some data changed?)

For standalone game, what's the best time to save game data, such as player's coin, player's level, skill data and so on. Save data before we quit game.So we just save data to file just one time, ...
1
vote
2answers
139 views

Is it possible to run GLFW eventhough my graphic card(Nvidia) supports Direct3d API? [closed]

I have Nvidia 820M GPU installed in my windows 7 machine. In nvidia control panel it is showing it supports Direct3d API version 11. Am I able to run OpenGL applications(using GLUT,GLFW) on my machine ...
1
vote
1answer
431 views

Does game engines (like Unreal, Unity, Crafty) add value compared to pure js frameworks (react, ember..) for my isometric tile-based games [closed]

I'd like to create a huge tile-based board (say 100K tile). The game does not have any advanced graphics (you don't see the players or landscapes), the main difficulty is that it has 100K tiles to ...
1
vote
1answer
212 views

Unity engine vs JS engine for browser game [closed]

I'm trying to do a browser based game and I don't want to create my own game engine, no sense in recreating the wheel. Should I use Unity as my game engine? Or should I focus on a more Javascript ...
1
vote
2answers
377 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.
1
vote
1answer
667 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
2answers
981 views

How would I detect if two 2D arrays of any shape collided?

Say there's two or more moveable objects of any shape in 2D plane, each object has its own 2D boolean array to act as a bounds box which can range from 10 to 100 pixels, the program then reads each ...
1
vote
1answer
377 views

OpenGL / Assimp oddity or error?

A friend and I are working on developing a game engine in C++. He doesn't live anywhere near me, so we use Dropbox to sync our files. I opened his project to test his code, and I kept getting errors ...
1
vote
1answer
373 views

Do “write once run anywhere” engines require platform specific code for multiplayer?

I've been investigating the myriad selection of mobile game dev engines that allow compilation of your code onto multiple target platforms, but, something I can't seem to figure out is if multi-...
1
vote
1answer
125 views

Progressively loading the racing arena in a 3D driving sim

I need advice and resources on a 3D car simulator. I want to progressively load the track for the player as I'm thinking of porting the game to mobile devices. This seems too difficult to me as I'm ...
1
vote
2answers
150 views

Informing GUI objects about screen size - Designing

I have a problem with designing classes for my game which I create. In my app, there is: class CGame which contains all the information about game itself, e.g. screen width, screen height, etc. In ...
1
vote
1answer
165 views

Help with Collision Resolution?

I'm trying to learn about physics by trying to make a simplified GTA 2 clone. My only problem is collision resolution. Everything else works great. I have a rigid body class and from there cars and ...
1
vote
1answer
802 views

Sony PSM SDK's 2D game engine

I have started with the Sony PSM SDK this week, I'm interested in creating a little 2D game and have been reading through the web about a so called "2D game engine" integrated into the SDK. Some ...
1
vote
1answer
512 views

3D space game development [closed]

I want to develop a 3D game (sci-fi type with spaceships) which can be played on multiplayer mode and by multiplayer i mean around 10 players for start as it will be a personal testing project and ...
1
vote
2answers
510 views

'Game rules' as data in data driven engines?

I've read the definition of data driven game engine in several places and one item usually mentioned is the game rules: separating them from the logic of the engine. What is meant by a 'game rule'? ...
1
vote
1answer
256 views

Game Engine Collision Handler

I'm making a collision handler for a Java game engine. I made an interface called Collidable. I have a method called onCollision which takes the parameter of my Engine Game Object. public void ...
1
vote
1answer
515 views

Facial expressions capabilities in various engines [closed]

For a research project, I am developing a small game focused on non-verbal communication clues, like facial expressions (smiling, frowning, looking bored, etc), eyegazing, proxemics, etc. My main ...
1
vote
1answer
2k views

Inventory Management concepts in XNA game

I am trying to code the inventory system in my first real game so I have very little experience in both c# and game engine development. Basically, I need some general guidance and tips with how to ...
1
vote
3answers
948 views

How to integrate game logic in game engines

Recently I'm working on a 2d game engine example in .Net with C#. My main problem is that I can't figure out how I should include the game logic within the game. Currently I have a base engine which ...
1
vote
1answer
5k views

What are C++ libraries? [closed]

I am a total beginner in C++ and programming generaly. I have watched a couple hours of C++ tutorials and read a lot about it (Can anyone recommend some tutorials?), but what I've come across and ...
1
vote
1answer
2k views

Whats the best cross-platform game engine that supports Linux? [closed]

What is the best cross-platform game engine, being the most commercially supported, there is for free available for development on Linux? I'm planning on creating multiple, non-commercial, fps games ...
1
vote
1answer
568 views

Network Abstraction for a Java Game Messaging System

I'm currently working on an online java game. Currently building the messaging system between the client/server and I came across a big if. I am not experienced as a game programmer, only worked with ...
1
vote
1answer
49 views

Basic Animation Concept - Stuttering Sprites (Java)

The Problem I have some sprites animating across my screen (some spaceships). I alter their X coordinates (like -5, for animation) in my game loop. I want the animation to happen faster, however ...
1
vote
1answer
70 views

Managing game states (states flow, controlling the state machine…)

I am currently struggling really bad to make the game states management. Before we dig into the problem, I must point out that I do know about state machines, I do have both implemented (states and ...
1
vote
2answers
57 views

Where could i find 3d items in 3d points array?

I've been reading a lot but i can't find any answer, evenmore, English is not my main language so i don't even know how to ask it correctly. I'm currently working on a 3D render engine on JS and ...
1
vote
2answers
179 views

In-app update, live update, hotfix for mobile game

I'm researching how to make an in app update on mobile game. When there is a hotfix, or an update, users don't have to go to Playstore, or App store to update but update inside the game. (E.g. Clash ...
1
vote
2answers
124 views

Updating children nodes in a game engine

I am writing my own small game engine (thin layer based on SDL2) in C++. My base class is Node (contains information on an entity's position, scale, rotation, etc.), And I've got two special ...