All Questions

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

What's the correct way to use NavigationAgent3D in Godot?

I've just started using Godot and obviously fail to use NavigationAgent3D correctly. I've added a NavigationRegion and baked a ...
0 votes
0 answers
8 views

How to drag and drop complex objects (with multilayered textures and text) in Godot?

Newbie to Godot here. My idea is to create a deck building game, inspired by Slay The Spire or Across the Obelisk. I have come to a problem that I can not seem to find the answer. So, the card object ...
0 votes
0 answers
8 views

Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'build.gradle'

I know this question has asked before, but I want to ask it with respect to Unity.So I am trying to make my game target API level 33 as per the new googlePlay store policy. But I got many errors and ...
0 votes
1 answer
426 views

Extend distance for rendering grass and tree objects on terrain

I am trying to make an adventure game with a big landscape (made the terrain with terrain tools) with 3D models of grass (that I placed using terrain tools) but it only shows the grass/trees that are ...
0 votes
1 answer
72 views

How can I handle voxels that require extra data in my octree?

I am using octrees as an efficient way to store voxel data in a voxel game. The details of my octree implementation can be found here, but in a nutshell, each node is 16 bits, and the most significant ...
2 votes
0 answers
26 views

How to test for intersection of a cone with infinite camera frustum (no near/far plane)?

I have a given infinite camera frustum defined by four planes, each defined by a normal (left, right, bottom, top). From those planes we can also easily get the camera position and the view direction. ...
0 votes
0 answers
14 views

What is the proper way to bake mesh deformations to skinning weights?

I'm writing a custom game engine and implementing a mesh deformation algorithm called Direct Delta Mush. I know Maya can bake these mesh deformations back to standard skinning weight as one of its ...
0 votes
0 answers
22 views

Input while using Input System and Unity UI [duplicate]

I'm using Input System and Unity UI and the problem I have is a single event (i.e. mouse press) is being sent to both systems. Here are a few interactions to demonstrate the problem. Clicking on a UI ...
0 votes
0 answers
21 views

How to implement 2D rigid body motion?

I'm already depending on two NPM packages for 2D collision and differential equations: sat rungeKutta I've a basic simulation structure, but don't know where to start with to use these two packages ...
0 votes
1 answer
331 views

How to prevent blurry pixel art when the camera is following a character?

I'm developing a top-down pixel-art game and previously I was having the camera follow the player like this in the camera's update function (called every frame): ...
0 votes
1 answer
93 views

How can I make a reliable time-based object upating system?

So an object has a position, velocity, and is affected by gravity. ...
0 votes
2 answers
26 views

How to get nested child node without using full path in Godot?

How to get nested child node without using full path? I tried with just node name, it doesn't work. The script is on top level so the path is quite long: ...
1 vote
1 answer
652 views

Cocos2d/Cocos2d-x Attaching an arrow (sprite) to another body sprite (person)

I am trying to set up a simple bow and arrow game. When the arrow hits the enemy body, the arrow's body is deleted and the arrow sprite continues to update, keeping the position correct in relation to ...
1 vote
1 answer
49 views

What's a convenient way to setup two objects that physically "plug" into each other?

I'm making a puzzle game and I need two pieces that look like they fit together (like a DVI port and DVI plug). I want them to be two separate scenes because I want to place and animate them ...
0 votes
1 answer
15 views

How do I make a 3D cursor that follows the mouse in Godot?

I want to position a 3D object at my mouse cursor. How can I do that in Godot? In Unity, I'd use Camera.ScreenToWorldPoint.
1 vote
1 answer
27 views

What if I use delta time to just regulate framerate but not individual entities?

What if, instead of multiplying all my values that change each frame by delta time, I just increased one number in increments multiplied by delta time, and used that number to advance to the next ...
2 votes
1 answer
2k views

Drawing Shape in DebugView

As the title says, I need to draw a shape/polygon in Farseer using debugview. I have this piece of code which converts a Texture to polygon: ...
0 votes
0 answers
145 views
+50

JIttery rendering and ghost trail behind platformer character in Godot

I have no gamedev experience and I just started learning. I wanted to develop a basic platformer to learn. I got stuck pretty soon with rendering in Godot. When I run the game, it just feels... ...
1 vote
0 answers
28 views

How to quickly traverse bi-directional nodes without repetition?

I want to optimize a bidirectional node traversal algorithm. Because the node is bidirectional, it may cause an infinite loop. The current algorithm uses memory records. However, memory writing will ...
0 votes
1 answer
37 views

How To Implement Button-Matching Minigame In New Input System

Good Afternoon, I'd like to incorporate a button-matching minigame into my game. I have an InputActionMap made specifically for this minigame. One of the buttons ...
0 votes
0 answers
22 views

"Unable to create keystore" message from Unity for Android

I want to build a project with a release aab version. Unity asks me to create a keystore, and when I create one, it show this message: Android/2023.1.911/Editor/2023.3.0a6/Editor/Data/PlaybackEngines/...
0 votes
0 answers
188 views

The equivalent of diamond-square algorithm on hexagonal grid [closed]

I'm very sorry if this algorithm already exists and I'm just bragging about reinventing it. The equivalent of diamond-square algorithm on hexagonal grid: Start with the random values in the red dots, ...
8 votes
2 answers
524 views

Why isn't my cbuffer updating?

I am really frustrated because my cbufer isn't updating. This is my VS: ...
2 votes
2 answers
1k views

Emulating 3d trajectory in top-down 2d game?

As the title suggests, I am wondering if it's possible to emulate a 3d arrow trajectory to a top-down 2d game? If you would look at this clip of Age of Empires 2 game, especially when archers are ...
0 votes
0 answers
28 views

How do you do vehicle rendezvous?

If you want to have a missile track and hit a target, Proportional Navigation is a common technique. But that's simple intercept and collision, getting the pursuer to the same X, Y, Z as the target. ...
3 votes
2 answers
79 views

How would I mask the player node out of a canvas shader?

I'm making a 3D game, and I want to create a post processing effect using a canvasitem and a colorrect, that effects everything on screen apart from the player. I already have the shader itself made, ...
0 votes
2 answers
85 views

Unity New Input System - What Is The Correct Way To Check If Any Button From An Action Map Was Pressed?

Good Morning All, I am using Unity's New Input System. I have an Action Map created called 'Menu'. Currently, this is how I check for specific button presses. ...
0 votes
1 answer
328 views

How do I update this code to hit a moving target from a moving shooter?

I am working on a game where one spaceship("Origin") can shoot a dumb projectile("Projectile") at another spaceship("Target"). Since the target is moving we will have to ...
0 votes
0 answers
23 views

My character keeps bugging into the ground or into the air [closed]

You can see in the video that my character mesh is hard bugged and im sure its because of the scale since the character mesh is small I had to scale it up by about 30 when changing the size back to 0 ...
0 votes
1 answer
50 views

How to save and instantiate game data containing lists of polymorphic types

Let's say I have a class named Entity such as: ...
-2 votes
2 answers
103 views

Please explain this matrices interpolation code

int rate,frac; sint16 *frmptr[2]; frac = GetFrames(item, frmptr, &rate); ...
0 votes
0 answers
32 views

How to rotate body in server-side physics without imparting angular velocity?

I'm developing a 2D cloud-based MMO using WebSocket and have struggled a lot to get proper working physics on the server side. I'm using Next.js for the client and currently Node.js for the server. I ...
2 votes
2 answers
317 views

Interpolation on Rigidbody2D not working

I'm trying to achieve smooth movement for a ball. I seem to be failing to achieve this and now I've created a sample scene, which shows my setup from the game and the problem exists in that sample ...
0 votes
0 answers
26 views

How to fix distortion when wrapping heightmap around sphere

I currently have a 3D model of the moon. You are able to pick a point on the moon and it takes longitude and latitude coordinates of that point and generates a mesh based on the heightmap. So if you ...
0 votes
1 answer
22 views

"Button is not an attribute class" error when integrating Steam achievements

I am writing the code for my button, but it's giving me errors like this: Assets\Scripts\SteamIntegration.cs (60, 6): 'Button' is not an attribute class Where did I make a mistake in this code? <...
0 votes
1 answer
36 views

Accessing an Animation Blueprint C++ class from a Character C++ class

This is my first leap out of tutorials and building my own game so bear with me. I've been struggling with getting C++ classes to work with one another and accessing Unreal blueprints from my code. I ...
1 vote
0 answers
59 views

Dialogue Manager Godot 4 Signals

When using the Dialogue Manager addon on Godot, I am trying to run a function to change the sprite of a character. My function look like this under my character script: ...
1 vote
1 answer
323 views

Sprite framework binding multiple textures

In an attempt to batch render as many quads (sprites) as possible, I'm instance rendering a single unit-sized quad and passing in a buffer of per-instance data that includes width/height, texture ...
0 votes
1 answer
29 views

Rotate Object Smoothly When Dragging

I want to make a 3d object rotate smoothly when being dragged in a ui in Unity. My stuff currently works but I just can’t get it to rotate smoothly, I can only make it rotate instantly which looks bad....
2 votes
1 answer
56 views

Changing the scale of a character and speed to match the perspective of a 2D background while traveling along the Y axis

I am making a 2D point and click game, just for fun. I want to create some sense of perspective, so I am trying to change the scale of the player as he travels along the Y axis. Obviously, the speed ...
11 votes
3 answers
3k views

Why do prefabs speed up loading?

I have a scene with a massive terrain. It took a long time to load (approximately 60 seconds) when I pressed play. I am in the editor. I prefabbed it. Now it only took about 5 seconds to load when ...
0 votes
1 answer
29 views

Static Niagara System for fire on a torch

I'm building a Niagara System for fire and smoke that would be placed on a torch when it's lit. While smoke works just fine when it's static, when I move the camera (and so the torch itself moves too) ...
1 vote
1 answer
80 views

Twin-stick backwards tank movement

I'm creating a 3D twin-stick tank game in Godot with C#. I have created the tank movement and rotation, separate of its turret, and it seems to be working properly. The issue: I want the body of the ...
0 votes
1 answer
98 views

Validate structure for a room escape game

In a game like a simple adventure or a room escape game, I would like to know if there are established algorithms to check for simple constraints on the layout. I would like some pointers so I could ...
1 vote
1 answer
1k views

How would joints work in an impulse-based physics engine?

I want to learn about physics engines, especially impulse-based ones. So I've followed along this tutorial to create some simple rigid-body physics: http://gamedevelopment.tutsplus.com/tutorials/how-...
4 votes
1 answer
83 views

Explode image into component pixels shader

I'm currently stuck on trying to write a shader for Godot 4.x. and get it to look right. I'd like to take an image, pixelate a bit so that particles are a bit chunky, and then explode it into ...
2 votes
1 answer
99 views

Stride integrated in WPF or WinUI desktop app

I am using stride 3D engine integrated in an UWP application because stride only support this platform. Do you know if it is possible (or one day) to integrate stride in a WPF or WinUI application ...
0 votes
2 answers
130 views

Does Stride require Visual Studio to build the release version of a project?

I've been reading through the Stride tutorials and manual, and I see on this page: https://doc.stride3d.net/latest/en/manual/files-and-folders/distribute-a-game.html ... they describe building the ...
1 vote
1 answer
39 views

How to block switching screen mode

When the game is full screen, pressing the window key switches the game screen to windowed mode. How can I block this? I tried to find related to this in official documentation But I can't find it.
0 votes
3 answers
574 views

XNA Rotate Vector2 around Origin

I have a Rectangle and a Vector2 position, my sprite is being drawn at this position. The rectangle is meant to be a collision system with the cursor, when I rotate my sprite around the origin and ...

15 30 50 per page
1
2 3 4 5
1120