Top new questions this week:
|
Reinforcement learning has shown remarkable success in game-playing agents, as seen in the achievements of AlphaGo and OpenAI’s Dota 2 AI. There are a few tools, such as Unity ML Agents, to integrate …
|
I’m creating some images for an existing game that allows for custom content. I have a large collection of PNG images with indexed colors (all using the same palette). I would like to be able to go …
|
I’m building a type of Pinball game using Godot 4.0. I’ve got two types of components relevant to this question: balls, represented as a RigidBody2D scene with <...
|
I built a subGraph in Unity Visual Scripting to move a GameObject (“returnThisGameObject”) from its current location (Point A) to its originalPosition (Point B). The code run dozen of times …
|
Suppose we have 2 springs with different values for m and k. The first spring is given an arbitrary dampening value, …
|
I have this code that tries to check whether a lobbed grenade will head toward a teammate: …
|
im having trouble phrasing the issue, so apologies if the title isn’t correctly descriptive. I’m creating a basic game engine for the first time and have an idea for setting up the worlds data. The …
|
Greatest hits from previous weeks:
|
I am developing my first 2D game in Unity and I have come across what seems an important question. How do I handle data between scenes? There seems to be different answers to this: Someone mention …
|
I’m making a classic Resident Evil / Silent Hill type game, so am currently in progress of writing a few puzzles. Currently, I have a combination lock – 4 digits 0-9. Each digit of the combination is …
|
Assume DirectX as the platform, if that is important. (Pretty sure it isn’t) Assuming I have a proper scale, rotation and translation matrix, in what order do I multiply them to result in a proper …
|
I have a level generation algorithm that is computationally heavy. As such, calling it always results in the game screen freezing. How can I place the function on a second thread while the game still …
|
Divinity: Original Sin 2 has a beautiful see-through system. When I go behind walls, a splash mask will appear, and when I move around the game, it changes. It’s like a dissolve shader, and has a …
|
Khronos Group (the standards body behind OpenGL) has just announced Vulkan: Vulkan is the new generation, open standard API for high-efficiency access to graphics and compute on modern GPUs. This …
|
Looking to dynamically change the value in the button OnClick and slider On Value Changed . If I had to guess on how this was done, get a reference to the button/gui element. Next get the Button …
|
Can you answer these questions?
|
This is my build command: …
|
I have some UI text in a canvas that I’d like to be able to render with sprites behind some of the characters. This is effect I’d like to achieve: I’ve been able to use Text Mesh Pro UI text objects …
|