All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
33 views

My Monogame Android game fails to launch on Release build, failing to find ContentTypeReader

Today I struggled with the problem that appears on building my Monogame Android game with Release option. On Debug, everything is OK, but for some reason my game crashes on launch with Release build. ...
Code Watermelon's user avatar
0 votes
1 answer
30 views

Why does a numeric input field appear in my Unity event when it doesn't in the tutorial?

I was making a game main menu by watching a video online. In that video, while setting the volume Slider, after adding the coded script in the On Value Changed section and selecting ...
Volkan AKDAG's user avatar
0 votes
0 answers
27 views

Spatial Partitioning: Strategy for obtaining current room (x,y,w,h) given a position (x,y)

In my game, dungeons are represented by rooms and hallways, both defined like this: ...
gabriel__'s user avatar
-1 votes
1 answer
43 views

Finding grid squares a set number of hops away while avoiding obstacle cells, without AStarGrid

I am simplifying my project for clarity: I am currently making a game which has a 2D grid and a player moving on it. At the start of the players turn they roll a 6-sided die and can move that many ...
K M's user avatar
  • 1
0 votes
0 answers
57 views

My Godot 4 2D game is running badly on HTML5 on some PCs

using Godot 4.2.1, My game is a pretty simple top down shooter, I tried exporting to HTML5 on itch.io and the game runs fine on certain PCs but not others ?... when running the game on my computer ...
buzzbuzz20xx's user avatar
0 votes
1 answer
35 views

Unity scene doesn't have skybox and lightsource

I am a beginner in Unity and 1st time asking in this platform. I am working as a team and I got invited to this project via Github. (if this matters at all) I want to work in 3D environment and I ...
Minchae KWAK 12HSC's user avatar
0 votes
0 answers
44 views

How can I map out multiple decals on a reel?

So I want to map out multiple Decals on this reel. How can I map it out aesthetically and mathematically correct ? Looking for a math god to help me with this calculation. So far I have hardcoded the ...
Ibra's user avatar
  • 101
0 votes
2 answers
50 views

2D drag and drop dynamic rigid body spinning out of control in Unity

I'm trying to make a 2d game that involves dragging and dropping certain dynamic physics objects (like squares) and I am a beginner. I need it to look like the rest of the object holds a weight when ...
Kareem Shamma's user avatar
0 votes
0 answers
29 views

How to check input/output data for shaders in Renderdoc?

How can I check whether my vertex and pixel shaders' input and output have data in Renderdoc? I have a problem with my pixel shader when I try to include input color. I get a black screen. When I ...
mueoc mueoc's user avatar
0 votes
0 answers
49 views

Why do my entities have jittery movement, where their velocities fluctuate wildly between frames?

I'm writing my own simulation for some robots. I want to utilize friction, acceleration, velocity calculations. Currently, my code looks like this: ...
NeomerArcana's user avatar
2 votes
0 answers
49 views

Tool stops working after death, but only in the Roblox Client, not Roblox Studio

In the experience I'm currently working on there has been a bug where, after death, the gun tools would stop working unless dropped and picked back up. However, when trying to debug this, I found that ...
FlintandStone's user avatar
0 votes
1 answer
116 views

What buttons should I put where? (Start, Credits, options, Quit)

which options should go in which boxes (Start, Credits, options, Quit)
madfroggy's user avatar
1 vote
1 answer
119 views

Fixed timestep without cloning game state

I'm doing a JS game with hundreds of moving physical particles. I've read the famous "fix your timestep" article. So far I've implemented basic prototype with janky game loop tied to FPS and ...
Fen1kz's user avatar
  • 185
0 votes
0 answers
32 views

LOD selection issue

I have been developing an LOD algorithm similar to Nanite's style. I have been developing the algorithm using Vulkan .However, I encountered problems with LOD selection. It seems that the algorithm ...
Giuseppe's user avatar
1 vote
0 answers
28 views

Spot Light Directx12

...
black4's user avatar
  • 215
0 votes
1 answer
34 views

Weird behaviour with SpriteBatch.Draw in MonoGame

I'm creating a rhythm game. I'm trying to move automatically Notes from upside but something went wrong. Notes just stuck. Below is code, thanks in advance for help because I don't understand what I'...
sech1p's user avatar
  • 101
0 votes
0 answers
35 views

How detect collision between object1[i] and object2[j] then do something with them in Box2D games?

I am making a simple game with Box2D and SDL2. I have GameObjects vectors for example: 1.vector of Enemy 2.vector of Bullets… in ContactListener class i can detect collision between enemyFixture and ...
Ryan Bairamzad's user avatar
0 votes
0 answers
59 views

Why do I have to freeze my player's x and z rotation to make my player movement work and why does my camera stutter when colliding with things?

So I have an empty object called player with the PlayerMovement script and a rigidbody. I have the main camera and player visual as childs of it. The movement works ...
MrV's user avatar
  • 47
0 votes
0 answers
43 views

I am trying to move a sphere along a curved path made using spline. The problem i am facing is that the ball's velocity when i apply torque is less

I am trying to move a ball along a curved path using torque on the rigid body. The problem that I am facing is that the ball's velocity when I am applying torque is really less, it moves really slowly ...
Ken's user avatar
  • 13
0 votes
0 answers
71 views

Why is my Gouraud Shading not working correctly?

I am trying to write a 3d Renderer in C using SDL and cgml but my shading seems to be not working correctly. When rendering the teapot I get seams and when I want to render a cube I get a bright white ...
Finn's user avatar
  • 1
1 vote
0 answers
127 views

Itch.io anti-piracy measures?

I'm beginning to develop an online party-style game that is planned to be launched initially on itch.io. It's important to note that this game will be unplayable without a connection to the online ...
Blue Herring's user avatar
0 votes
0 answers
55 views

How to resolve collision between wedge and AABB or capsule

I have a 3D world where all of my terrain uses AABBs as collision volumes (think minecraft, but not strictly cubes): I want to add wedge pieces as a terrain option. They'll have various slopes and be ...
Archduke's user avatar
1 vote
1 answer
51 views

Endless runner in Unity, resetting orgin just cause player to fall and the track keeps moving to infinity

I'm working on a very simple endless runner, tracks are generated in a straight line, one on the end of each, the player simply runs towards the Z axis. Every attempt I've made to reset the origin ...
J. M. Becker's user avatar
1 vote
0 answers
31 views

DirectX/SlimDX Alpha Blending

Hoping someone might be able to offer some advice for an issue i am having. I am working on abit of a project, mainly for learning, which is loading and rendering graphics from an old mmorpg i used to ...
LogicalSE's user avatar
0 votes
0 answers
45 views

What are the consequences of a BSP tree without splitting polygons?

I am considering using a BSP to sort my static geometry (sparse vertex count) for transparency. Usually, you would split a polygon along the plane of the current node and put one half in the front ...
Raildex's user avatar
  • 761
0 votes
0 answers
31 views

How to make a tilemap in pygame?

so I have some Python code to generate a random 10x10 grid in which a mine will be or won't be placed, I am having trouble trying to convert this list into a use-able set of coordinates. Any help ...
Joshua Carlson's user avatar
0 votes
1 answer
33 views

Why are the transform buttons greyed out in the static mesh editor?

I am trying to add a couple box colliders to my mesh. I'd like to scale and position them. But for whatever reason, my transform buttons are greyed out and I don't know why. It's like this whenever I ...
Ethan Fischer's user avatar
0 votes
1 answer
44 views

RigidBody floating in th air

I added a death animation among some other things in case of death. But after playing it the player is airborne, so I might need to change the pivot. But I'm wondering if this can't be done with some ...
martin suchodol's user avatar
0 votes
0 answers
37 views

How can I check if the rigidbody is moving

The problem is that rb.velocity probably returns too small values ...
martin suchodol's user avatar
0 votes
1 answer
64 views

Why does my "Game" tab show images with grayish/wrong colors while my "Scene" tab correctly shows images with correct colors in Unity?

I create a Unity project. The "Scene" tab shows the image with the correct colors. But, the "Game" tab shows the image with a grayish colors, which are the wrong colors. Here is ...
Job_September_2020's user avatar
0 votes
0 answers
27 views

Creating nose snot/cough splashed effect on camera

I want to create a nose snot/cough/vomit splash effect on camera. The idea is that during gameplay NPC is gonna perform those actions on my first person view player. I was trying to modify below ...
mosharaf13's user avatar
0 votes
1 answer
44 views

Roblox Studio: Holding down LeftControl as an in-game keybind activates Roblox Studio Shortcuts

I've been making a small experience within Roblox Studio recently and wanted to add crouching into the game. I used my (already functioning) code for sprinting and modified it to make a crouch button ...
FlintandStone's user avatar
0 votes
1 answer
65 views

Why is my player not colliding with animated obstacles?

I can't figure this out. My obstacles have a basic box collider on them and my player has a rigidbody based controller and collsion detection is set to Continous and when obstacle hits him it just ...
Ivan's user avatar
  • 349
0 votes
0 answers
72 views

Collision avoidance and perching behaviour for Boids in a Voxel game

I am currently trying to figure out how to efficiently detect collisions in combination with a boid simulation in a 3D Minecraft clone written in java. For single entities i already implemented a box ...
Mathias Schöttle's user avatar
0 votes
0 answers
29 views

Rendering sometimes blocks when updating Index Buffer at runtime

I developed a way to update my index buffer at run-time in Vulkan. Unfortunately, sometimes the rendering process blocks. I think that is caused by the update of the index buffer. The following code ...
Giuseppe's user avatar
0 votes
0 answers
27 views

Why don't the particles show up?

I'm new to unity, and would like to have particles appear at the point where the ray hits an enemy(hit.point). But this does not happen, and moreover, for some reason the bloodps variable “oscillates” ...
kaliboba's user avatar
0 votes
2 answers
86 views

Normalize an angle in unity

How can I normalize angle between min value and max value? like normalizing -1136316.78186234° between 0° , 360° or between 180° , 360°. Node: for now I'm using double value as angle. Thanks for ...
Ahmed Dyaa's user avatar
0 votes
0 answers
18 views

Jump state in AnimGraph is not entered when character jumps

I finished following the "setting up character movement" gameplay tutorial and everything works, except for the jump animation, which does not play when jumping. I determined that the issue ...
TechnicalVoid's user avatar
0 votes
0 answers
31 views

Implementing Intersection Logic and Mesh Construction for Procedural Spline-Based Roads in Unity

I’m currently working on a project in Unity where I’m creating procedural roads based on splines. At present, the roads are implemented by extruding a 2D shape along a spline or a straight line, ...
xephosbot's user avatar
1 vote
0 answers
60 views

Get a obstacle avoidance path base on a grid-based map and non-grid based movement

black line is grid-based path got from A* algorithm, and red one is smoothed path by use Funnel algorithm. when B move through T or stop at T, it will overlap with A, My problem is how to get a path ...
w jc's user avatar
  • 11
0 votes
0 answers
29 views

Running slide animation problem Unreal Engine 5

When my character is running and when I press "c" he is doing good animation for slide but the problem is that when animation is over the character is going back to the place where he was ...
Sven Petrović's user avatar
0 votes
1 answer
36 views

Object created in function triggered by emitter does not run constructor

I'm working on expanding on the tutorial found here I currently am creating two classes based off of menu ...
Legen Diary's user avatar
0 votes
0 answers
45 views

How should I avoid the weird stretching that comes with a projection matrix?

I have an x+ forward matrix defined with the following funciton: ...
wij's user avatar
  • 11
2 votes
2 answers
275 views

Area2D embedded in UI does not receive mouse events

I am using a hierarchy of Control nodes (in a CanvasLayer as was suggested in another question) to display a user interface. At ...
O. R. Mapper's user avatar
0 votes
1 answer
43 views

Connecting bodies together in jbox2d

Im trying to connect bodies together to make some sort of a "building" system or more specifically im trying to make multiple "blocks" connect to eachother but Struggling to figure ...
Ziv the fire's user avatar
3 votes
0 answers
116 views

Game slowing motion down instead of low FPS

I'm making a bird game where you fly around a somewhat large environment of low poly assets. During testing, I found some behavior on one device that I cannot explain: The game slows down instead of ...
Cebbi's user avatar
  • 201
0 votes
1 answer
50 views

Godot on signal trigger external animation

It may not matter, but I'm following How to make a Video Game - Godot Beginner Tutorial. I want to implement the dying animation instead of removing CollisionShape2D from the body (parameter passed to ...
depperm's user avatar
  • 101
0 votes
0 answers
32 views

Regarding with pixel arrays and textures in SDL2

Currently, the way I render my frames is as follows. I have two arrays of pixels (in SDL_PIXELFORMAT_ABGR8888) called ...
Scene's user avatar
  • 123
0 votes
0 answers
32 views

How to put animation correctly from one character into another in Unreal Engine 5 using retargeting? Root problem

So I imported animation from Maximo into Unreal Engine 5 but my character is not moving properly in running slide animation. I used retarget Root option and now my character's animation is good but I ...
Sven Petrović's user avatar
0 votes
0 answers
42 views

Implicitly ray traced cone texture mapping -- Trying to avoid atan

I am kinda looking for some ways out of this little rabbit hole. I wanted to experiment with high fidelity per pixel cone drawing and shading. I have an application (radar) that really only needs cone ...
Steven Lu's user avatar
  • 740

15 30 50 per page