Most active questions
11 questions from the last 7 days
5
votes
1
answer
971
views
Where do I find the explanation of some design patterns from "Game Mechanics: Advanced Game Design" book?
I have a paperback version of "Game Mechanics: Advanced Game Design" (2012) by Ernest Adams and Joris Dormans.
The book contains diagrams of multiple design patterns and refers to Appendix B ...
0
votes
1
answer
70
views
Increase the angle of a quaternion
I have the following quaternion, created from an angle and an axis
...
0
votes
1
answer
67
views
How to program era-switching in an endless runner?
I'm using Unity's built-in 3D render pipeline, not the HD one. My extent of programming knowledge is basically whatever the learn.unity site provides. I decided my first game to make was going to be ...
1
vote
1
answer
63
views
Unity HDRP custom pass stencil buffer not working in build mode
I've been attempting to create this stencil/mask buffer using Unity's HDRP C# Custom Pass feature and I've been having trouble getting it to work ONLY in build mode. Here is my code:
In my ...
1
vote
1
answer
60
views
Applying localScale to elements in a verticalLayoutGroup with a gridLayout subgroup
I have a few elements inside a verticalLayoutGroup. To better visualize which one is selected, I would like to scale all other elements to 75% of their size and keep the current one as it is.
This ...
0
votes
0
answers
41
views
OBB SAT test with pre-scaled basis vectors
I am trying to do a SAT OBB collision test using OBBs that are represented as a 3D position (\$c_0\$ and \$c_1\$) and a 3x3 rotation/scale matrix (\$A\$ and \$B\$), where the columns of the rotation ...
0
votes
0
answers
56
views
How to solve the issue in an HD-2D style Unity game where the upper part of the player’s sprite clips into the 3d wall when standing close to it?
I am making an Octopath Traveler like game.
I want the player to lean against a wall, but because the player’s sprite is angled while the wall is vertical, the player’s feet touch the wall while the ...
0
votes
0
answers
35
views
Why does the output of GUI.DrawTexture jitter in the SceneView when I scale it?
I am trying to draw an icon using GUI.DrawTexture at a world-space position iconPos to represent a sun icon.
It worked, but when ...
0
votes
0
answers
32
views
How to draw and pick lots of smooth curving lines?
I'm trying to implement a Solar System Viewer similar to NASA's Eyes.
I got the astrophysical part (get positions of the bodies at any time)
but I wonder how to best get the orbital lines/trails (...
0
votes
0
answers
18
views
Computing minimum polygon separation along specific axis
I need to efficiently compute minimum polygon separation along X or Y axis, i.e. the distance you can move a polygon along X or Y until it collides with another one. I know how to calculate it, but ...
0
votes
0
answers
13
views
I'm trying to make a game with absolutely no experience, where do I start? [closed]
The game is called Cult of The Mindless. It follows Periwinkle and Winter in a supernatural fantasy world, where demonic forces have thought to have been long gone. However, a Satanic ruler wants to ...