All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

How would you implement a map system like WoW?

I'm really struggling with a 'resonable' technical implementation of the map system used by the popular MMO World of Warcraft. Not really sure on a data structure format and how to save/store it in a ...
Subressor's user avatar
0 votes
0 answers
8 views

programmatically fixing black seams around textures at runtime

Is there a way to programmatically fix black seams around textures - at runtime in Unity? This is for unity's gltfast
ina's user avatar
  • 294
1 vote
0 answers
21 views

How does Windows' Game controller properties connect to a joystick?

The situation: We need to use a new game controller (with a joystick only) hardware on Windows IoT. In the properties of "Game Controllers", moving the joystick is visible in the displayed ...
Justin Forgplay's user avatar
0 votes
0 answers
7 views

Tilemap.SetTile results in no visible change in build

I have an issue with how the Tilemap works in build, using version 2022.3. I update my Tilemap with Tilemap.SetTile(Vector3Int pos, null) and it works just fine in ...
Crafik's user avatar
  • 1
0 votes
1 answer
11 views

Rotating Towards the Anchor Point while Swinging

So I've been working on a Spider-Man like game for my company and I need some help with the web-swinging. Specifically, rotating in the character in the direction of the anchor point so the swinging ...
Abeer Mustafa PC's user avatar
0 votes
0 answers
29 views

How to code realistic fire in Unreal Engine 5.3

Right now, I am trying to code a survival game. The game needs a explosion fire effect that happens when the player fires a rocket from a rocket launcher and I am trying to code it. The fire is a ...
Lawn Hollander Lawn's user avatar
0 votes
2 answers
37 views

How to prevent the "_ready" events and pre-ready var declarations in a loaded,instantiated scene?

I have a simple savegame/loadgame system that packs the entire world scene to the disk, then loads it via ResourceLoader.load(): ...
Noideas's user avatar
  • 15
0 votes
0 answers
19 views

How to Prevent Subsystems from Responding to Events from Other Game States

I'm writing a game from scratch in C++, using the book Game Coding Complete as a guide. The engine in the book has an event manager which is used to communicate between the game's systems, such as ...
Vitamin C Plus Plus's user avatar
1 vote
1 answer
27 views

Theme lookup in Godot 4.2

Trying to understand how theme lookup works in Godot 4.2. Suppose a Control node script has the following two lines in it: ...
Jakub's user avatar
  • 33
0 votes
1 answer
49 views

How to compute screen-space error for LOD selection?

I'm developing a LOD selection system and I would like to select a LOD level based on screen-space error. Could someone explain how I can accurately compute the screen-space error?
Giuseppe's user avatar
0 votes
0 answers
34 views

Issue when making the player face the direction it's currently going

I'm trying to make the player face the direction it is going, not facing up & down but only on the X & Z axis. Currently the player keeps facing only one direction, no matter which direction I'...
Seo's user avatar
  • 11
0 votes
0 answers
14 views

How to implement 3rd person animation with acceleration from walk to run?

I am new to Unity and I am using dr Penny de Byl's lectures on Unity. I am trying to use a Mixamo character. I downloaded a character with skin as an fbx file, and also added some character movement ...
Varnika Chabria's user avatar
0 votes
1 answer
29 views

Weird behaviors with transform.LookRotation when looking at position+Vector3

I'm working on a character controller for an isometric retro shooter. However, when making the character rotate towards where they are moving, I encountered some issues. The character doesn't fully ...
Donkey45's user avatar
1 vote
1 answer
50 views

Octree as struct not class

I was wondering (as i could not find any implementation online), if any one here would have an idea of how to create an Octree (3D) as a struct and not a class. The problem being that Octrees are ...
L Chougrani's user avatar
1 vote
1 answer
35 views

How can I constrain a RigidBody ball to move along a path, but only apply forces to keep the ball on the path without adding velocity?

I'm currently working on a game and I'm hung up on this particular issue. I have a ball that is a RigidBody. The RigidBody is ...
Lewis Cianci's user avatar
1 vote
1 answer
76 views

How to generate a series of checkpoints randomly along a 2D line

I was wondering how I would go about generating a series of checkpoint gates along a 2D line in my game. A bit of background, my game is a 2D reinforcement learning car driving simulator, I have a ...
Techwizard's user avatar
1 vote
0 answers
32 views

Quaternion.Euler acting weird

so I'm building up a simple arcade racing game and I was messing around with the Wheel Colliders setup. I was wondering if it was possible to add some camber adjustments in real time depending on the ...
Danilolilo's user avatar
0 votes
1 answer
28 views

how to pass result of Compute Shader using UAV to Target View and render it in Direct3D11?

I'm trying to get a very basic Compute Shader to write to a Texture2D and render its result to screen. so far I have written this code to bind UAV to Texture2D and pass that to my Compute Shader. but ...
NotAlfred's user avatar
0 votes
0 answers
14 views

Select polygon (and create submesh) by color of texture?

For a procedural unity mesh operation: What is a performant way to select polygon (and create submesh) by color of texture? Raycast hit a point on the mesh, then paint bucket search for the same ...
ina's user avatar
  • 294
0 votes
0 answers
62 views

Where the game mechanic of hexa sort game from? [closed]

There's a relatively new game called hexasort with a unique game mechanic that combines matching with stacking. Was there anything like this before? I'm interested to know how the game developers came ...
JobHunter69's user avatar
0 votes
0 answers
24 views

Comparison of 2 different quaternion axes

I am trying to compare the Z-axis and the X-axis of two different quaternions in a way that would give me the Euler angles about the X and Y axes to line up the two different axes. In my program, the ...
ACR115's user avatar
  • 1
0 votes
0 answers
41 views

How to optimize random path generation with checkpoints and collision detection

I'm looking for a way to generate a random path based on midi note onsets (timing points) for a simulation/game. I will briefly explain how it works for context: I'm working on a simulation type game ...
Ingmar's user avatar
  • 1
0 votes
1 answer
34 views

Which coordinates should I use to generate a 2D lightmap properly?

Recently I noticed that my 2D lightmap rendering has an issue - lighted area is getting rendered as far from the actual light source as the world coordinate of the light source grows. E.g. when world ...
Steyrix's user avatar
  • 225
0 votes
0 answers
34 views

Opengl ES color blending is not accurate

I am developing a drawing app and I encountered a problem. As you can see the color blending feature in opengl es is not accurate. On the left side of the picture is blended through standard equation. ...
coel's user avatar
  • 1
-2 votes
0 answers
71 views

is there a way to read assets at compile time instead of runtime?

is there a way to read assets at compile time instead of runtime?
jade22's user avatar
  • 1
0 votes
0 answers
24 views

Inconsistent results from ApplyCentralImpulse with RigidBody2D

I'm working on a 2D top-down game using RigidBody2D for the player and enemies. They're bouncing and moving (using ApplyCentralForce) and detecting collisions just fine, however now I want to add a ...
Bryan Johnson's user avatar
-2 votes
0 answers
36 views

Idea: Portal RTX on Xbox, would this be possible? [closed]

Now I know it sounds impossible but let me explain why it is possible with the right person or people Xbox unlike PS5 uses the Windows APIs such as DirectX12, meaning that RT on those consoles is done ...
King Vulpes's user avatar
0 votes
0 answers
22 views

Unity Grayscale camera but mask colors

I'm trying to replicate the example given in this thread: https://gamedev.stackexchange.com/a/185593/179264, and I was able to, but for now I want to implement the "mask" thing to 2d lights ...
crgd 23WD's user avatar
0 votes
0 answers
11 views

How to map different serverless logins (Facebook, Apple, Google Play) to one account in Unity CloudSave?

How can I map serverless different logins (Facebook, Apple, Google Play) to one Account in Unity CloudSave? Or is it automatically done when we are logging in via ...
Bogdan's user avatar
  • 143
1 vote
0 answers
34 views

How to replicate shinobi (PS2) scarf in 2d

How can I create an effect similar to the to scarf animation in the PS2 game Shinobi as shown below, but in 2D? I use GameMaker but any answer that points me in the right direction is welcome.
Bernardo Becker's user avatar
1 vote
0 answers
52 views

How to make enemies navigate around each other in a grid-based game?

I am making a 2D top-down grid-based game where the movement is similar to older Pokémon games so it's locked to a grid. I implemented A* pathfinding for my enemies with a bool[,] that indicates ...
rossz97's user avatar
  • 11
1 vote
1 answer
56 views

What is the simplest way to enforce/remind people to set a variable in a subclass when the code is dynamic?

I have a base class for Abilities. This is a point and click game, therefore I have Click, Hold and Drag subclasses. What I need to do is remind myself to set the player's AI state to Ability when it ...
Thisisstackoverflow's user avatar
0 votes
0 answers
29 views

What is the best lighting & shadow setup for mininal draw calls and triangles?

I have been testing out various lighting and shadow settings in Unity since during play mode the stats are showing a much higher set pass call and triangle count to what I know my model has. I have ...
FrontEnd's user avatar
  • 1,707
0 votes
0 answers
30 views

Is this Minecraft Bedrock adventure map well-balanced in terms of difficulty and quest progression? [closed]

As a relatively new map builder, I'm looking for specific* feedback about two possible "sticking points" in an adventure map I've just published on Planet Minecraft (free to download, ...
Quack E. Duck's user avatar
1 vote
0 answers
42 views

Outline Position in pool game

I'm developing a pool game using SFML and Box2D, and I'm currently facing an issue with creating the cue ball outline when the player aims. I have three rays that are cast: two black ones and one ...
Yosef Sirak's user avatar
1 vote
0 answers
16 views

Applying impulses simultaneously at each contact point or sequentially?

I'm coding a 2d physics engine in python, and I'm struggling to understand the right way to implement collision resolution when there are multiple contact points. Consider a very simple collision case ...
snickerdoodles777's user avatar
0 votes
0 answers
20 views

Completely independent dual GPU setup for VR with 100% "SLI efficiency"?

I have a simple (and maybe quite naive) question regarding dual GPU use for Virtual Reality (VR); it nagged me for years now and I couldn't figure out why this can't work, at least in principle: I ...
Felix Tritschler's user avatar
0 votes
1 answer
27 views

Update index buffer in Vulkan at run-time

What is the proper way to update at run-time the index buffer in Vulkan? Many thanks
Giuseppe's user avatar
3 votes
2 answers
1k views

Decouple game entity from its owner when logic depends on it

In my real-time multiplayer game, there are multiple entities that are very interrelated and whose logic is very related to the player who owns them. I don't think I can decouple the classes from each ...
Marvin's user avatar
  • 133
0 votes
0 answers
45 views

Looking to turn a c++ code for a game which runs on console only into a proper game [closed]

Hi so I made a basic card game for my cs100 project which runs on console only. Here's the link: https://github.com/theunknownsexy/Thulla-card-game I want to convert this game into a proper game, with ...
monish kumar's user avatar
0 votes
1 answer
47 views

How do you make the camera not "Shake" when used with a rigidbody for 3D in Unity?

So I have no problem getting it to work with a characterController. It looks smooth when I walk/run/jump around. But I wanted to make it work with a rigidbody. There was no problem when I tried ...
MrV's user avatar
  • 3
2 votes
1 answer
70 views

How to check if an AABB is behind another AABB while isometric depth sorting?

I have an isometric scene in a custom engine where my world sim is 3D, but I'm rendering sprites. To depth sort, I follow the approach in this blog post. Basically: wrap each sprite in an AABB, then ...
Archduke's user avatar
0 votes
1 answer
166 views

Ethical and Unethical methods of developing a game

I am wondering what methods I should and shouldn't do for making a game. An example of what I am asking is, how do I stop people getting addicted to my game and play for many hours on end? What ways ...
AussieNote's user avatar
0 votes
0 answers
25 views

Does an animation need to be loaded with a model?

I'm using assimp for my C++ rendering engine and I'm having difficulties with skeleton animations I've gone through a couple of tutorials/guides such as the skeletal animation chapter on learnopengl ...
Konjointed's user avatar
0 votes
1 answer
63 views

Sprite goes slow with some keys while withh others faster

I'm making a SDL and C++ game engine and I don't know where I'm failing. Here iss my code: Game.cpp ...
prestamo ordenador's user avatar
0 votes
0 answers
20 views

How to run animation of a single object on click trigger in blender?

I am developing a blender environment of a restaurant with multiple objects like fridge, curtains etc. Each of them have some animations on them. I want to play a single animation like of a fridge ...
Harsh Joshi's user avatar
0 votes
0 answers
25 views

Player-Environment Interaction & Collision Handling in Unity

Simply put, how would you go about designing environmental interactions? For example, upon pressing the interact button when near a chair, he can sit on it. (Also works with NPCs functioning with <...
NotLucifer's user avatar
16 votes
9 answers
8k views

Anxious about possibly hitting bugs i can't solve and having to cancel my games

I've been doing game Dev for 5 months now and I've started small with following Pong and Flappy bird tutorials and other simple arcade games, and when I feel like I've reached a ceiling with the ...
buzzbuzz20xx's user avatar
1 vote
0 answers
21 views

How to make AI Character move towards Actor Object

I have in my scene an AI Character and Actor Object, but the character won't move no matter what I've tried. You can see the current code with debug statements. I'm not sure what I'm missing because I'...
Robert the Bruce's user avatar
2 votes
2 answers
229 views

Should I be worried about reverse engineering revealing secrets?

I saw in the past that some games' mechanics have been revealed in details because of reverse engineering, and even the entire source code sometimes. I'm working on a C++ game with some deeper secret ...
Nécureil's user avatar

15 30 50 per page
1
2 3 4 5
1139