Questions tagged [game-engine]

Use this tag only if you are creating or modifying a game engine framework, or if the game engine you use doesn't yet have its own tag on Stack Overflow. Otherwise use the engine-specific tag(s).

A game engine is a software framework designed for the creation and development of video games.

Some game engines even include a suite of visual development tools in addition to reusable software components and an asset pipeline that takes care of pre- and postprocessing resource files.

Many so-called "game engines" only provide real-time rendering capabilities instead of the wide range of functionality (physics, collision detection, pathfinding, user interface controls, AI, etc) needed by games. These engines rely upon the game developer to implement the rest of this functionality and are more correctly referred to as a "graphics engine" or "rendering engine".

3791 questions
15
votes
2 answers

Why not allocate and deallocate memory frequently in C++ games?

I'm a recent convert to C++ for game programming - I have a lot of experience dealing with memory management and garbage collection woes in C#, but not as much with C++. I've heard some vague advice in the past to avoid allocations and…
QuadrupleA
  • 876
  • 6
  • 23
14
votes
1 answer

How to create a responsive game for any screen size with Phaser 3?

I've been looking for a solution to be able to make my game fully responsive to any screen resolution using Phaser 3, for example: This example was made with Construct 2, where by the way it is very simple to do this effect. Does anyone know what…
shimo
  • 367
  • 3
  • 10
14
votes
2 answers

How to log a message from a string variable in Unreal Engine?

I am trying to log a message form a string variable , below is the code I used std::string s = "ss";//std::to_string(FPaths::GetPath("../")); UE_LOG(LogTemp, Warning, *s); but it's not working, Can someone tell me how to do this ?
Kas
  • 3,747
  • 5
  • 29
  • 56
14
votes
4 answers

Is C still being widely used in game engines?

The title is a bit of a misnomer, what I mean really is "C with classes". Let me explain, recently I bought the book ShaderX7 which came with a lite (and old) copy of the Unigine engine for one of the articles about shadow mapping techniques. I was…
Julien Lebot
  • 3,092
  • 20
  • 32
14
votes
8 answers

Any Games Engine for Delphi?

I want to create a game in Delphi Is there any good game engine for Delphi? based on directx 10 or OpenGL? I need it for 3D games, or can I only do that with C++?
user390957
  • 266
  • 2
  • 6
14
votes
3 answers

Data-oriented tree traversal without recursion

I have a tree structure like this: a Model has a root Node and each Node has any number of child Nodes and also any number of Meshes. A lot of the time in my application is spent traversing this tree and doing computations like view frustrum culling…
KaiserJohaan
  • 9,028
  • 20
  • 112
  • 199
14
votes
2 answers

IndexedDB Access Speed and Efficiency

I'm developing an RPG in Dart, and I'm going to use IndexedDB for data persistence. I will have two databases: one for read-only access and one for read-write access where save games will be stored. I was just wondering if I should read required…
Melvin Sowah
  • 700
  • 1
  • 10
  • 29
14
votes
6 answers

OOP Game Design Theory

I've tried to develop a 2D game with C++ in the past using mere objects, however, in the design process I don't know how and what parts of the engine I should split into smaller objects, what exactly they should do and how to make them interact with…
TheMagician
  • 1,846
  • 7
  • 20
  • 26
13
votes
7 answers

Web-Based Game Engines - Request For Input

I'm creating a web-based online game and am trying to find the best fit in terms of a framework for the front end of the game. The back end of the game is currently using asp.net mvc 2. Given that I could take the controller actions and turn them…
omatase
  • 1,551
  • 1
  • 18
  • 42
13
votes
4 answers

Getting the width of a sprite

I am trying to create a row out of some square sprites I have. So to get the width of these sprites i am using tileWidth = (int)tileSet[0].renderer.bounds.size.x; And then to form the row i am uisng for(int i = 0; i < tileSet.Length ; i++){ …
Vaibhav
  • 703
  • 1
  • 7
  • 18
13
votes
1 answer

Angular JS for game UI

I am currently building a web game using html5 and the Impact JS game engine. I want to overlay html components over the top of the canvas/impact engine, and I was looking for some frameworks that would help with ui/dependency injection/databinding…
Seacomit
  • 277
  • 2
  • 12
12
votes
0 answers

To disable steam overlay

I have the following setup for the game: launcher.exe - starts under Steam on Windows and provides some settings UI for the user. Then launcher.exe starts actual game.exe. Problem is that the launcher.exe is using H/W accelerated UI - uses…
c-smile
  • 26,734
  • 7
  • 59
  • 86
12
votes
3 answers

How to best synchronize game engine and network server in Haskell?

I am designing a little soccer game where the game engine (that computes player moves etc.) runs on a server, and rendering and keyboard/mouse handling is done by the client. For the server (Haskell) I want to use Happstack for client-server…
martingw
  • 4,153
  • 3
  • 21
  • 26
12
votes
1 answer

Game architecture for someone with a background in LOB Apps

I've got a background that is almost entirely based around business applications - Web services, schedulers, desktop and web front-ends to CRM systems, etc... Now with almost all of the above projects, the basic principles are the same: Some sort of…
Basic
  • 26,321
  • 24
  • 115
  • 201
12
votes
5 answers

Handling entities in a game

As a small exercise I am trying to write a very small, simple game engine that just handles entities (moving, basic AI etc.) As such, I am trying to think about how a game handles the updates for all of the entities, and I am getting a little bit…
Lucas
  • 10,476
  • 7
  • 39
  • 40