All Questions

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

How to copy the callstack with time costs from a Unity Profiler sample?

From the profiler window in Unity, I want to be able to copy as text: the call stack starting from a method up to the “root” method, including the duration of each method. Is it possible to “hook” ...
0 votes
0 answers
18 views

Variable subdivision creating artifacts

I'm currently implementing a method for subdividing an icosahedron found here that isn't quite working as expected due to the artifacts created (and the way the triangles are oriented) The problem ...
0 votes
0 answers
13 views

Water shader disappears from certain angles in build

A custom shader I made is breaking on build. Here's what it's supposed to look like: Yet, on the build it looks like this. Sometimes the surface disappears if I change the angle. Any idea what might ...
-1 votes
0 answers
20 views

Looking for validation on a Gamification work project (WIP) [closed]

I've created a series of concise information cards designed to help developers and business owners effectively gamify their apps or products. Each card provides some details on the mechanic. The idea ...
0 votes
0 answers
21 views

Need help to organize 2D AABB collision engine quad node structure

In short: I'm writing my custom 2d collision engine in C and I've chosen to use quad nodes to optimize collision detection. My implementation defines 2 things: the quad node (Quad_s) and the elements (...
2 votes
1 answer
3k views

Unity procedural skybox shader texture stretching

I am using the procedural skybox shader that Unity provides, but have tweaked it so that I can have a cloud texture. The problem I have, is that the texture is not tiling correctly, even though it is ...
1 vote
1 answer
50 views

How can I determine which parts of the skeletal mesh should be sliced?

I am currently trying to replicate skeletal mesh slicing, akin to something Metal Gear Rising: Revengeance did. So far I've managed to successfuly get some puzzle pieces of this whole thing together, ...
2 votes
1 answer
50 views

How to create colorizable vegetation albedo textures similar to Horizon Zero Dawn?

In the talk "Between Tech and Art: the Vegetation of Horizon Zero Dawn", Gilbert Sanders says "we average out the color of our albedo textures to mid gray value". But the final ...
0 votes
2 answers
3k views

How to select parent of currently selected object?

When i select an object, i can't find a function to select its parent. Does this basic feature exist ? I want to select the parent of selected object and then step up to find parent of parent so on ...
2 votes
1 answer
291 views

How should I handle exceptions in libGDX?

I want to keep my game running as much as possible for the user, obviously. They would be dissapointed if the game suddenly quits without leaving any notice behind, and it would be difficult for them ...
1 vote
0 answers
48 views

Restructure OOP Architecture for two classes that are currently circular dependent

I'm working on a simple 2D game using C++ and SFML. In this game, I have a class WorkbenchBlock which inherits from class Block. ...
1 vote
1 answer
2k views

Tracking real life object in Virtual Reality

I'm building a VR game (in Unity) in which a user uses a real-life steering wheel to drive around. I want them to be able to grab the steering wheel in real life, while the virtual counter part of ...
13 votes
5 answers
8k views

2D Collision detection for Pinball Game

So far in previous games I have used simple 2D collision with boxes then checking at pixel level for a collision. If making a pinball game in nearly a lot of frames the ball will be in contact with a ...
0 votes
0 answers
17 views

How to create custom Control Rig class in c++?

How do I create a new custom c++ class which inherits from ControlRig? Such that when I use the editor to create a new Control Rig and it asks for a parent rig my ...
1 vote
0 answers
45 views

Why does AsyncOperation.allowSceneActivation=false NOT stop my scene from loading?

I am trying to halt my level scenes from fully loading until I press a button to start the level but for some odd reason when I call LoadSceneAsync on my Additive ...
5 votes
5 answers
2k views

Grid-based pathfinding for a lot of agents: how to implement "Tight-Following"?

Note: the main problem has nothing to do with the TYPE of pathfinding algorithm (A*, flow-field etc), allow me to explain: I have a 2d grid and a lot of agents moving around, I want it so that ...
0 votes
0 answers
38 views

Need help controlling a 2d rocket to reach target positions at velocity vector constraints

The problem: I have a rocket in a 2D space game that can apply force forwards and apply torque to turn. Now I want this rocket to reach a target point in the x,y coordinate system with a certain ...
-1 votes
0 answers
36 views

Making a Match 3 Monster Battler [closed]

I'm looking for someone who can join my team as a coder for my match 3 monster battler. This will be based on a revenue-sharing/profit-sharing model. It's a 2-player match-3 puzzle game where each ...
0 votes
1 answer
546 views

Create 3D line instead of a thin line in Unity in runtime with mouse drag

I know how to use line renderer to drag and drop to create line in runtime, but the line appears to be thin when looking from the end of the line, I want to create a real line that has a thickness(...
0 votes
0 answers
48 views

Why distant objects are becoming white when camera is still?

I have a shader attached to quads that I'm generating far away using script. The quad is capable of keeping the color when camera is moving however the color becomes white when camera is still. I can'...
1 vote
1 answer
41 views

How to add "Visual Effect" as an active target in a Unity 6 shader graph?

I've just started learning and getting into shader graphs in Unity and I was just watching some tutorials on Youtube and realized that in the video, when he created the shader graph, he could add &...
0 votes
1 answer
33 views

How make a rigidbody not to change its trajectory by any external collsion?

I am trying to make a platformer game in which the player is able to run on the platforms. I have the platforms moving from the right to the left direction and the player is standing on top of the ...
0 votes
1 answer
750 views

Swept aabb 3d incorrect collision resolution along negative normals

I have followed this tutorial and ported it to 3d with glm. Everything works fine when the collision normal is reported as positive ((1,0,0),(0,1,0),(0,0,1)) but when it is negative the player aabb ...
1 vote
2 answers
85 views

2d map of the world resolution (resolution problem and its effect on image quality when zooming.)

I'm developing a 2D grand strategy game in the style of Age of History and Paradox games using Godot v4. My current map creation method involves creating a background PNG image of the world map with ...
0 votes
0 answers
20 views

How do I do localization and translation with AssetStudioGUI?

I need to find someone who knows how to work with AssetStudioGUI because I'm trying to make a Czech localization for Kindergarten 1, 2 and in the future 3, but there really aren't any tutorials for ...
0 votes
0 answers
50 views

Is it still possible to connect my Wii Remotes to my PC via Bluetooth?

I am trying to build a game that supports Wii Remotes like Wii Sports, that comes with the motion support. I know Macs no longer support Wiimote connection via Bluetooth due to security reasons in an ...
1 vote
2 answers
1k views

Unity Spline Animate reset the position when change the speed

I am exploring the Unity Spline package, and within the package, there is a sample scene called 'splineAnimate' where the SplineAnimate script is used to move an object along a spline. The script has ...
0 votes
0 answers
20 views

Awarding PlayFab items using Steam micropayments

I'm looking into adding micropayments to my standalone (Windows/Mac/Linux) Unity-based game, basically I want to allow my players to receive specific PlayFab items after completing a payment via Steam....
1 vote
0 answers
17 views

Is there a way to set a "clamp to border" style texture wrap mode in Unity?

When editing a texture in the inspector, there is an option for "Wrap Mode", but there is no option for clamp-to-border (equivalent of e.g. ...
0 votes
1 answer
14 views

Help with Ball Rotation and Attraction Mechanics in Leap on

I'm working on a Leap On-style game in Unity where the main mechanic involves a ball revolving around a central circle that constantly attracts the ball toward itself. The goal is for the player to ...
1 vote
2 answers
673 views

Friction using delta time returns inconsistent result

Slowing down a character using the following formula returns different results depending on the frame rate: ...
0 votes
0 answers
40 views

How to properly write a plan for the plot of the game [closed]

I have a game in mind but just do not know how to properly plan for the plot. I've made a 2d game once, but it doesn't really have a plot. This is the first game I want to take seriously, please help.
0 votes
1 answer
52 views

Character Size Scaling After Coin Collection in Unreal Engine Blueprints

I want my character to grow by 10% after collecting each coin. The character should start at the default size and progressively increase in scale with each coin collected.
7 votes
2 answers
2k views

File saved to IndexedDB lost unless we change scenes

Our game includes an in-game level editor. When the user saves a custom level, the level is serialized and written to a file: ...
0 votes
1 answer
1k views

Capsule to Sphere Collision

For my Maths unit at university, we have to manually calculate if a sphere is colliding with a capsule collider. The information I have to go with is this; You have the following Sphere: LadyBird3 -...
0 votes
0 answers
14 views

Breaking Ragdoll into pieces

HI to everyone how can i do this that when the ragdoll triggers the gameobject then break the ragdoll into pieces. i want it like this that when the player triggers that gameobject that on which ...
1 vote
1 answer
95 views

How to code a game that can interact with custom controllers?

I want to have my work featured in alt.ctrl.gdc someday. The process of building a bizarre custom controller is a question for a different stackexchange site, but Can you tell me a way how to take ...
22 votes
8 answers
19k views

Do real game developers use blueprints, or do they always use C++?

I'm starting to learn Unreal Engine 4. Every time I use blueprints, I think "that's not right" and I need to use C++, but there are not as many tutorials with c++ code. So, is it ok to use ...
0 votes
1 answer
55 views

Multiplayer Game with Multiple Unique Rooms

I'm trying to make a multiplayer dungeon-crawl game. I have the ability to make it so that every client can be inside the same dungeon, but I want it so that players can be in separate dungeons with ...
1 vote
0 answers
33 views

How to use Steam Audio in Unity via scripting?

Has anyone worked with Steam Audio? I'm trying to rewrite my game from .NET to Unity and I want to use sound surround effects there using acoustic ray tracing, where everything should be calculated in ...
0 votes
1 answer
1k views

Floating Boat 3D Physics Rotation from Rudder (no water resistance)

I have been able to simulate a floating boat very simply by attaching a script called Boat.cs to a ship model with a Rigidbody; ...
0 votes
2 answers
4k views

What's the best way to draw gizmos in build

I currently use Unity gizmos for many debugging purposes, but I'd like almost all of them to be visible to the player in-game (when the game is built). For example, when a player is dragging to place ...
0 votes
0 answers
30 views

How to check if StyleBackground is set?

I want to implement some lazy initialization of a property of type StyleBackground like this: ...
0 votes
1 answer
36 views

Public method doesn't show up as a selectable option in a button's On Click event

I have the following public method in a MonoBehaviour attached to a game object in my scene: ...
0 votes
2 answers
52 views

How to properly control speed of sprite scaling to create "hallway" effect

I'm working on a project (in Gamemaker GML, so JS-like) that involves manipulating 2D sprites (scale and position only) to generate a(n intentionally hacky) visual illusion of moving down a 3D hallway....
0 votes
1 answer
36 views

Storing hero stats: Database vs ScriptableObject (MOBA game)

What are the pros and cons of storing hero stats (health, velocity, stats for abilities) in a database versus ScriptableObjects for my MOBA-like game? I would like to be able to constantly update hero ...
7 votes
1 answer
4k views

Drawing fonts with LWJGL3 with OpenGL

I'm very sorry if this question has already been answered, but since I've been struggling with this for many days I thought I'd give it a shot here. My goal is to somehow render some text on the ...
0 votes
0 answers
42 views

Convert R8 texture to R32F

I have a single channel 2D image (for instance, R8). I would like to use this data as a texture. However, the texture internal format should be R32F since I need accurate linear sampling in my shader. ...
0 votes
0 answers
25 views

why my button isn't showing clicked in unity [duplicate]

So i was following this tutorial https://youtu.be/lF26yGJbsQk to make a start button for my unity game. But some how the button is not working and don't know why?
3 votes
1 answer
1k views

Authoritative server controlling objects in multiple scenes in Unity3D

I am working on a multiplayer project that involves loading into different scenes and playing some kind of mini-game with any other players that happen to be in the scene at that time. These mini-...

15 30 50 per page
1
2 3 4 5
1145