XIO

xWire

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

Godot Forum - Latest posts

Latest posts

Launching Goodt for the first time on Steam is very slow

Steam is very slow to launch the game for the first time. During the freezing period, no files were created in the background, meaning it might freeze before executing the following code: extends Control var Ui = preload("res://gdscripts/ui.gd").new() var NewGameDataSetting = preload("uid://bb1xxvx3qnsol").new() var DataSettingBase = preload("uid://dd8ukrnlevurv").new() var data_io = preload("uid://ckb5066uh4r3c").new() var Custom = preload("uid://bypcecvn1hm60").new() var LoadFun =…

How I plan to build a massive game as a solo developer

The title is derived from the saying: “Those who live by the sword shall die by the sword” The theme of the game is to illustrate the folly of man; the insanity that we, who are capable of such genius, and of working together to build a society of abundance, especially through technology, insist on obliterating each other and creating a world of scarcity, poverty and death. That’s also the idea behind the title “DBTS” - its a little tease. because the idea that the activision corporation would…

how can i use a wait function in my script

var stamina: float = 100: set(stamina_value): stamina = clamp(stamina_value, 0, 100); func _process(delta: float) → void: if stamina < 100: stamina += delta * 10; i got it working so thanks alot, only issue now is that now the stamina becomes a float when it regens, i need it to be an int value cause this is for a dash system that consumes and then regenerates stamina

-Stargazer- | Music Track | Needing Opinions

I mean its a slow spacey ambience track. You can hardly call it music. but… I actually think this is a fantastic starting point. You should %100 use this where it fits in your game. Some games have excellent music. Skyrim comes to mind. But they used actual composers and orchestras. Most of us dont have the means for that. So your using a simple ambience track to elicit a certain mood. Its a good, practical strategy, and a ton games do it.

How I plan to build a massive game as a solo developer

well if you think about it one second is very short amount of time, it takes about one second to count to one… i know that’s a lot… also 100 thousands characters in the world while only 10000 on the screen, i think it’s not that ambitious really if you don’t have at least quarter milion advanced neural network npcs on the screen performing tasks, even small games like worldbox or rollercoaster tycon (if we talk about older games) were able to get up to thousands of npcs at the screen while…

Sprite Spawning

Iterate through tiles and determine tile type. The type maps to one of 4 cardinal direction vectors. Use that vector to calculate the spawn position offset from the tile center. Also pass it to look_at() function to aim the cannon in that direction.

-Stargazer- | Music Track | Needing Opinions

I agree with the others that context is doing a lot of the work here. I gave it a listen and, for a slow exploration game in the No Man’s Sky mould, the dreamy, unhurried feel fits nicely — it would sit well behind wandering and discovery rather than anything tense. I would keep it calm and let it breathe.

how can i use a wait function in my script

for cooldowns i usually use delta timers and main _process function, here i update every object and node in my game that exists, for instance let’s say you have player object func _process(delta: float) -> void: player.update(delta); and inside player: var stamina: float = 100.0: set(new_value): stamina = clamp(new_value, 0.0, 100.0); var sprinting: bool = false; func update(delta: float) -> void: if (sprinting): stamina -= delta * 10.0; else: stamina += delta * 5.0; this code works like this:…

Using mouse cursors as conditions

This is not true, at least not in the way you presented it. Just because something is a function doesn’t mean it cannot return anything. Calling a function DOES indeed return something you can use. That’s how so many functions work. That’s how things like get_angle_to work, that’s a function as well, and it returns a float variable. To say that a function will not give anything is simply wrong and misleading. What IS true, is that certain functions have a void return type, which means they do…

how can i use a wait function in my script

Godot Version Godot v4.7.2.stable Question Hello, i'm a beginner and i need some way to make a cooldown for stamina regen, i need it to regenerate a certain amount at a time but i can't figure out how to do it in an efficient way whenever the stamina goes below a certain amount, i tried using a Timer but i'm really struggling with it, any help would be appreciated.

Godot 4.x Cheat Sheet

I made a cheat sheet that just runs through some important gdscript code that most beginners will encounter and likely go “what is this” heavily inspired by the PICO-8 Cheat Sheet by Liquidream, credits in the actual image itself (and a link to the inspiration here) Can also be useful for some experienced godot users aswell!! i hope it is of use to people (google drive link too bc im unsure if godot forums compresses image files, here)

Money Doesn't Grow on Trees! - An incremental game made in 48 hours

Hi everyone! I’m really proud to share with you all a game made in 48 hours for a local game jam. In Money Doesn’t Grow on Trees, you play as Stee, a mutated gardener fish, taking care of Pr. Maria GIRLBOSS garden by planting trees that gives you money !!! Plant a tree and use money to evolve it Water them so they keep producing Protect them by punching praying mantises trying to eat them Reach every tier of Pr. Girlboss’ requests to unlock all the plants The game is available right here on…

Vertical ShootemUp Projectile retains X Position of the Player

Godot Version 4.7.2 Question I’m trying to learn how to perform basic functions in the Godot 2D space, and I have followed a guide online on firing a projectile. The problem I have is that the projectile will move side to side with the player moving side to side, rather than just moving up the Y axis at the X position it spawned at. I’ve tried a few guides online, such as putting owner. before add_child. I tried to see if there is a signal to export the function to main scene, or if I can just…

Material 3 for Godot

I created a port for material 3 to be used in Godot. I personally love the modern style of websites and apps, but video game UI always seems to fall by the wayside. So I made this a while back and decided to upload to github and share. Hope you guys find it helpful, github.com GitHub - rnewquist/godot_material3 Contribute to rnewquist/godot_material3 development by creating an account on GitHub.

Godot Testing Harness

One of my biggest gripes with Godot as a software engineer was the lack of a good testing framework. Not that this is good but I like it. I wrote a testing harness for Godot that I’ve been using it for a while and decided to post it on github and share it. Its an add-on for Godot that allows you to write unit tests, integration tests, and my favorite part, take “snapshots” of Godot. This is where you can take a screen shot or a recording of gameplay and see the debug elements as if you were…