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
20 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
225 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
135 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
95 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
114 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
77 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
307 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
111 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
102 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
360 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
66 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
168 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
261 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
124 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
191 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
120 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
286 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
192 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
788 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
143 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
226 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
172 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
440 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
191 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?
7
votes
1answer
178 views

How can I handle rendering on multiple monitors with differing refresh rates?

What's the best way to deal with a situation that may arise where a user has two or more monitors with different resolutions and vertical sync intervals? This would apply when a game has a fixed ...
2
votes
2answers
278 views

Handling cyclic dependencies in entity/components system

I built an rather standard C++ entity/component system (a bit like this one). Components can access other components through their associated Entity. This is usually done by getting some kind of ...
2
votes
1answer
200 views

When storing voxels in chunks, how do I access them at the world level?

I'm not looking for how to store the voxels data wise, I'm looking for the theory. Currently, my voxel engine has no global list of tiles. Each chunk has it's own list, and it's hard to do things like ...
8
votes
1answer
611 views

what is world space and eye space in game development?

I'm reading a book about 3D stuff and OpenGL. The book often talks about world space and eye space. What exactly is the "world space?" Does the "eye space" mean the projection?
2
votes
1answer
299 views

What makes games responsive to user input?

Many games have been praised for its responsive gameplay, where each user action input correspond to a quick and precise character movement (eg: super meat boy, shank...) What makes those games ...
1
vote
2answers
138 views

Why does this exported cube have too many vertices?

I'm trying to export md5mesh models. Just as a test I decided to export a simple cube (i.e. with 8 vertices). When I opened the .md5mesh file it lists the following: numverts 24 numtris 12 ...
2
votes
1answer
130 views

Multi-Threaded Pipelined Game Engine Data Synchronization Questions

Let's say I'm setting up a worker pool based game engine with pipelining. Let's say I have 4 stages in my pipeline as such: Stage 1: Physics Stage 2: AI/Input Stage 3: Game Logic Stage 4: Rendering ...
0
votes
0answers
333 views

Simple turn based game engine: Is this a valid approach?

For practicing multi platform development I implemented a simple board game that is completely abstract. That means it contains all the logic and uses interfaces for the unknown or platform specific ...
2
votes
1answer
143 views

Does a game engine affect the quality of pre-baked Global Illumination?

If I were to pre-bake Global Illumination into light maps using a high quality renderer like Mental Ray or PRman, and loaded it into two different engines such as Unity and Unreal, would there be a ...
1
vote
0answers
101 views

Free Game Engine with Inverse Kinematics Support [closed]

Is there any free 3d game engine that supports inverse kinematics at runtime? Also that is cross-platform (supports Android).
0
votes
1answer
212 views

Performing intersection testing in world's or object's space?

Am adding basic ray casting and collision detection for my game, also adding bounding volumes/collision mesh. Given that the ray is cast in world space and each mesh's node can track world ...
8
votes
2answers
613 views

How do I choose the scaling factor of a 3D game world?

I am making a 3D tank game prototype with some physics simulation, am using C++. One of the decisions I need to make is the scale of the game world in relation to reality. For example, I could ...
1
vote
0answers
136 views

What's the best engine for a procedural game that doesn't compromise on graphics? [closed]

We have a very interesting idea for a new game mechanic that would allow us to make our game procedural and entertaining. To bring this game to life, we need the ability to generate the game world on ...
2
votes
1answer
651 views

Using an Entity System Architecture with Task Based Parallelism

Background I have been working on creating a multithreaded game engine in my spare time and I currently trying to decide the best way to work an entity sytem into what I have already created. So far, ...
0
votes
1answer
116 views

Emulated vector scaling with raster graphics?

this is a fairly loaded question. I'm looking to develop a Tech Design Document with my programming team and we're now on the fence about a major 2D graphical engine decision. What we would like to ...
2
votes
0answers
138 views

Preferred way for game to interface with game engine [closed]

I've been trying to find some mention of how ones game project should interface with a game engine, to no avail. This is my question: You use different engines in different ways, some examples: The ...
2
votes
1answer
383 views

How to implement input handling in a C game engine?

I am starting to learn C programming (though I have a lot of experience using higher-level languages). I want to write a game engine using C and OpenGL. I think I understand the graphics rendering ...
0
votes
3answers
453 views

Scripting a game engine

I'm kinda new to scripting and combining languages with each other so i have a question about something that confuses me about it. If you want to script a game engine, do you embed the script in the ...
-1
votes
1answer
199 views

Game Engine Design for the LWJGL [closed]

I'm about to begin on the engine for the game I am making. However, I am quite uncertain how I should design it. I have heard lots about threaded games, component and asynchronous systems. I'm ...
0
votes
1answer
78 views

Source Engine not clearing back buffer?

In the Source Engine, when the map has got no skybox, I can see that typical "no-back-buffer-gets-cleared-artifact". I just want to know, why the source engine does that. Does it have any performancee ...
0
votes
0answers
291 views

syncing multiple audio tracks on Android

I'm trying to create a music based game (similar to "my singing monsters). the idea is that I have a scene where I can place and remove a few different characters from the scene, each character has a ...
-1
votes
1answer
182 views

2D engine that uses Flash Platform classes? [closed]

I want to develop a 2D game for Android, but, I want to use Flash Platform's framework APIs, ex: Sprite, Shape, Graphics, Bitmap .. etc as I have already wrote my game in AS3 .. Is there a 2D engine ...
1
vote
1answer
208 views

Should i use a graphics engine or do the low level graphics myself? [closed]

programming is more of a hobby for me right now as i'm still in highschool. when i get to college i plan to make it less of a hobby and more of a profession. but for now what would you guys suggest ...
0
votes
1answer
121 views

How to handle Gameflow and Progression

Iam building my own 2D Engine and i try to handle the Progression of my Character. For Example when the Player got an special Item an Door opens or when he talks with someone and got an Item the ...