Skip to main content

Questions tagged [godot]

Godot is a 2D and 3D open source game engine developed by the Godot Engine community. It features a built-in development environment which runs on Windows, macOS and Linux and can create games targeting PC, mobile and web platforms.

0 votes
0 answers
22 views

Dynamic Knock Back Force Based on Collider Velocity

I'm making a game prototype in Godot. My player character is a ship that moves around in 3D space without gravity. I have some simple code that adds a knock back force to the player on collisions ...
Zoford's user avatar
  • 1
0 votes
1 answer
20 views

Godot Blend Space 2D: Animations reset from start when blending discretely

Godot Version: 4.2.1 Mono How do I blend between animations in a Blend Space 2D while maintaining the playback point of animations? I don't want animations to restart each time I blend between them. I ...
Andrew Kay's user avatar
0 votes
0 answers
18 views

How to match Sprite3D's collision poly to its billboard transform?

Assume there is a Sprite3D with a Y- billboard flag on. This sprite3D has a matching CollisionPolygon3D Collision polygon3D is set up to "look" at the camera with a look_at() function, ...
Noideas's user avatar
  • 17
0 votes
1 answer
49 views

How to prevent Sprite3D from clipping into nearby objects?

Gotot 4.2 Sprite3D is very useful for representing 2D objects within the gameworld. However, when billboarded (Y-billboard), 3D Sprites are prone to clipping into the floor/walls/other 3D models they ...
Noideas's user avatar
  • 17
0 votes
0 answers
46 views

My Godot 4 2D game is running badly on HTML5 on some PCs

using Godot 4.2.1, My game is a pretty simple top down shooter, I tried exporting to HTML5 on itch.io and the game runs fine on certain PCs but not others ?... when running the game on my computer ...
buzzbuzz20xx's user avatar
2 votes
2 answers
262 views

Area2D embedded in UI does not receive mouse events

I am using a hierarchy of Control nodes (in a CanvasLayer as was suggested in another question) to display a user interface. At ...
O. R. Mapper's user avatar
0 votes
1 answer
48 views

Godot on signal trigger external animation

It may not matter, but I'm following How to make a Video Game - Godot Beginner Tutorial. I want to implement the dying animation instead of removing CollisionShape2D from the body (parameter passed to ...
depperm's user avatar
  • 101
0 votes
2 answers
64 views

Cannot figure out how to properly align content with resizing window

I'm trying to create a Godot game that runs in a resizeable window. The larger the window, the more of the game world players should be able to see - i.e. I do not want the game graphics to get scaled ...
O. R. Mapper's user avatar
0 votes
2 answers
92 views

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

I have a simple save game/load game system that packs the entire world scene to the disk, then loads it via ResourceLoader.load(): ...
Noideas's user avatar
  • 17
2 votes
1 answer
52 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
  • 45
1 vote
1 answer
52 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
0 votes
0 answers
29 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
133 views

making a 5 minute Metroidvania prototype and wanna know if my dev process is good

I've been learning Godot and game dev as a whole since the start of this year and I've sunk dozens of hours into practicing making games in it, lately I've set out to make a very small sort of "...
buzzbuzz20xx's user avatar
0 votes
1 answer
132 views

adding a knockback effect to a CharacterBody2D in Godot 4.2.1?

i was following a tutorial series on YouTube on creating a Zelda clone in Godot 4.2.1 and everything works fine, but the tutorial never implements a knock-back effect when attacking an enemy so i ...
buzzbuzz20xx's user avatar
1 vote
1 answer
78 views

How do I place the local center of my tilemap at 0,0?

If I have a tilemap that is 4x8, positioned at 0,0 in the editor as follows: What code would I use such that it ends up "centered" when my game runs? I'm hoping for an end result that would ...
Alexander Trauzzi's user avatar

15 30 50 per page
1
2 3 4 5
39