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

learn more… | top users | synonyms (1)

6
votes
2answers
1k views

What do I need to get an independent developer license for CryENGINE 3?

I have searched Google and CryEngine forums and I can't seem to get a solid answer to this question. I have seen threads where developers are complaining that they can't sell their game because they ...
6
votes
1answer
468 views

How would one store global context data in an entity component system?

My question is this: How would one store global context data, ie. world data information, current world time, etc in an entity component system? I'm think of working towards building a Dwarf ...
14
votes
3answers
613 views

How to represent projectiles in video game?

I'm making a simple fixed shooter game (similar to Galaga) as part of a presentation I'm doing. I'm wondering, what strategies/data structures would people use for tracking projectiles (like lasers ...
14
votes
2answers
867 views

What advantages does bare OpenGL provide over frameworks/engines to small developers? [closed]

I've noticed a trend of indie developers steering away from frameworks and engines, and moving towards using bare OpenGL, or using it combined with SDL/SFML2. As an indie developer, I can't see what ...
0
votes
0answers
171 views

Using Spine in an EaselJS project

I am trying to develop a game using EaselJS. I am looking to use Spine for the getting the animation data, but I can't find any reference for combining these two, probably because Spine is fairly ...
0
votes
1answer
299 views

ParallaxBackground AndEngine

I'm new to game development andengine. I want to add ParallaxBackground but I don't know how to change background on player move. I'm using arrow for moving a player. Now my question is where I write ...
1
vote
1answer
6k views

Correct way to use a GameObject.Find method in Unity C#

I have been following along with a Lynda.com video course to familiarize with Unity. I am currently attempting to grab a reference to a scene's First Person Controller's transform as follows: ...
1
vote
1answer
271 views

Correct way to update my physics frame rate

I've searched around here and Google and at last I looked at Fix your Timestep! article on the web which most of the people suggest. In according to that article I came up with an update method like ...
3
votes
1answer
621 views

How to program dynamic touch events that scale according to device?

When using openGL to build a UI for my prototype I find that that I am still required to use pixels to capture touch events. To make matters worse the Android Docs make this subject slightly ...
2
votes
1answer
772 views

How to scale openGL textures by a ratio based on height/width (or alternative)

I have been able to successfully allow my UI to extend over edges of my game on higher resolutions by using the Android Guide and by implementing this code on the GL10 object: ...
-1
votes
1answer
223 views

Human to Monster Morph on 2D graphics [closed]

A friend and I are writing a topdown RPG called NecroMonster. In the game when you defeat an enemy you can take its shape (basically morph into it) and we dont know how to make this look right. First ...
17
votes
3answers
532 views

How can I maintain a rectangular formation when units are added or removed?

I've got bots in a rectangular formation with rows and columns. A problem arises when a bot is added or removed from the formation. When this happens, the bots have to rearrange themselves so that the ...
1
vote
2answers
311 views

What is an acceptable input delay?

It is common knowledge that if the framerate of a game is over 25-30 fps, we humans perceive it as running smoothly (more is better but if it is above that it at least doesn't lag). Is there any ...
8
votes
2answers
803 views

What is data-driven design? [closed]

I've been reading up on a lot of articles covering data driven design for games. It seems to come down to: No hard coding No game-specific code in the engine Scripting for AI, cutscenes, et cetera. ...
1
vote
2answers
474 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 ...
3
votes
1answer
3k views

C++ FBX Animation Importer Using the FBX SDK

Does anyone have any experience using the FBX SDK to load in animations. I got the meshes loaded in correctly with all of their verts, indices, UV's, and normals. I am just now trying to get the ...
3
votes
2answers
1k views

Managing resources

I have a resource manager that loads and returns resources. Currently I just return shared_ptrs for the resources I create, but I'm thinking about going over to using something like simple handles, ...
0
votes
1answer
259 views

Node.js/V8 as a Platform for High End Local PC Game Development?

As a Web/UI dev rapidly expanding into more wide-open generalist territory, the more I learn about how its done in other languages, the more I love JS for architectural and basic ...
4
votes
3answers
255 views

Programming atmosphere for game

I've recently started making game and I want to implement there an atmosphere. My plan is to include in game many compartment, tubes and ventilations. For example if I open and airlock from room with ...
1
vote
1answer
144 views

Positioning sprites in a Component-Entity engine

I'm building my first component/entity engine and I'm not so sure about some of my choices. I'm here asking suggestions on my first doubt. I draw objects with 2 different behaviours: 1) Position ...
8
votes
2answers
209 views

When should I represent points and sizes as structures?

As part of my simple Ruby 2D game development framework, my game objects have position (x and y values) and size (width and height). class MyGameObject attr_accessor :x attr_accessor :y ...
22
votes
1answer
852 views

Why is it that the majority of npc character models are roughly the same height in video games?

In the majority of video games I play, I notice that NPC's are the same height. What's up with that? It kinda takes me out of the experience, when I see ten people in a row that are 5 foot 8. Anyone ...
0
votes
1answer
277 views

Chunks - Drawing in a randomly generated and infinite world

I am working on a platformer that is going to have a map that is randomly generated and infinite in 3 directions: left, right, and down. I've figured out that I will need to separate this world into ...
0
votes
1answer
147 views

Sub-systems in game engines

So here's the problem- I'm writing my own engine library, and it works fine with stuff like menus and the actual game screen. The thing is, I can't really figure out how to integrate something like an ...
8
votes
1answer
2k views

Game Engine Design – Ubershader - Shader management design

I want to implement a flexible Ubershader system (with deferred shading). My current idea is to create shaders out of modules, which deal with certain features (FlatTexture, BumpTexture, Displacement ...
7
votes
4answers
3k views

How are 3D models created in video games?

As the title says, how are 3D models in games designed and displayed? Is it all-code? Drawn on paper, then on a 3D graphics software, then... what? Of course, game programmers won't define every ...
1
vote
2answers
778 views

LibGDX with Android UI

Hello I want to combine between android UI and libGDX. I want to have half of my screen with libgdx engine (animated sprite) and the other half of the screen with android UI buttons. Does anybody know ...
2
votes
2answers
295 views

About making damage between units

I am making my own Tower Defence game engine. I havent built one before and I don't know lot of stuff how games work. I will take Starcraft as an example. You have a marine shooting a zergling from ...
-2
votes
2answers
258 views

What are the benefits of using a game engine for a voxel game?

I'm learning and developing a Minecraft like game. I've seen many games being made without a game engine, so I'm worried using a game engine will end up having performance issues. If I was ...
-5
votes
1answer
185 views

Starting off C++ games development? [closed]

I've just finished my 2nd year of college, and now that I have time on my hands I want to start working on a 3D game, though my stumbling point is trying to find the resources to learn C++ games ...
1
vote
2answers
224 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 ...
2
votes
2answers
449 views

What tools/software are used to make the environments/levels/maps in games? [closed]

This question has probably been answered before but I've not been able to find the answer, since I'm not able to frame the question with brevity. So the whole question is :- The worlds/levels that ...
11
votes
1answer
6k views

How do I create a cel-shaded cartoon look?

I am interested in everything related to this kind of effect (modeling, game engine, animation). What sort of stuff is needed? Here are some sample images of what I mean:
2
votes
1answer
339 views

Combining 2D and 3D in game engine

I've implemented basic 3D functionality and made little "2.5D" demo in orthographic projection using OpenGL ES 2 and Box2D. Now I want to make completely two-dimensional game (using sprites) and ...
1
vote
0answers
132 views

Recommendations for / issues with implementation of composite sprite system for beat 'em up game [closed]

I am currently working on a 2D Double Dragon style beat 'em up game project. We are working with DirectX 9 and are looking at implementing a composite sprite system for all our characters as explained ...
1
vote
1answer
148 views

How to make a character “jump” when leaving an up slope?

I have developed a game in Android using a tile-based system. I´ve implemented 22º, 45º and 67º up and down slopes and everything works (almost) perfect. The problem now is that, when the character ...
0
votes
0answers
462 views

Component based architecture - Rendering approach?

I'm planning to use a component based architecture for a new 3D game engine I plan to work on, however I don't know how to approach the rendering side of things. I can see two options here: Every ...
1
vote
2answers
272 views

Singletons & Entity Component Model, Global Engine Class

I am in the process of writing an entity component model game engine and I wanted to ask you a bit about the best way to lay out the code. I have run into an issue that I know will quickly cause me to ...
1
vote
1answer
207 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
210 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 ...
-2
votes
3answers
1k views

What should I know to start in game development? [closed]

I know this is asked very often here and probably my question will get closed, but I am clueless in this direction. I want to start creating my own PC games. I know C++ and a bit of C#. I created a ...
7
votes
2answers
556 views

How to define areas filled with water?

I would like to enhance my little game engine with nice looking water simulation. To start working on that I need to find a proper way to represent water in the game. Unfortunately I don't know much ...
2
votes
1answer
193 views

How to implement a multi-platform Java 2D game engine's graphics?

I'm not sure whether this question should be posted here. I'm trying to make a basic generic game engine in Java. Here's what I have so far. public abstract class Device { public abstract void ...
-3
votes
2answers
2k views

2D Indie : From scratch, engine or maker? [closed]

I have been a game design/programming student for two years now, and made some little games using HTML5, most of them from scratch. I've come to a point where I am frustrated by the coding part : ...
0
votes
1answer
180 views

Tips on building a real time multi player web platform + framework and/or tookit

I'm trying to develop a multi player game web app which basically should be able to achieve the following goals: Provide a game engine + framework/toolkit to let third party corporation integrate ...
1
vote
2answers
277 views

Entity Component Model - Creating The Component “Watcher”

Hello Stack Exchange, I apologize if this has been asked already, but I couldn't find an answer through searching...probably due to being unable to describe what I am looking for very well. So, ...
0
votes
5answers
1k views

Collision detection logic

Edit 2 In the following picture sprite1 (the red square) is hitting the platform from the left, so: sprite1_rightEdge>platformSprite leftEdge would be true, so I can simply reposition ...
-2
votes
1answer
355 views

Game Engine for quick Horror Survival prototype [closed]

for a University project we need to develop a prototype for a Survival Horror game using an engine of our own choice. We are currently preparing the project and wondering which engine to use. Maybe ...
3
votes
2answers
1k 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 ...
2
votes
2answers
130 views

Gameover scene transition [duplicate]

I created a gameover scene in a crafty.js project but it does not run. Crafty.scene('gameover', function() { Crafty.background("#ccc"); Crafty.audio.stop("bg"); }); var gameOver = ...