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

learn more… | top users | synonyms (1)

0
votes
1answer
42 views

Resource management questions

Say I have this Cache<typename Resource> class template, which is a resource cache that contains an std::map<std::string, Resource>, mapping strings to resources. I can many different ...
1
vote
1answer
20 views

Dynamic objects in voxel engine

I am writing my own voxel engine based on cubes of different sizes and properties. In order to store and efficiently use voxels I implemented Sparse Voxel Octree storage. But I plan to have many ...
0
votes
1answer
520 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 ...
2
votes
2answers
84 views

why is my enemy AI is on air while moving?

In Unity3D I have created an enemy AI and applied a script for it to move and chase the player. But when moving, the enemy hovers in the air. My character also does not have rigidbody and he just has ...
0
votes
1answer
299 views

How to compute matrix transform local/world on OpenGL

I'm developing an OpenGL program where each object / entity contains m_WorldPosition, m_WorldOrientation, m_WorldScale and m_WorldTransform (Vector3, Quaternion, Vector3 and Matrix4f). The problem is ...
0
votes
1answer
58 views

How to manage a vector of “Component” base class?

I'm trying to implement a component based design for a game i'm making. I decided to write it in c++ but i'm not very good at it. Coming from a java background I encountered a problem when trying to ...
0
votes
3answers
67 views

Implementation of collision in 2D platformer (C++)

My collision system for my game currently works fine, it lets me test a collision with an entity or specified rectangle... but that's not enough. I used to use GameMaker and it had collision events in ...
-2
votes
0answers
38 views

Why some game engines have better graphics [duplicate]

As far as I know a game engine is a medium/tool between hardware and the developer. (Correct me if I'm wrong) So technically they should offer the same graphics, but for example CryEngine has very ...
1
vote
0answers
36 views

How do I implement a sparse voxel octree?

I've been working on a voxel engine and I want to implement sparse voxel storage. As I understand it, it works a bit differently from a regular octree and has some neat performance increasing ...
0
votes
1answer
31 views

Getting if a key was released/pressed this frame (C++/SDL2)

Getting if a key is currently down is easy. Just return keys[scancode]: switch (ev.type) { case SDL_KEYDOWN: keys[ev.key.keysym.scancode] = true; break; case SDL_KEYUP: ...
6
votes
2answers
278 views

Does SpriteKit follow the MVC pattern?

I am currently working on an iOS project called Old Frank that I have been trying to follow a MVC design pattern. The gist of it is. GameObjects(model) <- Scene(controller) -> Sprites "SpriteKit" ...
0
votes
0answers
21 views

Predict ball movement after Collision in Pool Game?

Im trying to draw lines that predict the movement after the colliosn of 2 balls in a pool game. How do I do that? I heard it can be done via Raycasts, but how do I draw a line? Any tutorials, ...
0
votes
1answer
51 views

Move Ball to clicked direction

I have a ball as a sphere in my game and Im viewing it from top down view (birdseye). The ball is a rigid body. I want to achieve when I click somewhere on the screen, that the ball moves toward ...
1
vote
1answer
233 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 ...
1
vote
1answer
58 views

Need help with creating a stun gun. (Unreal Script)

I am fairly new to the programming world. I am currently at College and one of the tasks I need to do is create a "stun gun" or "freeze gun". Basically when you shoot a target (other player) i want it ...
1
vote
2answers
88 views

How to seprate the game from the game engine (specifically the game loop), into seprate projects?

I am trying to separate my game from game engine both written in Java. Currently they are in two separate packages but I would like to separate them into different projects. A main method in Project ...
3
votes
1answer
247 views

Swapping graphics engines

Is it possible, or even feasible, to have graphics engine completely decoupled from game logic? Why I ask is because I want to start working on a game (I'm a complete beginner in game development, ...
-1
votes
0answers
33 views

Implement an efficent voxel storage in Octrees

I am writing a voxel engine and recently I discovered an Octree way of storing data. I really like the idea of it and its awesome features, like ability of high detalization and overall performance ...
1
vote
2answers
49 views

Runtime Error dealing with SDL_Events

I do not know if this is the best way to handle these SDL_Events, but I am attempting to create a very abstract and generic code that will update my Game Object. Basicly I have a Scene which in my ...
2
votes
2answers
153 views

How to manage state in a component-based game engine?

I'm working on a small, data-driven game engine with some friends. We use GameObjects (a.k.a. Entities, Actors, or whatever it is called in your favorite engine) to represent every entity in the ...
3
votes
2answers
2k views

FBX Importer - Texture Name

I have a problem with the FBX SDK. I read in the data for the vertex position and the uv coordinates. It works fine, but now I want to read for each polygon to which texture it belongs, so that I can ...
0
votes
1answer
247 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 ...
2
votes
3answers
147 views

How do game engines mitigate CPU cost for many trigger zones & entities? [closed]

It's a rather simple question, but a somewhat fundamental in computing in general. Let's say we have a player controlled character in an open world. The world is large. In this game-world we have a ...
0
votes
3answers
83 views

Grid Programming: Selecting a tile returns a negative coordinates

Let me explain what I am doing here. I created a class template named as PlayField where T is the type of the GridObject. I wrote this class using Cocos2dx. The point of this class is to make it easy ...
4
votes
3answers
509 views

Does a basic game engine prototyping tool exist, for common game types?

There are a lot of classic game engines out there (Real Time Strategy, Turn Based, etc), of which you can find countless variations. All of them have a basic starting point which involves units, ...
13
votes
9answers
9k views

C# (Mono)/Java 3D Game Engine recommendation [closed]

Can you recommend a good C# game engine for cross platform (Win/Mac/Linux, I don't care about consoles) development? I've got some experience with raw OpenGL and I played around with Java bindings ...
1
vote
1answer
457 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 ...
0
votes
2answers
99 views

Game engine openGL operations scheduling

I'm making a custom engine and after much research, i realized that the state changes and the vertex or texture data loadings to VRAM are the most slow operations. So I want to optimize it making a ...
2
votes
0answers
69 views

Creating Scenes Programmatically From A Deployed Build in Unity

This is somewhat of an extension to this question: http://answers.unity3d.com/questions/513801/programatically-creating-entire-unity-games.html I have a client who would like to create an entire game ...
2
votes
0answers
41 views

Opengl Skybox Texturing Error

I'm using cubemaps to render a skybox in my game. Thinking this would be a simple task I threw some stuff together using the tutorials I found online, particularly this. Taking all of this together, ...
7
votes
1answer
223 views

How do I convert a Source engine NPC model to a player model?

The Source engine's NPC and player models differ: An NPC model applied to the player has no animations. It cannot walk and holds its arms out to the side by about a foot. The weapon is held in the ...
65
votes
15answers
113k views

2D Gaming Libraries/ Frameworks/ Engines for Android [closed]

Are any such things available to help me build my Android game?
2
votes
2answers
2k views

Looking for an Open Source Game Engine with Crowd Simulation [closed]

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 ...
1
vote
0answers
48 views

When does data move from the system memory to the GPU memory? [closed]

I am starting off with a basic idea. My understanding is when a game loads, the assets are loaded into the system memory, images, sounds, maps etc. So say you have an open world game, AFAIK, the ...
-2
votes
1answer
68 views

Libgdx array of Vector2 closest point

I have an array of objects. Their position is a Vector2 (x, y). I want to select the closest object, given a (x, y) coordinate (that represents an user touch on screen). Searching on web I found a few ...
0
votes
2answers
66 views

Is Global location using OpenGL bound by the shader?

I have recently started writing a game engine in C++ with OpenGL and using some tutorials online. So far from what I have seen, shaders are the way to manipulate an object's position in worldspace. Is ...
1
vote
0answers
61 views

UE4 or Cryengine for large forest wilderness open map? [closed]

I want to create a survival game FPS with large forest wilderness in an open map fashion. What engine should I choose and what tools do I pick for modelling and such?
1
vote
2answers
84 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 ...
3
votes
1answer
151 views

How do I let a game support different rule sets?

I'm making a MUD game engine that supports D&D , Pathfinder and other tabletop-RPG rule sets. I am starting to build out how characters interact with the world (e.g. dialog, battle, searching for ...
61
votes
8answers
26k views

Why don't more games use vector art? [closed]

It would seem to me that vector art is more efficient in terms of resources/scalability; however, in most cases I have seen artists using bitmap/rasterized art. Is this a limitation put on the artists ...
44
votes
12answers
18k views

Is it reasonable to write a game engine in C? [closed]

Even though C++ appears to be king, from what I've been told C is still widely used in games, especially on the consoles. However, would writing an entire game engine in C be unreasonable today? What ...
0
votes
0answers
120 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. ...
6
votes
1answer
363 views

What Engine, if any, for a Simulation Environment [closed]

I have a simple requirement: I want to put some ships (I have some mesh models) on a body of water, with islands, and play with various collision avoidance and command and control algorithms. So I ...
7
votes
3answers
6k views

Binding C++ and V8 Javascript from Google

The examples are quite challenging to grasp if you are still getting your head around other things, so the simplest example would be great. Is there a simpler example?
0
votes
0answers
49 views

Directx 9 Obj Model

There's is a error with my obj load/render that I can't solve I'm a newbie in directx 9, I'm trying to do this in the best way The model is not displayed properly, do not know if this correct model ...
1
vote
2answers
73 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 ...
4
votes
2answers
1k views

Effects of collisons: broken glass, damaged cars, how are they created?

My question is related in particular to achieving the effects of collision in game engine, how is this done? I have searched a bit, read from the internet and went through a few tutorials, and saw ...
0
votes
1answer
56 views

What type of loop code on game engines? [duplicate]

Recently I worked on a game on Spritekit Engine. My question is not about spritekit, but generaly about game engines. When I write a loop code and run it (eg while i< 100000) my CPU usage goes to ...
2
votes
2answers
194 views

How does a loop work in game engines? [duplicate]

Recently I started working on a game with the spritekit engine. My question is not about spritekit in specific though, but generally about game engines. When I write a loop and run it (eg while i ...
1
vote
1answer
200 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 ...