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
6
votes
1 answer

WPF World Editor for my DirectX game engine

I am working on a small game and game engine in C++ using DirectX. The purpose is educational & recreational. My next goal is to build a simple world editor that uses the game engine. For this I will need to move the engine into a dll so it can be…
Stomp
  • 890
  • 1
  • 6
  • 19
6
votes
5 answers

What is the best free portable 3d/2d engine?

i like to make very simple 3d/2d game for pc/mac/linux what is the best free 3d/2d engine for this ? i have no experience in game programming so i guess it have to be easy to learn please in c++ thanks
user63898
  • 29,839
  • 85
  • 272
  • 514
6
votes
1 answer

What is the difference between anchored position and local position in Unity?

I am new to unity. I am trying to figure out what is the difference between anchored position and local position and where can the both be applied?
Kiran Cyrus Ken
  • 379
  • 1
  • 3
  • 17
6
votes
2 answers

Is there anyway to set the VkDescriptorImageInfo to null or have some way of skipping using a VkWriteDescriptorSet without vulkan complaining

Some of the mesh that I'll be using doesn't always have a DiffuseMap or a SpecularMap. When I try to load something without a diffuse and specular map the program crashes because there's nothing in the DiffuseMap.ImageView/SpecularMap.ImageView…
klj
  • 101
  • 5
6
votes
1 answer

How to update my score text correctly in Phaser 3?

I have my score variable updating in my Archery game. However, I cannot get the score to update correctly. Every time it updates, the new text just pastes over the old text. I have tried it inside of the getMedal() function, outside of the…
Robert Smith
  • 673
  • 10
  • 25
6
votes
0 answers

C# math library (System.Numerics vs Math.NET)

I'm trying to make my own game engine for learning purposes, but I'm also trying to make something that is optimized and is capable of handling a diverse amount of cross-platform games. That said, I'm now at a point where I need to choose a math…
bootzin
  • 162
  • 1
  • 6
6
votes
0 answers

AttributeError: 'SConsEnvironment' object has no attribute 'android_add_dependency'

I'm trying to compile godot with this module: admob https://github.com/kloder-games/godot-admob But I have this error when I compile: scons platform=android target=release android_arch=arm64v8 scons: Reading SConscript files ... Building for Android…
BossShell
  • 379
  • 3
  • 14
6
votes
3 answers

Exemplary 2D game engine

Is anyone here able to point me to a simple and well designed C++ 2D open source game engine? The genre is less important, I wish to learn by example. I wouldn't want anything particularly complex as I'm interested in learning general concepts,…
Paul Manta
  • 30,618
  • 31
  • 128
  • 208
6
votes
1 answer

Native C API for NVidia PhysX 3.4

I am looking through the recently open-sourced NVidia PhysX 3.4 and all I find are C++ classes - is the a header version or wrapper API that is C only?
user2491
  • 83
  • 4
6
votes
2 answers

How should a game server receive udp packets with a defined tick rate?

I currently have a game server with a customizable tick rate, but for this example let's suggest that the server is only going to tick once per second or 1hz. I'm wondering what's the best way to handle incoming packets if the client send rate is…
jjmcc
  • 795
  • 2
  • 11
  • 27
6
votes
2 answers

How to delete sliced sprites in Unity3d

When I slicing a sprite in Unity. I mistakenly sliced a piece that i don't want Here the Menu Buttons_0 Now, I want to delete that garbage Is there any way I can delete the Menu Buttons_0
6
votes
1 answer

DirectX 11 Render To Texture

basically I am trying to render a scene to a texture as in this ogl tutorial here but in DirectX 11, and I faced some issues: Absolutely nothing is rendered when I launch the program IDK why. The only thing the texture displays 'correctly' is the…
Zlixine
  • 184
  • 2
  • 15
6
votes
1 answer

ECS / CES shared and dependent components and cache locality

I have been trying to wrap my head around how ECS works when there are components which are shared or dependent. I've read numerous articles on ECS and can't seem to find a definitive answer to this. Assume the following scenario: I have an entity…
Driv
  • 123
  • 8
6
votes
1 answer

How did Valve build their real-time achievement engine in Team Fortress 2?

The complexity of achievements I've noticed while playing Team Fortress 2 on Steam is amazing. Are there any resources that describe how they architected their achievement engine? There is a lot of data that has to be processed simultaneously and in…
Vyrotek
  • 5,356
  • 5
  • 45
  • 70
6
votes
2 answers

Initializing OpenGL without libraries

Every tutorial I find Online uses SDL or GLAD or other libraries to initialize OpenGL. Is there a way of initializing OpenGL with no extra libraries (like DirectX)? The reason for that, Is that I am building a Game Engine and I want to minimize the…