All Questions

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

ReleaseInstance is not deleting the object instantiated from an Addressable

I have this simple script, which is working perfectly when I press I and it instantiates an addressable game object. But I i am not sure why it is not deleting it when I press D. I confirmed that on ...
Muhammad Faizan Khan's user avatar
0 votes
1 answer
9 views

is it possible to render world space canvas over other objects in unity?

for some pickable object, I display a UI canvas. It's attached to a scene gameObject. Sometimes the Canvas UI overlaps with some other objects. I need to make sure the UI is always renderer on top of ...
virtouso's user avatar
  • 2,608
3 votes
2 answers
156 views

Godot: Spawn an object in 3D

I've been looking for a tutorial and am hoping that someone can point me in the right direction. I'm working on a FPS game in Godot, and I want to be able to drop a flare on the ground at the players ...
AndyD273's user avatar
  • 161
0 votes
1 answer
24 views

Load vertexes from an obj file

I do have a problem with loading my vertexes. When I debug my code. I find out the vertexes are loaded. But when i use render doc, I found out the vertexes are not loaded. Only the first line of my ...
mueoc mueoc's user avatar
0 votes
0 answers
11 views

FirebaseReference.GetValueAsync() in Unity Not Completing

I'm working on a Unity project where I use Firebase to manage user data. I am encountering a recurring issue where the asynchronous task GetValueAsync() does not ...
Jose Lopez's user avatar
1 vote
0 answers
10 views

Have black screen after build game on web gl

Good day. Everything works fine for me on the unity stage, but as soon as I start the game, after the unity screensaver I get a black screen with an interface, what to do, please help. My console <...
Kozyr's user avatar
  • 11
1 vote
1 answer
56 views

Making games for yourself with a story?

I want to develop games for myself. Sadly, I'm limited to making text-based things (though this does have some practical benefits). The biggest limitation though is none of my games can really have a '...
user8600's user avatar
  • 111
1 vote
1 answer
27 views

how can I distance camera according to player speed?

How can I make the camera move further away from the player according to player's speed? So, the camera is at default distance, but when the player catches a boost (increases speed), the camera ...
jukvox's user avatar
  • 13
1 vote
1 answer
267 views

Should I fully draw inside the canvas (e.g.: 32x32 aspect ratio) for pixel art games?

When I draw art assets for a game, should I fill the whole tile/frame? Would it look good in a game if I use less than the 32 by 32 pixels of the canvas, like the picture below?: When I export this ...
NickNameNick's user avatar
0 votes
0 answers
25 views

How can I change checkers pieces to move only horizontally and vertically?

I am a beginner level programmer trying to learn Python. I could not figure out how to change the values so I can restrict the pieces of checkers from moving diagonally. I want them to be able to move ...
OneSec's user avatar
  • 1
0 votes
0 answers
49 views

SSAO Looks Like Depth Buffer

I have problem with ssao, i'm using vulkan and follow Sascha Willems vulkan ssao example here: https://github.com/SaschaWillems/Vulkan/blob/master/examples/ssao/ssao.cpp my ssao result looks exactly ...
Karim Hamdallah's user avatar
0 votes
1 answer
26 views

Chain cutting swipe input skips over chains

I have a game where you need to cut chains, similar to Cut The Rope. I want to develop it for Android, so I need mobile controls. For detecting swipes I used ...
CheckerT's user avatar
0 votes
1 answer
71 views

Why doesn't Coroutine work the way I want with if blocks?

I'm making a game and when the enemy dies I keep it in memory. I want the person playing to find the game just as they left it when they enter. I'm doing most of these, but there's one small problem ...
Volkan AKDAG's user avatar
0 votes
0 answers
12 views

Google Play Games integration issue: Returning an error code

I'm using Play Games for Unity plugin to work with GPGS. https://github.com/playgameservices/play-games-plugin-for-unity But every time I tried to authenticate, it failed with these error messages: <...
modernator's user avatar
  • 1,213
0 votes
1 answer
43 views

How to Prevent Fake Packets?

I am new to networking. I am currently using C# TCP/UDP for my multiplayer Unity game. I send player movement by sending a packet with a header containing clientid assigned by the server to the client....
EndermanPVP HK's user avatar
0 votes
0 answers
22 views

Is there a way to rename prefab in unity by cuting a specific part of the name?

I have a lot of old prefabs in unity that should get renamed, doing this by hand would take a while. I there a way to cut the names and save them. I would like it to go from cutpart_2_goodpart to ...
Ivan's user avatar
  • 317
0 votes
3 answers
56 views

How to make camera follow player on Y+ axis only

My player is jumping on sticks, endlessly going upwards, and if they fall, it's game over. I want the camera to follow the player only when they move up (ie. only on Y axis), not down. If they move ...
jukvox's user avatar
  • 13
3 votes
2 answers
553 views

How do I check if a GameObject is touching another GameObject in Unity?

I am trying to check if a GameObject is clicking another GameObject. I am trying to make a 2D shooter like Duck Hunt so this is important. I have tried ...
ok-coder1's user avatar
0 votes
1 answer
39 views

Image over everything Unity

I want to create a UI for a VR game to use it as a loading screen, the scene has a camera an image, a text mesh and a loading icon, the image is the background and the text and loading icon should be ...
Alejandro's user avatar
0 votes
0 answers
16 views

Texture space Raytracing of cylinder primitive in godot shader for Helix interception

I have been trying to do raytracing of an helix in a spatial shader in godot 4.2, but apparently I missed something because the result is bloby and melty at the cylinder level. The basics is that I ...
user29244's user avatar
  • 327
0 votes
0 answers
39 views

Lighting of clouds billboards

I created billboards of clouds that always face the camera in OpenGL. Now I want to add some lighting effects and maybe simulate a scattering light effect. I experimented with phong shading but my ...
JadGL's user avatar
  • 1
1 vote
1 answer
20 views

Exposing Unreal DataAsset in plugin config

I would like to expose some DataAsset in the configuration of my plugin. If I wanted some integer, this would work well: ...
Some game developer's user avatar
0 votes
0 answers
32 views

Precalculate Rigidbody movement in Unity

Is there a way to precalculate movement from a Rigidbody in Unity and show this with a line renderer for example? I want to make a physics based marble game and show the path the marble is going to ...
CheckerT's user avatar
1 vote
1 answer
43 views

How to use Subviewports to render a texture for Sprite3D?

Godot 4.2 Background: In my game prototype, I have a following player entity: Paperdoll2D has a script that dynamically adds the weapon/armor/etc Sprite2D nodes to the main sprite to "dress-up&...
Noideas's user avatar
  • 13
0 votes
0 answers
28 views

`textSubImage2D` inconsistent performance

I have a problem when creating a texture with WebGL. The thing that I do not understand is that the first call with texSubImage2D with a canvas leads to the ...
hoangphatmonter's user avatar
-3 votes
0 answers
60 views

Im about send this to crazygames [duplicate]

https://drive.google.com/drive/folders/1iBmKxY_ilTX4ZXgBv3rWwsK9GcQCjDil?usp=drive_link execute this in crazygames qa tool: https://developer.crazygames.com/qatool and it is unity 2023. I submitted ...
Imagment Studios's user avatar
1 vote
0 answers
42 views

OBS Won't Record Game at 1080p, Shrinks Screen When Resolution Increased [closed]

OBS won't record my game at 1080p, only at 720p. Increasing the resolution in OBS settings shrinks the screen. I've adjusted the game resolution too, but it's not working. Any solutions??
IDREES Aziz's user avatar
0 votes
0 answers
31 views

Expectations in 3D character and creature rigging and skinning in large studios [closed]

This is more of a qualitative question instead of a technical one but does have technical aspects to it. All of these are fairly qualitative and open-ended and I wanted to get some insight on what an ...
Ironscar's user avatar
0 votes
0 answers
22 views

Is learning rotations and transformations in a 3D space enough to create any feature in a game that's similar to a CAD app? [closed]

Is learning rotations and transformations in a 3D space enough to create any feature in a game that's similar to a CAD app? I want to make a game where you need to recreate certain shapes with a CAD ...
Sayaman's user avatar
  • 200
0 votes
0 answers
39 views

About Json format and Player Prefs [duplicate]

I'm making an Offline RPG game in Unity. I want to save some things in my game. I have heard of two recording systems for this, one is PlayerPrefs and the other is to save in json format. PlayerPrefs ...
Volkan AKDAG's user avatar
0 votes
0 answers
23 views

Help with LudoGame code [closed]

...
Akshu Saini's user avatar
0 votes
0 answers
39 views

What do you do with SDL2 events?

I have the typical/basic event loop for SDL2 and I'm a little confused on what to do with them or how to handle them or I guess more specifically how should I get the data from these events (e.g ...
Konjointed's user avatar
0 votes
0 answers
28 views

Compensate bullets direction towards direction player is moving in

My new prototype is a top down shooting game, the player aims with the mouse and fires projectiles towards the mouse position, this works fine, when the player is standing still. When the player moves,...
Mad Hatter's user avatar
0 votes
1 answer
37 views

I need multiple custom game objects to stick to a parent object

A bit of a newb to Unity & game development. I have built a very basic lunar lander ship and made some RCS thrusters out of cubes and cylinders to attach to the fuselage of the ship. However, ...
Skittles's user avatar
  • 101
0 votes
0 answers
56 views

bad position of contact points :why?

...
kaloprat's user avatar
  • 111
0 votes
3 answers
76 views

Who decides what the aspect ratio should be for a 180 VR video? [closed]

If I'm looking to create a 180 animation that is meant to be viewed in VR, how do I know what aspect ratio to make the animation? And who decides it? Could it be 1:1, 2:1, or something else? For ...
kyopa's user avatar
  • 111
1 vote
0 answers
21 views

How do I get a Unity Job to update external data?

I'm relatively new to Unity, and I wanted to use the Job system for a complex pathfinding algorithm, since it will likely be used alongside multiple instances of NPCs attempting to find a valid route. ...
Jason Li's user avatar
0 votes
0 answers
28 views

How could I make the player rotate towards the cursor in pygame?

...
esnar moquete's user avatar
1 vote
1 answer
60 views

Godot 4.2.1: Calling get_data() on Image from NoiseTexture2D Returns Null

I am trying to retrieve image data from a NoiseTexture2D. I seem to be able to get an image resource, but as soon as I try to get the associated data via ...
Haruto Kaito's user avatar
0 votes
0 answers
21 views

How to visualize the shadowmap as the renderTarget of the main camera in Unity?

I have a Unity project with the builtin pipeline. I would like to save the shadowmap of the directional light source and visualize on screen as the primary renderTarget of the main camera. ...
Fox1942's user avatar
  • 121
0 votes
2 answers
62 views

Splatoon like gun in Unity

I want to create a 3D Top Down Battle Royale game in Unity and wanted to add a mechanic to color the floor, walls and ceiling, just like in Nintendo game Splatoon. I know that you can color a 3D shape ...
CheckerT's user avatar
0 votes
0 answers
20 views

Collision manifold between shapes

I am implementing the narrow phase collision detection of a 2d physics engine. The narrow phase takes a list of shape pairs: [(s1, s2), (s2, s5), ...] And for each ...
Eilan Laken's user avatar
0 votes
0 answers
44 views

Multithreading Chunkbuilding - Thread.Start() acts as it is on the main thread

I'm building a game from scratch using OpenTK, in C#. It is in its base form a mesh-based voxel engine. I have a decent startup on the chunk building algorithm, multiple blocks, block data, etc, but ...
Pale_Gray's user avatar
0 votes
1 answer
38 views

Object collision and vector reflection for complex polygons?

I am currently creating an environment to train aim-bot AI's for my game. It is a 2d world made of complex polygons, and the goal is to have the AI's shoot ricocheting bullets. Using a ray-casting ...
Beluker's user avatar
0 votes
1 answer
37 views

Draw Primitives using SharpDX.Direct3D9 with C# .NET Framework

I have a question, How to draw primitives? draw lines, rectangles, circles, text, etc... For now I can draw text and Lines: SharpDX.Direct3D9.Font SharpDX.Direct3D9.Line However, those lines look ugly,...
S4L salsoft's user avatar
0 votes
1 answer
50 views

Textures still show as opaque even when alpha is multiplied by zero

I'm having a some problems with blending in OpenGLES2.0 I'm drawing a texture above a framebuffer (with ARGB channels). When I draw a transparent texture over a solid color, the alpha channel is ...
Gabriel Machado's user avatar
0 votes
1 answer
22 views

When does SFML deal with user input

I have an SFML programme using window.setFramerateLimit() to determine the time step of the game. I have a game loop that looks like this: ...
Momus's user avatar
  • 1
0 votes
0 answers
16 views

OpenGL, How should I pass the matrix using VBO and binding points?

I'm trying to make a simple example in OpenGL and C++ to draw a square and change position and size through an array. my problem lies precisely in the passage of the matrix to the shader. I initially ...
Alby's user avatar
  • 1
0 votes
2 answers
40 views

Disable all Player input in Godot 3?

I'm making an "Asteroids" clone in Godot 3.2.3 the way that the Bullet is spawned in-front of the Player ship is simple : the main game node will find the Player node's position and rotation ...
buzzbuzz20xx's user avatar
0 votes
0 answers
28 views

How could I generate a large 3D mesh from a 2D texture at runtime?

I have a simple black and white texture, where white is a biome, and black is outside of the biome. I want to create a mesh at runtime that is the same shape as the white region and has a ...
Noah Vanilla's user avatar

15 30 50 per page
1
2 3 4 5
1136