Trending questions
57,624 questions
0
votes
0
answers
17
views
Raylib Simple snow particle system flickering problem
I'm quite new to Raylib and trying to make a simple snow particle system. I managed to make it as below code and built it.
But when I run it, the snowflakes flicker and I can easily notice it.
Here's ...
0
votes
1
answer
53
views
Slot reels RTP(return to player) estimation
I am making a slot game with 3 x 5 reels. The RTP I am targeting is 99%. My reel data is given as (yaml):
...
0
votes
1
answer
38
views
Color is different in Scene vs Game View
This is a new project I just started, so it has no scripts or assets attached to it. As the picture shows the scene view and game view have a different colors. I don't know what I should change, since ...
0
votes
1
answer
92
views
Game engine dev vs game programmer
I love rendering, coding game logic and implementing physics systems using libraries like SDL2, however, I also enjoy using those systems to design and put together games. Do my interest more align ...
0
votes
1
answer
13
views
Material emission (glow) set via script gets reverted when saving the scene
I’m trying to control the material glow in the editor, and it works, but when I save the scene, the Emission gets enabled automatically in the material even if it ...
0
votes
1
answer
29
views
Unity shader optimization
I have a problem with badly optimized palette cycling function of the background shader:
...
19
votes
1
answer
2k
views
How to achieve the Steel Division 2 frontline? (Dividing area smoothly with curves using a few points)
The game Steel Division 2 has a very nice looking frontline system, where a smoothly curved line is drawn between friendly and enemy units, dividing the map into territorty owned by two teams.
Does ...
0
votes
0
answers
19
views
How can I make the help box cover the full width of the inspector?
Is there a way to make the space on the left side of the help box the same as the space on the right side?
The code:
...
1
vote
2
answers
36
views
Change the tile in the tile map at runtime
So I am making a game which has a farm. The farm is a tile map with each individual tile being a crop/mud.
I want to achieve the following
As the player interacts with a particular crop tile, I change ...
21
votes
3
answers
3k
views
Reasoning about quest and story deadlocks etc
Are there frameworks for reasoning about questions such as: Given my quest and level design, is it guaranteed that for any combination of player choices there is no way for the player to lock ...
0
votes
1
answer
40
views
Lerping Time.timeScale causes laggy physics
I am using unity as my game development platform. I was trying to create script that could interpolate time scale to achieve a flurry rush.
The code below is my attempt:
...
0
votes
1
answer
28
views
Tesselation and Geometry shader do not render anything
I am experiencing an extremely odd situation with the introduction of the tesselation control and evaluation shaders in my OpenGL rendering pipeline.
I defined an instanced indexed mesh whose ...
0
votes
2
answers
75
views
Linked list in C
I only know C, no other language.
How do I use a linked list to store projectiles in sdl2?
My bullet currently has an sdl_image, has been queried and has the following properties:
...
0
votes
0
answers
36
views
How do I integrate Unity Addressables into my tool?
I am to create a time system with day-night cycle for a mobile game using Unity.
Since the game targets mobile devices, I wanted the lighting to be baked.
So, I thought of baking the lighting multiple ...
7
votes
3
answers
4k
views
Is it possible to directly check for source code modification
I'm looking for a better way to actually detect "cheats" by checking if the source code of my game has been modified and if any code has been injected to the original code in C#.
The issue ...