Skip to main content

Questions tagged [c++]

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

0 votes
0 answers
30 views

-2 I am implementing ghost behavior in a Pac-Man clone, specifically the behavior when ghosts are inside the ghost house during the waiting phase. The issue is that ghosts inside the ghost house do ...
Amir Reza Sa's user avatar
0 votes
0 answers
31 views

I'm pretty new to making games, so excuse my ignorance if I say something stupid. I'm coding in cpp with raylib as a graphics thing. What I basically wanted to do is have procedurally generated ...
New-person123's user avatar
0 votes
0 answers
37 views

I'm trying to create a 2D side-scrolling player controller like in Terraria, but I can't get the delta time right. If I set my laptop's mode to battery saver, my character jitters (from dt jitters), ...
Acerx.AMJ's user avatar
0 votes
0 answers
45 views

I'm writing a C++ game engine using SDL2 and I have an SDL event loop, but I'm not really sure what I want to do with these events. I know that I'll have systems that will be interested in these ...
steamdog's user avatar
0 votes
0 answers
54 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
51 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
48 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
46 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
175 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
112 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
340 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
116 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

15 30 50 per page
1
2 3 4 5
291