Recently Active Questions
57,685 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
53
views
Change sprites for multiple image in one function
I am trying to make a digital clock (24:00 type), where each number is an individual image, that should change. So, I want to change sprites for multiple images in one piece of code.
But when I ...
1
vote
2
answers
223
views
Simplest free algorithm for generating caves and ore in 3D voxel game
I'm trying to find an algorithm that does not require giving any form of credit to use (like perlin noise) and can be used for generating caves under a height map that can make holes in the terrains ...
0
votes
0
answers
70
views
How to Implement Ray Casting and Aim Assist Scaling in UE5 Using C++ for FPS Mechanics?
I'm developing an FPS shooter in Unreal Engine 5 and currently working on the aiming mechanics for keyboard and mouse (KBM). I want to implement an aim assist system that uses ray casting to detect ...
1
vote
1
answer
2k
views
What is a good approach to dynamically change actor Position?
In my card game there are 2 players with each player having a hand(a ListArray of of Cards.In this case its ...
3
votes
1
answer
15k
views
Howdo I load a GIF animation in pygame?
How can I load a GIF animation in pygame? With a web search, I found a severely outdated library called GIFImage. I tried it to do it with 2 pictures but I'm getting stuck because I'm a beginner. I ...
0
votes
0
answers
101
views
Why does this code behave strangely with different camera angles?
Relevant to this issue are two MonoBehaviour scripts: Actor and Player. ...
0
votes
1
answer
2k
views
In Unity, how can I render borders of provinces from a colored province map in a grand strategy game?
I am kind of a beginner of Unity and I am trying do work on a grand strategy game. I already have a province map, colored by unique rgba for each province, looks like something below:
I know that the ...
1
vote
2
answers
151
views
How to settle a rigid body to rest on flat surface
I am trying to simulate the behaviour of a rigid body, for example a cube, while it settles on a flat surface. Let's say it lends on an edge or even on a corner, and now it has to settle and remain on ...
0
votes
1
answer
41
views
Best way to sync PhysicalObj to player headset position?
I’m in the process of designing a threejs-based webxr engine for simple VR games. Right now, I’m working on implementing physics with cannon-es, but I’m struggling to figure out how to sync the player’...
8
votes
3
answers
5k
views
How can I tile Perlin noise to more accurately represent a world map?
I'm currently working on my game.
I would like to generate the world map with Perlin noise, and wrap it just like a real world map.
I've found a algorithm to create a map wrapped along X and Y axis:
...
7
votes
1
answer
2k
views
Unity 5.3.5 - How to setup a lobby with general game settings?
I am currently working on the lobby for my game. I have followed these tutorials (https://www.youtube.com/watch?v=jklWlm5v21k), which were very helpful, and was able to setup my lobby like this.
The ...
0
votes
1
answer
150
views
Open model file format that supports skeletal animation
I'm looking for a file format to store and load 3D models with skeletal animation data, which is free to use and distribute without licence restrictions.
I've evaluated formats like glTF and Collada (....
0
votes
0
answers
136
views
Why does a sprite with a larger texture render faster?
While drawing a map for a game in Pygame, I encountered a strange problem. Loading my grass sprite, which is a little over a kilobyte, and placing it, the FPS dropped by half. However, replacing the ...
1
vote
0
answers
62
views
using Unity URP/lit shader with skinning and DOTS
I'm using:
Unity: 6000051f1
Entities: 1.3.14
Entities Graphics: 1.3.2
URP: 17.0.4
Shader Graph: 17.0.4
I'm fairly new to both DOTS and Shaders, but when trying to use DOTS with URP combined with ...
1
vote
0
answers
98
views
Necessity of node-graph-based rendering in simple game engine
I'm working on a C++ game engine for my own projects. It's divided into two parts: one which handles basic functionality like logging, cross-platform abstractions, filesystem utilities, etc., and ...