Newest Questions
57,624 questions
0
votes
0
answers
37
views
Collision detection for a newbie [duplicate]
I am a freshman cs major with an interest in game dev. I know next to nothing and am very new to this so please bare with me.
TLDR; Should I use BSP for detection between moving and static objects as ...
0
votes
1
answer
38
views
Fixing the player movement with SDL2
Whenever I create a project with SDL2, I always encounter the same issue: when I hold down a key (for example, W for upward movement), it moves on the first frame, doesn’t move on the second frame, ...
0
votes
0
answers
21
views
How to Handle Intermediate State in Event-Sourced Game Architecture for Complex Command Logic
I'm building a turn-based game using an event-sourced-ish architecture. Here's the basic structure:
A dispatcher on the game engine receives commands from the client and routes them to command ...
0
votes
0
answers
55
views
How to Evaluate Chained Actions in Turn-Based AI Without Duplicating Logic?
I'm looking for advice on designing the architecture of my turn-based game.
Suppose units have different abilities—various movement types (run, teleport, charge in one direction, etc.), different ...
1
vote
2
answers
39
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 ...
-6
votes
0
answers
27
views
《Symbolic of Immortality and Enternity》seek help [closed]
I am a game designer from China, looking for Unity programmers or classical pixel artists who can participate in game development for free. Musicians are also needed.
My game project is a tile map ...
0
votes
1
answer
26
views
Unity object becomes missing after changing the scene and to different scene and returning to the first scene again
I am developing a tool in unity that requires some objects from the active scene, and currently, I am working on a system to save the data so that the user does not have to enter it manually each time....
0
votes
0
answers
51
views
How do I make my Software 3D Renderer slow down as soon as I change the screen resolution during runtime?
I'm writing a Software 3D Renderer in C many months after I first originally wrote it in Python. It is made using SDL2. My engine currently has depth shading, perspective correct texturing and some ...
0
votes
0
answers
8
views
UI Toolkit px size different from the game view
I set my game viewport to QHD and my UI Builder viewport to match game view. Yet in my UI Builder the window is nicely scaled within bounds, and in game view it is waaay too big. How can I make them ...
2
votes
1
answer
87
views
Proc-gen, turn-based game demo with level limit. Should it offer daily challenges instead of preset seeds?
I recently published a demo for my new, turn-based word puzzle, set in a fantasy world (called "Dragon Riddler" -- it's on Steam).
The game loop is this:
find the dragon's lair in a land ...
0
votes
0
answers
47
views
How does Cube Slam uses the camera for gameplay?
Cube Slam is a unique multiplayer game that allows players to compete against each other in a face-to-face format simply by sharing a link. The game utilizes the camera for interactive gameplay, ...
-1
votes
1
answer
67
views
Should I use Unity 5 or Unity 6? [closed]
I have been working on character drawing for a long time and Unity 6 is also relatively new. I am using the 2020 Unity5 version. The game I will make will not be a very advanced game. I will do ...
1
vote
1
answer
52
views
How can I fix the rotation on a sprite normal map in Unity?
I'm making a 2D ball game in Unity v6.0, now in the process of adding some 2D lighting.
The player ball is a circle sprite. To make it look like a sphere, the sprite has a normal map added as a ...
0
votes
0
answers
53
views
How to properly handle ball movement in a soccer game?
I'm building a soccer game (or trying), and currently running into a problem when trying to achieve the desired pass/shot.
For projectile motion, it's fine, but trying to predict rolling movement is ...
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 ...