Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [c++]

C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.

0 votes
0 answers
50 views

I have multiple different classes which need to perform the same complex operation So to keep my code dry, I'm using a manager object which requires a delegate for the complex operation Here's a ...
Manas R. Makde's user avatar
1 vote
0 answers
48 views

I'm using SDL2 in my game engine and have created custom event types that use the data from SDL_Event. This works well within my own code, but it becomes ...
steamdog's user avatar
1 vote
0 answers
44 views

I'm developing a custom Vulkan renderer and want to integrate a QML-based UI into it. I already have a working Vulkan setup and also managed to render QML over Vulkan using a separate ...
Александр Куликов's user avatar
0 votes
0 answers
44 views

I have a skeletal mesh with a Physics Asset assigned to it as such: This skeletal mesh is used within an ACharacter with collision settings as such: And an actor which has the overlap event as such: ...
Manas R. Makde's user avatar
1 vote
1 answer
171 views

I am working on creating an options menu through which I can change resolution and toggle full screen mode. I am allowing only those resolutions that have aspect ratio 16:9, as my game was originally ...
kiner_shah's user avatar
0 votes
0 answers
81 views

Let's say I have a class UFoo which has a dynamic delegate myDelegate with no parameters. I cannot modify the contents of ...
Nuclear Applejack's user avatar
0 votes
0 answers
81 views

I'm implementing perlin noise in C++. I have a permutation table for the gradients vectors and want to shuffle them with a 2 number hash that has 2 purposes. The hash uses the integer portion of the ...
Opengraphicspros12's user avatar
1 vote
1 answer
100 views

I'm writing a gdextension and trying to format a string using an array as one of the parameters. Example: ...
Luke B.'s user avatar
  • 1,031
1 vote
1 answer
334 views

I find lots of articles but they cut parts out to simplify the process. I am trying to write a function to generate real 3D Perlin noise without skipping steps like averaging the 4 corners ray somehow....
Opengraphicspros12's user avatar
0 votes
1 answer
114 views

I want to know some methods of storing the voxel data in a game like Infiniminer or Minecraft in a C++ program. What file types can do this easily? The voxel values will be big possibly a trillion by ...
Opengraphicspros12's user avatar
0 votes
0 answers
32 views

Hi im trying to select voxels in a voxel world that are at the center of the cameras view. The players camera X,Y,Z position and its rotations are known. The camera works in this program. I tried ...
Opengraphicspros12's user avatar
0 votes
0 answers
192 views

I have a voxel game where I want to know which block the players camera is facing. To do this I have a line the distance allowed for the player to interact with the world cast from the center of the ...
Opengraphicspros12's user avatar
0 votes
0 answers
115 views

I am working on a top down 2D grid based game, where as it is currently, units have a movement and an attack range. An example of this: The blue squares are tiles the selected unit can move to, the ...
starrider's user avatar
0 votes
1 answer
296 views

Does anyone have any insight or at least a guess as to how the spell system works in Noita? The game is done in C++, and it has spells that can be modified with other spells and spell modifiers that ...
Spoon's user avatar
  • 11
0 votes
1 answer
147 views

I'm developing an ECS framework in C++ and after doing every optimization I could think of, the comparison with a naive array look up is terrible. It's 10x worse in debug mode and 3x worse in release ...
Cool guy's user avatar
  • 186

15 30 50 per page
1
2 3 4 5
291