XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Godot Forum - Topics tagged godot-4

Topics tagged godot-4

Android intent crash when opening external browser in Godot 4

Hi everyone, I am currently finishing up a mobile utility built in Godot 4.2 that helps creators organize and preview video editing templates before exporting them into external editors. As part of the workflow, I added an external redirect using OS.shell_open() to allow users to quickly access setup guides and app packages from external sources, but I am running into an issue on Android 11 and above where the action silently fails on several test devices. Specifically, when triggering the…

Godot 4.7 - Linux Mint 22.3 - Export Android - Invalid Java SDK path in Editor Settings. Missing "bin" directory

Godot Version 4.7.2 - Steam version Linux Mint 22.3 Question I’m unable to get rid of the error message “Invalid Java SDK path in Editor Settings. Missing ‘bin’ directory!” when trying to export the game to Android. I’ve tried with and without including the “bin” folder when configuring “Editor/Editor Settings/Export/Android/Java SDK Path”, with the same results. I’ve seeing a couple of similar messages in the Forum, but apart from the “remove the ‘bin’” and “add the ‘bin’” to the Java SDK…

ScrollContainer fails to scroll on Android when...

Godot 4.7.2 ScrollContainer fails to scroll on Android when “Emulate Mouse From Touch” is unchecked. I have created a project with all settings to default, added the Android export, and a single scene with ScrollContainer → VBoxContainer → +50 Labels I have used the “Deploy with Remote Debug”, then “Remove Deploy”, then a physical phone. The ScrollContainer only scrolls when “Emulate Mouse From Touch” is checked. If unckecked, the scrollbar appears correctly, but any attempts to scroll fail.…

I need help with a 3d camera and its relative movement

Godot Version Godot 4.6.2.stable Question I’ve tried multiple times to make a camera with relative movement, but I can’t make anything work, I just wanted to know if anyone has any suggestions/ tutorials, I’m willing to change versions if it helps If you share code, please wrap it inside three backticks or replace the code in the next block: func _ready() -> void: print("hello world") 4 posts - 2 participants Read full topic

Issue with humanizer

Godot Version Replace this line with your Godot version Question Im using humanizer to build my model func _ready(): $Humanizer.connect("character_loaded", Callable(self, "_on_character_loaded")) spawn_character() func spawn_character(): var config := HumanConfig.new() config.targets["gender"] = 0.0 config.targets["age"] = 0.4 config.eye_color = Color.GREEN config.hair_color = Color.BLACK config.add_equipment(HumanizerEquipment.new("addons/humanizer/default_skeleton"))…

CGNCDS System for High Performance Collision Detection and Navigation

Godot 4.7.2 Welcome Back Fellez…!!! I showcase my CGNCDS (Custom Grid Navigation and collision detection System) System built entirely in Godot gdscript. This is a kind of system I have Architect and Developed for my RTS Project from scratch too support collision detection and real-time navigation at high performance for larger scale. Right now, This system Holds around 640 troops in the given video and the system hold frames around 9ms to 25ms and majorly around 13-14ms on an average. NOTE:…

Ani-Container | Pet Simulator | Beta PreRelease | Demo Testing Of Planet: Ani

This is my game Ani-Container, A little box with animals that sits on your desktop, Three Interactive Animals, Shop to Buy Ani/Items, And a PlayPlace for your animals to be displayed all at once. (This is a work in Progress and some things may not work, so please playtest and post any bugs!) ( And You Can Play For Free At https://ani-container.vercel.app/!) Play with Ani, Feed Ani, Pet Ani, Drag Around Ani In PlayPlaces, Its Ani Infested! To play, just make the window however big you want, then…

AgoraOS: a Unix-like OS and a tiny 2003 internet, simulated inside Godot 4.7

AgoraOS is a Unix-like operating system written in GDScript and designed to be embedded in games. It isn’t a desktop mockup with scripted replies. It has a kernel, processes, pipes, a shell and a real network stack. The demo world is a small internet from an evening in October 2003. The system Kernel: a virtual file system with users, permissions and symlinks; /proc, /dev and /sys; processes with signals, ttys and setuid. Everything is a file. Even programs in /bin can be copied, renamed or…

How do I measure the distance to the nearest duplicate of an object?

Godot Version v4.7.2 Question Hello I’m trying to make a sort of game/physics simulation hybrid, and I need to somehow measure the distance from each individual duplicate of an object to the closest duplicate of the same object. I have no idea how to go about this, or if it’s realistically possible, so any help would be greatly appreciated! Thanks 4 posts - 4 participants Read full topic

Animated halo around a sprite

Godot Version 4.6.1 Question Hey Everyone, looking for some advice or insight. I’m new to Godot and making a brick breaker game as part of my learning the engine. I want to add powerups to the game in the form of special bricks that are a different color and have a animated halo around them. Think something like a slow, pulsating, feathered outline around the brick that makes it look like it’s glowing. What’s a good way to achieve this effect? The only thing I can think if is making a halo…

[C#] lerp doesn't appear to be working for acceleration

Godot Version 4.7.1 Question hey, i’m trying to follow some tutorials for creating a 2d platformer and i’m running into this issue where lerping doesn’t appear to be working? my goal here is to try to have the player accelerate from 0 speed to their target walking speed, but it appears to just multiply the “to” value by the “weight” value my horizontal movement code: // kb inputs if (Input.IsActionPressed("move_left")) { movementDir -= 1; } if (Input.IsActionPressed("move_right")) { movementDir…

[v4.8+]-Full Screen On A Super Wide Computer Monitor - How To Do It Properly?

Godot Version v4.8.beta1.official [4d10419ca] - CachyOS KDE Plasma Linux x86_64 Mini PC Question Hi, How is full screen mode on a super wide computer monitor going to work in Godot v4.8+? We have no idea on how to do the above properly. Anyone have any suggestions? Let us know, thanks! Savant Savior 5 posts - 3 participants Read full topic

Closing the application when unhandled exception occurs (C#)

Godot Version v4.7.2.stable.mono.official [ed1daf0bf] Question Default behavior of .NET application is that it closes when exception is thrown and not caught, to prevent application from staying in corrupted state and potentially even corrupting data. Default Godot 4 behavior is opposite - it doesn’t care about unhandled exceptions, and keeps executing what code it still can. While it shows errors in the editor, you have no idea anything wrong happens in release version of the game. Apparently…

Making NPCs with interchangeable clothes and heads

This is something I really know nothing about yet, so this is a very general question about what methods exist and make sense to mix heads, body types, and outfits for NPCs. For my game, I want to have fairly simple character models like Metal Gear Solid or Half-Life. Example Pictures (click for more details) But what I would like to be able to do is to create an mesh and a texture for an outfit, which I can then make assume the proportions of the respective body types of the different alien…

unnamed couch pvp arena shooter

Hello godot forum : ) Heres my WIP 2D party arena shooter made with godot 4 It’s local-only multiplayer – I’m getting better at netcode but I doubt this game could be rewritten with netcode without a month or so of effort so I’ll probably do that after release as an experiment when I’m satisfied with content and the features. The codebase is SUPER messy as it’s my first project. I’ve tried to keep the controls slimmed down as obviously I don’t want it to be hard to fit 2 people’s hands on the…

An English translation of gugu's macaroon company game

itch.io [ENG]gugu's macaroon company by hamin This feels like anything but a normal company/ computer game /language: Engilsh /indie game Coincidentally, today is the day before the first anniversary of my first game! I mostly use a translation tool when translating, so I’m not sure if the meaning will come across clearly… 1 post - 1 participant Read full topic

Game Ideas Need help

Hey everyone! I’m a 14-year-old developer building a cooperative multiplayer 3D game. I am relatively new to Godot 4 and learning the engine as I go. I’m looking for a partner—whether you are a coder, scriptwriter, or artist—to team up with so we can learn, write scripts, handle game logic, and build a cool prototype together! About the Game (Working Title: Patch & Poach): It is a high-intensity, cooperative 3D party game where players run a pristine, A run down tech shop support store by…

Global Variable changing the root of my node

For some reason, whenever I try to make my player’s speed a global variable, it change the root of my head and camera nodes. I don’t think i’ve EVER seen anyone else with this problem so how in the world do I fix this? Thanks. extends CharacterBody3D @export var speed = 7.0 @export var sprint_speed = 14.0 const JUMP_VELOCITY = 4.5 @onready var head: Node3D = $head @onready var camera_3d: Camera3D = $head/Camera3D func _ready() -> void: Input.mouse_mode = Input.MOUSE_MODE_CAPTURED # First person…

Inverse hull outlines on meshes with custom normals

Godot Version 4.7 Question A flat shaded mesh or a mesh with custom normals has separate vertices for each face so pushing vertices along their normals separate these faces. I tried baking smooth shaded normals in object space (Blender) and using that instead but I got this weird result: What am I doing wrong with normal baking/sampling? 3 posts - 2 participants Read full topic

Help with blood spatter effect on press

Godot Version Godot 4 Question Im trying to create an effect where when the person clicks the button, a blood spatter image pops up and gradually fades back down to being invisible. Im new to godot so be nice to me lol. Any idea where to go from here extends Button @export var normal_scale: Vector2 = Vector2(1, 1) @export var hover_scale: Vector2 = Vector2(1.1, 1.1) @export var duration: float = 0.5 var tween: Tween var blood_spatter_tween: Tween func _ready() -> void: pivot_offset = size / 2…

Maskborne Teaser Trailer

About a months ago we shared our first teaser trailer for our game Maskborne as well as launched our Steam page. It’s 2d hand-drawn dark metroidvania with an emphasis on the visuals, music and movement mechanics. Ori, Hollow Knight, Ghibli and Zelda are the main inspirations for this. Grabbing different elements from each. This is my first ever game, and it’s been an interesting journey so far. I’m really enjoying the challenges and I feel like Godot has been the perfect engine for this. The…

How to delete a specific node at your mouse position

Hi, I’m building a user placement system which I’m very new to and I’m trying to build a system to delete tiles. Right now when I click anywhere on the screen, the last node that was placed gets deleted but I want to delete a specific node where my mouse position is. Code elif(currentBuildMode == buildingModes[2]): get_global_mouse_position() for node in get_tree().get_nodes_in_group(“Crops”): if node.is_in_group(“Crops”): node.queue_free() break The section above is the deletion part of the…

Animationplayer play_section_with_markers not working as expectged. Am I missing somethign?

Godot Version Godot 4.7 Question So I'm working on some kinda of parrying, and while it functionally works, it's the animation I'm having trouble with. Example, I have this animation for an attack: When it connects with another attack, I want it to jump to the “clashed” marker, and pause there: But, when the attack is parried, it just pauses right where it is. I tried stopping the animation first then playing from the marker, but then it just stops at time=0: This is a parried attack looks: See…

Globals unable to see scenes

Godot Version 4.8 It appears I corrupted my scenes or something because every time I tried adding them to Autoload Godot throws like four-to-five different errors. Something about path misdirection? I’m very curious as to why this has happened. Also, I tried to make a new scene which initially worked, but after closing and reopening Godot Globals failed to see that too. Here are some screenshots. I don’t really know what the problem is so I screenshotted a bunch of things. 8 posts - 4…

Passing Variables Around

Godot Version Replace this line with your Godot version Question These are Multiple Questions that im Curios about How do i send Information Up the Tree. Down a Tree and Sideways. Example: Parent → Child Child → Parent Parent → Parent For a Easy Example lets say we are passing: var Number: float = 1 If you want to Give Other Examples Thats good to keep it Simple! i will Edit this Post to Include my Fav Answers. Using GDScript. Passing Down a Stack extends Node3D #This is Parent @onready var…

Nav Agent pathfinding problem

Godot Version 4.7.2 Question I started setting up the enemy navigation agent to follow the player which it does. The main issue is the enemy getting caught on corners. I’ve tried both the baking and tiling along trying the corridor funnel and the edge centered path processing and they still get stuck on corners. I feel like it’s due to how the skeleton’s physical collision is setup but i don’t know what collision shape would fix it if it’s the case, any suggestions on how to fix this? 4 posts -…

How to search a Label for a specific word and its position in space?

Godot Version Godot 4.7 Question I am making a Papers, Please inspired game where you read documents and approve them is disapprove them based on specific words or symbols. I want to have the words be highlighted on the document, and the player is scored based on if they found and highlighted all the necessary words/symbols. Ideally, I would let the player freehand highlight. I think that’s more fun than simply clicking the word to highlight it. Example document: Name: Example, Author Date:…