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
42 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
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
1answer
77 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
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
67 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 ...
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 ...
6
votes
1answer
123 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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
1
vote
0answers
23 views

How to change text on collision in Unreal Engine

I've just started using Unreal Engine, and I was trying to do a super simple game where there is a character that has text above his head that says 'Bag 'o' fries'. My plan was to have it so if ...
3
votes
2answers
108 views

Designing ability interaction system

I am making a turn based game where player chooses a team of heroes with specific abilities for each of them. (ex. stun one enemy, deal 20 damage to all enemies, heal 10 HP to one ally,...) The design ...
0
votes
1answer
61 views

What is the exact difference between the game and game engine? [duplicate]

I thought game engine are something like Unity or Unreal. They have a editor with scene editor, some Physics library, some scripting editor and tools to improve the workflow of developer. Furthermore, ...
1
vote
2answers
119 views

How do game engines like Unity and Game Maker exports to other platforms?

From what I understand, if you want to export a Unity/GameMaker game from the editor, the game needs to be compiled to create an executable. But I thought to produce a Windows executable you needed to ...
0
votes
2answers
233 views

Shall we create our game engine in this case? [closed]

Although my friend and I are not interested in game development, we like creating tools. We would really like to give life to our own game engine, however, we don't want to put effort into something ...
1
vote
0answers
38 views

Android based game for motion detection and server-side counterpart [closed]

I am starting to work on a small game for trial purposes. There is information I am missing and I thought I would get some good suggestions. The game : A simple prototype to test how we can control ...
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
37 views

Why would somebody want to turn off v-sync? [duplicate]

From this recent article about technical limitations of UWP, I've found inability to turn off v-sync listed as a negative point. I understand lowering graphics settings like texture quality, various ...
24
votes
6answers
5k views

Is there a reason to add options to not use advanced game technologies in a game engine/library?

I have been developing a game engine, and have been discovering and reading up on game technologies such as anisotropic filtering, ambient occlusion, anti-aliasing, etc. Usually in games, you can ...
1
vote
1answer
70 views

Managing game states (states flow, controlling the state machine…)

I am currently struggling really bad to make the game states management. Before we dig into the problem, I must point out that I do know about state machines, I do have both implemented (states and ...
2
votes
1answer
147 views

What is the advantage of pixel coordinates for a 2d game?

From the Godot feature list: Work in pixels as your units, but scale to any screen size and ratio. And reading the documentation they also use pixel coordinates to update the position of objects ...
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 ...
3
votes
1answer
263 views

What language do you program in Lumberyard?

I've looked through the FAQ on amazons site and all they mention is C++/Lua for the web service stuff. Can i assume it's C++ for the game content itself or something else (the visual script editor ...
1
vote
1answer
50 views

AntTweakBar doesn't register SFML mouse events

I'm trying to add GUI for easier level editing in our game engine. We're using SFML for all the basic stuff (window management, input events etc). I've chosen AntTweakBar because it is a well known ...
0
votes
0answers
55 views

What is the best way to represent a large field of objects while using minimal resources?

I have recently started to plan a project in Unity that will be for android. I have a database that consists of over 150,000 stars (may trim this down if I/O cripples the overhead). The game will ...
5
votes
3answers
216 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
85 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 ...
2
votes
2answers
216 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 ...