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
29 views

Loading scenes from files, or hard coding it?

In a game engine I'm working on I'm using scenes similar to what you would find in Unity. The entities in my game are composed of reusable components and custom data which is linked to those ...
0
votes
1answer
76 views

Proper system architecture in a game engine?

This is my first time attempting to create a game engine. I came across a theoretical problem and would like to solve it before implementation. Right now I have a WindowSystem, which opens the window, ...
0
votes
0answers
31 views

Why can I see through 3D assets? [on hold]

This is the case in most 3d games, and I can't figure out why. Ideally I could mitigate this (as it is not the best play experience) but if not, I would at least like to understand the mechanics of it....
0
votes
0answers
33 views

Do I need ONLY unreal engine to make 3d games like watch dogs? In terms of tools [on hold]

I know I need a game engine to make 3d games, but I don't know what else I need. Can unreal engine help me build a game from top to bottom without needing to switch between applications to do ...
0
votes
0answers
35 views

How is a game's object data loaded in a game engine? [closed]

In a Game engine like unity with Editor support how excatly are game objects like scenes, cameras, math objects created and loaded? I have only ever worked with libgdx as a game engine, where we need ...
0
votes
0answers
20 views

What's the best book to give you the math and physics background to make your own game engine? [closed]

I want to make my own game engine, but could use a refresher on math and physics. I already know some stuff (like how to multiply matrices, integrals, differential calculus etc.). I've narrowed my ...
0
votes
0answers
64 views

What is the most efficient way to render in OpenGL [closed]

Currently, I have just started making a 3D game engine in OpenGL. before I start doing anything else, I want to have a powerful renderer. Currently i have: ~ A VAO/VBO/IBO System ~ Vertex and ...
2
votes
2answers
215 views

How do mobile games create simple UI components?

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 ...
1
vote
1answer
339 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 ...
0
votes
1answer
94 views

Libgdx Fine Tune Megaman Movement

With help from my last question, I was able to fix the issue of having a stuttering effect if you keep hitting jump, while jumping. I believe I have managed to match moving on the X axis and the ...
0
votes
0answers
35 views

Is C++ able to handle online multi-player game? [closed]

I am thinking of learning either java or C++, and for one thing I know that java can make online games, but I'm not sure about about C++. I want to stick to one language and work on it till I get ...
0
votes
2answers
68 views

How do I reference one gameObject with script attached to other?

this is all in Unity 3D with C#. Thing is, I have attached a script to my player that should Destroy TreeGroup (as in forest) whenever I press 'Q' and Instantiate them when I press 'E'. Here is the ...
5
votes
1answer
120 views

How to find out at runtime if Vulkan and/or OpenGL support is available?

I'm building an engine, which has Vulkan for its primary rendering engine. But to have at least some backwards compatibility with devices that don't get drivers for (Mainly mobile) it I want to ...
-1
votes
0answers
13 views

How to manage multiple scenes in my engine with a data-oriented design approach?

I've been building my game with a data-oriented design approach after experiencing the pitfalls of object-oriented the first two times I tried to build it. My RenderSystem owns it's own data and is ...
3
votes
1answer
210 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
1answer
49 views

Basic Animation Concept - Stuttering Sprites (Java)

The Problem I have some sprites animating across my screen (some spaceships). I alter their X coordinates (like -5, for animation) in my game loop. I want the animation to happen faster, however ...
1
vote
2answers
92 views

Render terrains depending of the player position (Chunks)

Well, I have an array with all the terrains. How do I render them? I just add them to a List of terrains that are sent to the Renderer. There, every terrain of the list is rendered. The problem is ...
0
votes
0answers
49 views

I Need help with Match-3 mechanics in Gamemaker

Engine used: Gamemaker Studio, Professional Edition Note: I just saw a suggestion to use an array/matrix, and that's probably infinitely more useful and easier than what I'm doing right now (free-...
0
votes
0answers
27 views

How does game engine in language A and game logic in language B work? [duplicate]

What I'm trying to understand. A lot of games, Like Crea by Siege games and Viking Squad by Slick Entertainment. Uses of course an graphics library/engine for there game but one language ...
0
votes
1answer
60 views

2.5D overlapping

I started making a game, wich has a 3d engine under it, but achieves a 2d look by using ortographic camera and billbiards. Similar to how Don't starve, Realm of the mad god and (I think) the new ...
5
votes
1answer
91 views

Why can't game be easily adapted to VR [closed]

I've had this question for some time now, but never got around to asking it. Why can't games be easily adapted to VR? I understand some games in which animations change viewpoint would nauseate the ...
0
votes
1answer
71 views

Should I check all the collisions in the game world?? - 2D game

I'm developing a 2D game engine and right now I'm designing the collision system. I've read about space partitioning and QuadTree, and I understand that only the objects that are in the user's view ...
14
votes
6answers
7k views

What scripting language would you recommend for a C++ game project? [closed]

By scripting here I mean not just putting config data in a script, but scripting parts of the project like some class methods, test specific game loop, etc. This would be not just to accelerate ...
1
vote
0answers
20 views

Is there a more useful “inverse” alternative to portal rendering than antiportal rendering?

I'm in the process of sketching out the design of a 3D rendering engine as I'm learning my way around the subject. (Preemptively: yes, I have my reasons for rolling one from scratch, not least the ...
4
votes
2answers
487 views

Where and how to promote an HTML5 game engine? [closed]

I've recently completed an engine, called Irenic. Now, I was wondering, how could one promote it? The process surely is different than promoting a game, because a game can be played by almost anyone, ...
3
votes
1answer
822 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
3answers
171 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 ...
1
vote
1answer
67 views

Entity-components pattern and memory management

I indent to use a level-entity-components hierarchy in my c++ game engine where level is just a placeholder for entities. However, since I'd like to setup all the levels at once (and thus entities and ...
1
vote
3answers
65 views

What technique would I use to animate a 2D curling tentacle?

I have played around in Cocos2D-X and I think I understand the limitations of sprite-based animation fairly well. I want to have a game with some characters curling and extending a tentacle which ...
3
votes
1answer
221 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 ...
20
votes
7answers
5k views

What advantage do OpenGL, SFML and SDL have over software rendering?

I started watching the Handmade Hero stream, where Casey Muratori creates a game engine without using frameworks or such. Yesterday I got to the part where he showed how an image is drawn onto the ...
1
vote
2answers
181 views

In-app update, live update, hotfix for mobile game

I'm researching how to make an in app update on mobile game. When there is a hotfix, or an update, users don't have to go to Playstore, or App store to update but update inside the game. (E.g. Clash ...
1
vote
3answers
98 views

Array Texture 2D with different sizes for the textures?

I'm making a 2D game engine, and I need a way to batch all textures into one so I only make one glBindTexture call throughout a scene. I am trying to use 2D texture arrays, but they only support ...
-2
votes
8answers
11k views

Best open-source 3D game engine for a first person shooting game? [closed]

What is the best opensource 3D game engine suitable for 1st person shooting game? This engine should be script-able with lua.
6
votes
3answers
1k views

Are the Marek-knows tutorials any good or still relevant? [closed]

Anyone have any experience with this? This hasn't been refereed as mush as it 'looks/sound' like. http://www.marek-knows.com/index.php5 Among many other products, the site provides game engine ...
0
votes
2answers
2k views

c++ opengl sdl game engine tutorial

I have a decent knowledge of sdl,opengl and fmod. i am looking for a recent tutorial or book on the basic of making a game engine. Most of the book and tutorial i found are using old dead library like ...
0
votes
1answer
57 views

Advice on Story Text-Based Game [closed]

I am currently in preparation on making a game. This game will be looks like Lifeline by 3 Minute Games, which is a story text-based game. My game will have the same concept with it. Where there will ...
6
votes
1answer
190 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)){ } ...
2
votes
1answer
25k 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: ...
0
votes
1answer
70 views

Do I need to use a game engine to make a simple game function on other platforms? [closed]

I'm a complete beginner really enjoying learning how to code (currently in Python) and my first games will be very simple, mostly text based, but I'd like them to run on friends' phones and computers ...
27
votes
3answers
4k views

For custom game engines, what should I do if my core data is malformed or missing?

I'm writing a custom engine for a game. I started this game well before I understood why I should use middleware instead, and it's too far along to rewrite. The vast majority of my data comes from ...
0
votes
1answer
69 views

Is window creation decoupled from game engine?

I'm new to game development, and I was wondering about a architecture question. The window creation code in C++ is given by doing the following: Fill out a WNDCLASS struct Register the window class ...
3
votes
5answers
501 views

Time/duration handling in strategic game

I'm considering developing a space opera game, having already done some game design. Technically, though, I'm coming from a business applications background. Hence I don't really know how I should ...
2
votes
0answers
41 views

How to calculate specular contribution in PBR?

I'm trying to implement PBR in our project (we started a small game engine for academic and learning purposes) and I cannot understand what is the right way to calculate specular and diffuse ...
1
vote
0answers
35 views

OpenGL texture not loading onto the model

I am still learning and I'd like to apologize if I don't explain something clear enough or anything like that. please forgive me :) So I am experimenting with 3D graphics for my university assignment....
0
votes
2answers
39 views

Single player game into Multiplayer game(Not online) [closed]

How difficult is it to do this?(Like, do you need to so skilled that you aswell might have created the game yourself) Do you need to change a lot of the code? For example, if I have a single player ...
1
vote
1answer
60 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 ...
0
votes
1answer
96 views

How should my engine Identify objects

I'm making a fairly basic openGL 3D engine, at the moment, when you load an object, you would write manager->LoadObjFile("cube.obj"); manager->AddParent("uvmap.bmp", "cube.obj", "cube", glm::...
0
votes
0answers
20 views

Change the player 3d model in runtime

Suppose I am playing a zombie game, and a zombie bites me on my arm. So, to stay alive, I have to cut off my arm, right? Or maybe you are playing a FPS and an enemy player shoots you at your hand. ...