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
155 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
217 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
889 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
310 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
163 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 ...
10
votes
1answer
3k 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
5k 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
1k 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
307 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
283 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
200 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
286 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
662 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 ...
13
votes
1answer
10k 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
395 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
148 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
168 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
677 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
332 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
255 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
236 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
2k 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
630 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
213 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
191 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
298 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
429 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
142 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 = ...
1
vote
1answer
171 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 ...
-4
votes
1answer
173 views

I need help generating terrain for a 2D circle [closed]

How would you go about generating terrain for a circle. To be specific i am using a 5x5 .PNG as the thing or object that will fill the circle. At the moment i am having problems making the terrain ...
18
votes
1answer
824 views

Which features belong to the engine and which ones to a game?

Right now I find myself implementing and testing new features of my 2D game engine by directly coding them into engine. Simultaneously I have a showcase game (with scripting support) which should call ...
1
vote
2answers
304 views

How can I manage large numbers of objects in a physics engine? [duplicate]

MY friend and I are programming a game and I decided to give the physics engine a try. I was able to get a class working where it would calculate out the total force on a model and apply the correct ...
18
votes
4answers
3k views

Game architecture / design question - building an efficient engine while avoiding global instances (C++ game)

I had a question about game architecture: What is the best way to have different components communicate with each other? I do really apologize if this question has already been asked a million times, ...
-3
votes
1answer
120 views

Lightgun game (Mouse not in the middle) [closed]

I'd like to do a small lightgun game. So the mouse should not always be in the middle like in most ego shooters. The player should be moved trough a world and then shoot some enemies at a more or less ...
5
votes
2answers
2k views

Component based game engine and dependencies - singletons [closed]

I am thinking about how to create component based game engine. I understand that all things should be very similar as in Data Oriented Design (each object is a collection of various structures as ...
1
vote
1answer
202 views

How to provide a fully programmable pipeline for rendering?

I am writing a game engine and I want people who use it allow to define the rendering pipeline. Just they can define the scene geometry, characters, items, light sources, and so on. So the term ...
-5
votes
2answers
298 views

Why are graphics engines writern in C/C++, when games are GPU bound? [closed]

What performance benefits a low level language can give to the engine, when the game is dependent on the GPU?
1
vote
1answer
516 views

Selecting and moving object in OpenGL Gameplay3D Engine

I'm using Gameplay3d as a game engine to develop a simple board game. PEG Solitaire I've come to the part where I've created a 2D grid for all the movable object, empty locations and also where it's ...
2
votes
1answer
1k views

CPU usage, game loop and sleep()

I've read about this topic on numerous discussion sites, but I can't seem to find a clear definitive (up-to-date) answer, and hopefully this will me some more insight: I've read the excellent game ...
-3
votes
1answer
938 views

Which game engine does “Ridiculous Fishing”(iOS) use? [closed]

Does it use game engine or just c++ libs? Its UI is concise and smooth.
-3
votes
2answers
269 views

Why do most games save the players team as a short in the player class and not as a pointer to a team object [closed]

Why do most games save the players team as a short in the player class and not as a pointer to a team object. As far as I know both methods have their advantages. Short method: Saving it as a ...
-3
votes
1answer
442 views

Python 3d game engine? 2013? [closed]

I saw another question from 2011 on this, but it's 2013 What's the best 3d Python game engine to learn? Good documentation, cross-platform, good community, continuing development? I looked at ...
1
vote
1answer
4k views

Voxel terrain engine [closed]

Is there some voxel frameworks or extensions for game engines like Unity? I really need a system to dynamically generate voxel ruinable terrains.
-2
votes
1answer
287 views

how to add fog to a model instantiated in Xna? [closed]

I work on a small XNA games. I generate a large map type voxel. a floor of 1000 cubic long by 1000 cubes wide. This is why I use the method "MODEL instancing" with hardware instancing to generate a ...
2
votes
1answer
2k views

Making efficeint voxel engines using “chunks”

Concept I'm currently looking in to how voxel engines work with a view to possibly making one myself. I see a lot of stuff like this ... ...
2
votes
3answers
2k views

What are the benefits of using a 2D game engine on Android?

I have thought about just coding a 2D game on Android using just pure Java and the Android SDK, no engines like libdgx, cocoa-2dx attached. I don't know if I really need to use a game engine or not. ...
2
votes
4answers
2k views

Entity/Component based engine rendering separation from logic

I noticed in Unity3D that each gameObject(entity) have its own renderer component, as far I understand, such component handle rendering logic. I wonder if it is a common practice in entity/component ...