All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
39 views

Brick Breaker - Adjust ball's collision angle without affecting speed

I'm working on a Java Brick Breaker game, and it's functional so far. However, I'm facing an issue with collisions. Currently, when the ball collides it simply reverses its direction. I want to ...
Zappiermike's user avatar
0 votes
0 answers
31 views

Unity Texture Lost When Relading Scene

I have a unity game with a menu scene and multiple levels that I want a user to re-visit. Both the menu and scenes make use of a gallery with an image in it. When I load from the menu to the scene and ...
user3046771's user avatar
0 votes
0 answers
40 views

Unity clamping local rotation on LookAt issues

I'm new to game development, and I've been trying to code a "smooth camera" rotation that's limited within the camera's local rotation, using a smoothed cube and ...
NovaMaxi's user avatar
0 votes
0 answers
32 views

How can i move actor's bounding box center in relative location in Unreal Engine 5?

This is my situation. I need align the center of the object (it's box) and the center of the scene component. I have only center of the box TVector type or FVector. How can i do it? ...
anime username's user avatar
0 votes
0 answers
45 views

Set depth value in fragment shader

I'm making a simple 2D renderer and I want to avoid redrawing as much as possible. My Vertex layout has the 2d position and a float depth value. I want to assign a depth value to each of them after ...
FrameBuffer's user avatar
0 votes
0 answers
35 views

Concept Shader to achieve such Toon/Graphical Novel look style

Hi to all, I have no clue how to achieve this kind of style (DallE Ai picture) by having a shader and custom textures applied to a 3D object. I see an outline (maybe sobel on normals and depth), and a ...
Matthyou's user avatar
0 votes
0 answers
31 views

Sorting layer of wall in top down game 2d

I made tilemap using tiled app. I try to sort layer so the when the player is in front of wall he visible and when he is behind the wall then not viable, it's commonsense. But problem only one line ...
TECH VR Gamers's user avatar
-1 votes
1 answer
64 views

How can I fix a 7 Days To Die A21 vehicle modding error?

I am trying to make a mod in 7 Days To Die A21 that adds in vehicles, and I have hit a bit of a snag. Whenever the vehicle gets spawned in, it throws a ton of red text. The error reads "...
Admrail Hiccup's user avatar
0 votes
1 answer
27 views

Why does my Roblox game delete all parts when testing?

I'm working on a Roblox game, but whenever I test it, none of the parts I added in the game display in the Explorer or in the game itself. It works perfectly fine when I view it in the studio, though. ...
Stelbert Stylton's user avatar
0 votes
0 answers
52 views

Get coordinates of clicked point on screen in model space

There is a 2D object located in the coordinate range -1 to 1. In world space, it is also located in these coordinates, but with a shift along the z axis. The actual initialization of the model, view ...
Ar4's user avatar
  • 1
0 votes
1 answer
73 views

Parameter "current->parent" is null, don't see why

I'm using Godot for my current project, and it's been going great; but there's a bug I don't understand. I have a certain very simple script on my title screen: ...
Michael Macha's user avatar
0 votes
0 answers
57 views

Why is my RenderTexture y-flipped?

When drawing a very simple RenderTexture using Raylib, with the following POC code, the texture actually drawn is vertically inverted. Is that normal? If not, what ...
SteeveDroz's user avatar
0 votes
0 answers
17 views

Cinemachine FreeLookCam stays in "bottom rig" and won't switch to other rigs

I have an issue with Cinemachine. I set it up to follow and look at the "player," and I added the script recommended by another user: ...
UnnerGG's user avatar
2 votes
1 answer
158 views

Converting a real-time game with regeneration into a turn-based one?

I'm wanting to make a text-based game, it'll be about managing families like the sims games. I'm running into innumerable problems with such. One is how to make it turn-based. I know its technically ...
user8600's user avatar
  • 129
0 votes
0 answers
29 views

ObservableCollection not showing up in editor

I'm trying to use an ObservableCollection in a ScriptableObject, but it doesn't generate any serialized field in the asset editor. Here is my code: ...
Trobibot's user avatar
0 votes
0 answers
51 views

How to import 3d texture in Unity?

How can I import a 3d texture the easisest way and visualize it somehow ( for example as a voxelized thing but other way can be also good)? I tried to download a 3d texture form different sites like ...
Fox1942's user avatar
  • 111
1 vote
0 answers
35 views

Blending Object Colors in Unity

I'm completely new to Game Development but I'm required to use Unity for a class project. For the project I want multiple spheres of different colors to overlap each other and create new colors in the ...
Frank Kirk's user avatar
1 vote
1 answer
107 views

Can somebody please explain why my illumination is inconsistent?

100% not a graphics guy here. Problem Demonstration. Randomly discovered this when showing the project to a friend after not touching it for over a month (been working on other stuffs). First I ...
memorylick's user avatar
0 votes
0 answers
12 views

Showing UIDocument controls below appodeal banner in Unity

I use Unity engine for my app. In one of my scenes I have a single UIDocument, with a root VisualElement containing a few buttons and that buttons aligned to the bottom of it's parent VisualElement ...
Torello's user avatar
  • 101
0 votes
0 answers
23 views

Some of the assignment operations in the directx11 compute shader are getting skipped, even though the assigned values are used later

I'm implementing an algorithm called Fast3x3 SVD on my compute shader. However, while I was debugging my compute shader in RenderDoc, I noticed some assignment operators were completely getting ...
ThisAccountIsForGameDev's user avatar
0 votes
0 answers
25 views

Which material property to use when loading models with Assimp

When using Assimp to load models, some mesh materials have only color(COLOR_DIFFUSE, ...) or texture(aiTextureType_DIFFUSE, ...), but some models have both color and texture, which am I supposed to ...
kasra's user avatar
  • 101
0 votes
2 answers
88 views

How does unity refer a to a normal when there are so many?

When an object collides with another object, does unity calculate the normal, or return it from the list of normals?
Nato's user avatar
  • 9
0 votes
0 answers
18 views

Player controller duplicated or changes position when transitioning from another scene

I am experiencing some weird behavior. I am making a VR game in Unity using OVRPlayerController. I have a menu scene that is a full small level with an ...
user3046771's user avatar
1 vote
0 answers
59 views

2D grid game server - interaction system/dynamic blocks

I'm building a Server-side engine for 2D sandbox game similar to Terraria or Starbound. The language I use is Dart (similar to JavaScript or C#). Currently I'm trying to figure out how to make a good ...
Zekfad's user avatar
  • 11
1 vote
0 answers
56 views

In Unity 2022+, Unity.Physics 1.0.16, what is the proper way of detecting collisions with a job?

I have properly defined the CollisionEventJob, scheduled it, and attached necessary components to my entities, but for the love of God, ECS is not detecting collisions between those entities. Here is ...
rasputin's user avatar
0 votes
0 answers
19 views

Blinking JLabel for Wordle-like game?

I would like to implement a blinking effect on a JLabel in a wordle knockoff I'm making. I think this will involve using javax.swing.Timer but I'm not sure how I ...
CodingNinja's user avatar
0 votes
0 answers
23 views

Second player gets stuck while joining

I get this error message on the console whenever I try to make the second player join. Failed to find a PhotonView with ID=2 ...
zaboombafoo's user avatar
3 votes
1 answer
68 views

How to make a CharacterBody2D slide out of StaticBody2D instead of teleporting?

I am trying to replicate Mario Maker's On/Off switches in Godot 4.1. In my current version, if the player got stuck inside the block after it was toggled on, the player just teleports out it. I know ...
Jason O'Neil's user avatar
1 vote
1 answer
52 views

Ensure a path always exists between moving objects

I am working on a small non-discrete game where monster are coming towards player in random direction, sort of the very simple asteroid shooter game. Monster behaviour is as follows: they spawn out ...
Vincent C.'s user avatar
0 votes
1 answer
62 views

Unity VR Max File Size

I have recently run into errors when building my Unity VR app for the Meta Quest 2 - and I wanted to check my understanding of something - from everything I've found it sounds like there is a max file ...
user3046771's user avatar
15 votes
3 answers
5k views

How to make the player feel like giving up?

I am planning a game that has a level that is a confusing and illogical maze, and I want to make the player feel like giving up, but not so intense that they want to quit the game. Also, I'm probably ...
thirteen's user avatar
  • 188
1 vote
1 answer
188 views

How to make an actual idle game fun?

I'm making an Idle RPG with a roguelite element. I want this game to be a true idle game and not like most other idle games where you have to click an upgrade every 10 seconds to keep progressing. It'...
Pascal Claes's user avatar
1 vote
1 answer
103 views

Audio won't pause in coroutine

I am making a system where I have one long audio clip made up of voice lines which I want to be able to play one after the other with a variable pause in between. I press the space key to start the ...
Michael's user avatar
  • 41
2 votes
1 answer
56 views

Can I delete UnitySetup .exe files from AppData Temp folder?

Can I safely delete the following Unity-related files in order to clear up space? %APPDATA%\Local\Temp\unityhub......\UnitySetup64-2022.3.7f1.exe %APPDATA%\Local\Temp\unityhub.......\UnitySetup64-...
A__'s user avatar
  • 163
1 vote
0 answers
39 views

How to Generate a Texture to Make an Obstructing Plane Appear Invisible in a 3D Scene?

I have a 3D scene with a camera. Between the camera and the scene, I have a plane with arbitrary orientation. This plane obscures a portion of the scene from the camera’s perspective (anything behind ...
John's user avatar
  • 111
2 votes
2 answers
176 views

How to generate resource clusters on a 2d map like Factorio?

I am trying to add some ores on my map using Perlin noise. The problem is sometimes Perlin noise does not produce enough values above the threshold, causing the amount of one ore is much lesser than ...
silkmoon18's user avatar
0 votes
2 answers
98 views

Protect authentication token in memory

Scenario The game has leaderboards for the score at the end of a level. Assume strong self-signed SSL encryption is used when communicating between the game client and server, and a secure handshake ...
VoidTwo's user avatar
  • 103
0 votes
0 answers
45 views

First person jump only works at certain angles

I'm making a basic 3D First Person project using the movement code below, but I can only jump at a certain angle. How can I fix this so that my character can jump anywhere? ...
MarsDarklighter's user avatar
2 votes
1 answer
92 views

Why does find_child not work during _ready, but looping over child nodes finds the child?

I have been trying to split a game object in half, starting with splitting the collision shape in half. I create two new clones of the split object, then give them a property to be assigned to the ...
Tomáš Zato's user avatar
2 votes
0 answers
77 views

How to paint terrain details (e.g. grass billboards) programmatically?

In Unity, is it possible to paint terrain details such as billboarded grass textures programmatically? (The kind that appear vertical and wave according to wind settings.) What I know so far (or think ...
ChurlishCanadian's user avatar
0 votes
1 answer
60 views

Weapon flips upside down when aiming to the left

When the player turns to the left, the texture of the weapon turns upside down. How can I solve this? Shooting Script ...
Lekr01d's user avatar
0 votes
1 answer
57 views

Sprite Animation in Pygame Zero

How do I use a sprite sheet in pygame zero? The height of the images are 32, width is 25
Tokyn Blast's user avatar
2 votes
1 answer
58 views

How do I add a function to the sequence of functions which runs pre camera culling in Godot?

In unity you can do: Camera.onPreCull += OnPreCullCamera; void OnPreCullCamera(Camera3D cam){ //... } But in Godot I don't know what the equivalent is. How do you ...
Ethan's user avatar
  • 145
0 votes
0 answers
42 views

Wrong initial level loaded for packaged build

I am having an issue with Unreal Engine 5.2 initially loading "Temp/Untitled_0" as the level before loading the actual default level that I have set in project settings. I have the editor ...
sabo's user avatar
  • 237
2 votes
1 answer
75 views

How do I create a localtoworldmatrix and worldtolocalmatrix in Godot?

From what I can tell Godot uses Projection for 4x4 matrixes, but I see no way to generate a localtoworldmatrix from a given transform in Godot, how do I do this?
Ethan's user avatar
  • 145
0 votes
0 answers
46 views

What are the Godot equivalent to these Unity types and Functions for graphics processing?

Here are some unity types in this script: https://github.com/aras-p/UnityGaussianSplatting/blob/main/package/Runtime/GaussianSplatRenderer.cs which I am trying to convert to Godot: ...
Ethan's user avatar
  • 145
0 votes
1 answer
117 views

How do I come up with the stats of a weapon? [closed]

I am working on a game, where mosquito is one of the enemies. I'm trying to evaluate the stats of the Electric Racket (used to kill mosquito in real life)? How can I come up with the stats for such a ...
abirpahlwan's user avatar
0 votes
0 answers
42 views

Unity AR works on one device and not the other, despite the fact that they are the same model and API level

I hope someone can help me with this weird issue. We have an app with AR functionality, we have been building and running on device to test and have had no issues. We then did a full build and ...
Bryan Maritz's user avatar
0 votes
2 answers
187 views

How do I use these Unity math functions in Godot C#?

Here's a list of math functions I'm having trouble finding a direct function match for in Godot C#: ...
Ethan's user avatar
  • 145
0 votes
1 answer
52 views

change_scene_to_file successfully transitions scene, then transports back to the previous scene

I'm having a problem with change_scene_to_file in Godot 4. For some reason after the scene transition succeeded, I was automatically transported back the previous ...
Leon's user avatar
  • 1

15 30 50 per page
1
3 4
5
6 7
1126