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

learn more… | top users | synonyms (1)

-2
votes
0answers
24 views

Cross-platform engine for a 2D graphic adventure [on hold]

I am planning to make a 2D Point & Click adventure, just like the old Lucas Arts games. I was thinking of an engine which could let me making this game easier. The engine which I am looking for ...
0
votes
0answers
35 views

Proper 2D game engine architecture? [closed]

I have made a game engine in C++ before, but it was bad. The game logic was tied to frame rate, everything was. It could only run at one resolution, I had a central "Game" singleton, and used a lot of ...
5
votes
3answers
149 views

How to handle GameObjects that have been destroyed but are still held by others?

I'm developing my own game engine in C++ as a learning exercise. I have employed a fairly standard method of handling destroyed GameObjects: Mark them as destroyed Have the scene delete destroyed ...
1
vote
1answer
65 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
1answer
62 views

Simple UI components in a game

How are simple UI inputs typically handled in 2D mobile games? For example, text input boxes and keyboards. It seems that many game engines do always have simple UI components. There are obvious ...
4
votes
2answers
100 views

Decoupling input from game states / entity behavior

I'm looking for a way or general best practice advices for decoupling the architecture of my game, in the example below the input from the current game state workflow / entity behavior. While I'm all ...
-1
votes
1answer
43 views

Unity3D 5 Personal? [duplicate]

I want to make a game in Unity3D and I am planning to launch it to Android using the free license. However, if the game becomes a huge success and earns more than $100k, does (a) unity take the money ...
1
vote
1answer
39 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 ...
2
votes
1answer
172 views

Should I implement Entity Component System in all my projects?

I'm not here to ask for any specific code implementation, I'm here just to make my ideas clearer. But let me explain the situation: I have already developed some little and amatorial game projects ...
5
votes
1answer
117 views

How to detect collision only in non-transparent texture?

I am developing a game using libgdx. I am trying to detect the collision between bee and tube. I am using the following code to detect the collision. if(player.getBounds().overlaps(boundsBot)){ } ...
4
votes
2answers
216 views

Complex system-component dependencies in entity-component system?

I am trying to design a typical (data-oriented) ECS engine. The issue I am struggling with is that my rendering system have to rely on two different sets of entities to actually do rendering. My ...
0
votes
3answers
107 views

Alternative to entity system in a game engine? [closed]

I have been developing a game engine. I was wondering what I should use for a component system. I've read up on entity component systems, but what other alternatives are there? The idea of searching ...
0
votes
1answer
80 views

Why is the alpha value of a Sprite in LibGdx 0.99607843 and not 1?

I'm developing a game in LibGDX and one of my problems is related to the alpha value of a Sprite object. If I create a new Sprite sprite object then sprite.getColor().a is equal to 0.99607843 and not ...
-1
votes
1answer
41 views

How are pocket dimensions created in multiplayer games? (programming aspect) [closed]

How do multiplayer games deal with multiple instances/dungeons/regions? I'm familiar with server clustering which is what larger games use such as Eve and World of Warcraft. How do games such as ...
0
votes
1answer
58 views

Organizing Setup(), Update() and Draw() function in a game engine

I'm creating my first game engine and I want help with organizing the Setup(), Update() and Draw() functions in the correct way. Here is how my main() function looks like /* BEGIN main() Function */ ...
3
votes
3answers
174 views

Using two languages in a game engine?

I'm thinking about making a game engine as a learning project. I know Java the best and I figure most of the code is not going to be running that much of the time, (20/80 rule) so why not write most ...
1
vote
1answer
78 views

Want to create live-voice chat between players either in unity or unreal engine [closed]

I would like to create a real-time voice chat in either in unreal or unity between the players.I would like to associate and apply this voice-chat depend on username. I am saying "or" for the ...
2
votes
1answer
56 views

How to store renderer vertex / index data in scene graph objects?

I have a SceneNode class which contains a Mesh instance. The Mesh class stores client side information such as vertex and index arrays (before they're uploaded to the GPU). I also have an abstracted ...
2
votes
1answer
28 views

Unreal Engine Player Quality

I had to force Unreal to use my integrated graphics card because VR wasn't working with my NVidia card. When I did this, the framerate dropped terribly and it popped up a dialogue "Frame rate's bad, ...
0
votes
0answers
15 views

How to parse a and displat TMX map object in SDL using tmxparser ?/How to make a platform game using tiled editor and SDL?

I am newbie in this field getting too much trouble in simple platform game for one of my project module if you guys could help or share some code. This is what I have done till now. I could parse a ...
-1
votes
1answer
47 views

Why not draw a custom font with lines and/or polygons?

Reasons/advantages I see: More flexible procedural animation. Completely custom font. Performance (no texturing or high-poly)? No assets (unless data-driven). Multi-resolution compared to sprite ...
3
votes
1answer
58 views

Ideal draw order - sort primarily by distance or material?

When it comes to pre-sorting the draw calls for a given frame, I am aware of two different methods for optimising. The first is to batch draw calls by their material. This minimises shader changes ...
4
votes
2answers
45 views

Threading/Streaming files while rendering the scene

I am writing a game engine and am trying to wrap my head around data streaming while rendering. What I mean by this is being able to load resources (however slow it may be) while rendering and not ...
-4
votes
2answers
96 views

The Power of 2D Engines vs Modern 3D Games [closed]

I'm toying around a lot with Game Maker. I really like it. GML is very simple and with its nearly object oriented design you could create anything in 2D you can think of. However there is a limit. ...
16
votes
6answers
4k views

How do I correctly use singletons in C++ engine programming?

I know singletons are bad, my old game engine used a singleton 'Game' object that handles everything from holding all data to the actual game loop. Now I'm making a new one. The problem is, to draw ...
3
votes
3answers
190 views

How do you apply relativistic physics to a 4x strategy game?

I had the big idea of trying to create a hard science fiction 4x strategy game (with the obvious space setting), which is supposed to simulate a realistic way of creating interstellar societies while ...
0
votes
0answers
37 views

Stencil buffer confuse

I was trying to make two object outline. One would color the object with orange and other with green. I just wanna know if is it possible to have two object outline at the same time because every time ...
16
votes
2answers
2k views

Can I embed a game in a Pdf Resume?

I was thinking how it could be cool to have an interactive game on resume. (Obviously the digital version, not paper version.) For the sake of this question and scope of this site, let's ignore ...
-1
votes
2answers
92 views

How to model an Attack( ) action? How to model combat? In general, how objects communicate?

I never understood how would you elegantly describe two people talking in OO. I think this question extends to how similar objects communicate in general. I am designing a game now and Units have to ...
0
votes
2answers
96 views

Connect phone to computer? [closed]

In order to test out my game, I need to use my real life device. The problem is, android studio isn't recognizing my device plugged in: The problem: My device isn't getting detected in android studio ...
2
votes
2answers
60 views

LUA form/scene loading

At the moment, I'm working on a small game project using LUA and the love2d framework. Using this framework, I've made my own assets (i.e. button images, form images, etc), and using these assets I've ...
2
votes
1answer
35 views

Draw lines in game scene [closed]

I want to do game for Android that allows draw lines. These lines should be physic object at the same time. I am good at Unity3D and I tried in Unity3D. But it is not supported. What engine should I ...
-1
votes
1answer
47 views

Manager Game Logic [closed]

I'm currently trying to figure out a way where I can achieve the following; Pre-Calculate the game - This will predetermine any event / interaction between the players. Simulate the calculation - ...
0
votes
1answer
42 views

How to avoid mouse click over the trigger object?

I'm detecting the mouse clicks if the click is happened over the collider but i dont't want to fire mouse click if it is on the trigger object. How to i do this. Anyone give me a suggestion. Thank ...
-2
votes
1answer
67 views

DirectX is difficult sometimes [closed]

I recently started DirectX 11. Sometimes I can't get my head around it. First of all what are COM objects and why we do have to release them? I have done most of initialization, but I am stuck in ...
2
votes
0answers
63 views

What is the best abilities modding system that you encounter in games? [closed]

I'm thinking about designing an abilities system (as in a moba game). Most important goal is to be able to easily create new abilities in the editor, with a low learning curve (ultimate goal: simple ...
2
votes
0answers
26 views

difference between an engine and a library [duplicate]

I'd like to know the difference between a library and an engine. I've searched some information and if I'm not wrong, an engine gives you more options and makes work easier than a library. An engine ...
1
vote
2answers
48 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 ...
4
votes
1answer
74 views

Finding it difficult getting to grips with LibGDX [closed]

So I have spent about a week now learning libGDX and have made very little progress. I started small and wanted to make a strategy game where there is a tiled map of squares and you control a ship, ...
2
votes
0answers
92 views

What are the newest alternative to all-in-one game engines? [closed]

I have been seaching a while for recent alternative to engines like unity or unreal, however, I haven't found one actively maintained that meet my needs. For instance, I tried irrlicht with maps ...
1
vote
1answer
44 views

openGL : render each mesh at their respective locations

At the moment I have a single mesh, and I give the vertex-shader a matrix which holds the objects position, scale and rotation, and it seems to work. in vec3 position; uniform mat4 object; uniform ...
2
votes
1answer
39 views

Libgdx - Viewport for Tetris-style game [duplicate]

I'm a beginner in libgdx, and I'm trying to create my first game. It's pretty simple, circles are falling from the top and sides of the screen, and the user needs to "blow" them before they touch the ...
2
votes
2answers
91 views

Low performance from unordered_map when accessing elements in member template function in derived class

I'm trying to implement a component based architecture on a game engine project. Each GameObject has an unordered_map that holds a pointer to Component base class. At this point, I only have one ...
1
vote
2answers
94 views

Spec for unreal engine

I'm new to game development and this is my first time. My laptop has - core i3 2.0GHz 5005U - memory 12GB - graphic 920M 2GB I check the unreal engine website but they only show recommend spec. Can ...
3
votes
3answers
96 views

Creating a Game Engine: How to position game objects (top left vs. center)

I'm building a custom game engine in C++ using SDL and I'm not sure how I should define the position of my game objects. I tried googling a bit but I wasn't sure how to refine my search terms to get ...
2
votes
0answers
79 views

How to develop a good game project? [closed]

I have enough experience in both C++ and Java, since I've been working on them a lot. My graduation project is, in my case, a game (I still have almost 8 months remaining). I already took down the ...
2
votes
1answer
79 views

How to test the effectiveness of a game engine?

A few friends and I are working on a home-brewed engine for a selection of games we wish to produce in the future. We're making it to satisfy a few key requirements that we haven't found were properly ...
1
vote
0answers
49 views

Efficient mobile rendering order, given transparent vs. non-transparent objects

I'm interested to know how others would do / have done this. Part 1. Constraints. My current renderer is being built to support OpenGL ES 2.0 primarily and so aims for performant mobile as well as ...
0
votes
0answers
35 views

Invalid GLSL on some machines

I'm writing a game engine using OpenGL 4.3 using gcc 5, mainly to teach myself graphics programming. Initial development was on my Surface Pro 3 using mingw-w64 and worked like a charm. I've decided ...
1
vote
1answer
133 views

Resource streaming with job threading system

I am currently researching resource streaming for my current game engine. To add a bit of context, I am doing a contiguous world for a Baulder's Gate style CRPG. So while the camera is usually looking ...