Rotating Projectile Godot
I have this projectile code in godot:
Creating sprinting and stamina mechanic in 3d Godot game
I’m creating a 3d doom like game and I want to create a sprinting mechanic that will lower the stamina bar, then once that bar reaches 0 it should stop you from sprinting.
Godot 4.2.2 Stable: Cannot call method ‘warp_mouse’ on a null value
My script that makes it when you collide w/ a area2D, the mouses position gets set back to 0, 0. But I keep getting the error: Cannot call method ‘warp_mouse’ on a null value.
What’s the difference between $ and % in gdscript?
I’ve seen people use $node
and %node
to get nodes but i have no clue what the difference is. What’s the difference?
Godot 4 Scenes randomly corrupting on launch
Whenever I launch my Godot 4 project, some specific scenes in my game will corrupt themselves, such that whenever I try to open the scene it displays a popup with the text:
Scene file 'scene.tscn' appears to be invalid/corrupt
.
In the console this error message is also displayed upon attempting to open the scene in the editor.
Failed to instantiate scene state of "scene.tscn", node count is 0. Make sure the PackedScene resource is valid.
I am not sure what is causing this, it will happen without me changing the scene at all, just opening and closing the editor. Most importantly, the project still runs perfectly fine, I am able to see the scenes within my game running normally when I test it, while the files are supposedly corrupted.
Getting the pitch of the microphone input Godot
I’m making a game for children learning instruments where I need to get the tone currently being played into the microphone.
GODOT Can not access Packedscene’s child from another Node using Signals or Getnode
So I want to set values, like scale, of a packedscene from the editor from another scene.
I want “Candlestick” to set the scale of “Top” which is within “Body Hollow” (see below).
How to implement move to click with interactable objects? Event order is breaking the system
Using Godot 4, I want to make a point and click style game where:
I accidently change my current repo to main rather than pushing to it now all my files are getting reversed
https://github.com/HashirShazad/Parkour_Game
Centre viewport on screen — Godot 4.1
I’m using Godot 4.1 and exporting to mobile (Android).