XIO

xWire

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

Godot Forum - Latest posts

Latest posts

How to make game run in separate window and not embedded in editor?

Here’s the documentation page about game embedding: Godot Engine documentation Game embedding Godot supports optionally running the game in the editor itself. This is enabled by default. Configuring game embedding: Game embedding can be in one of 3 states: Floating window(default): The game... The top bar design changed a bit for 4.8 but the functionality is the same.

Can't figure out saving/loading

Have you tried verifying the data you are saving and loading? Try and check what is inside save, both in savefile() and loadfile(). I haven’t personally used store_var() before – only store_line(). In the documentation you can find a json serialization example that saves and loads files. That is what I’ve used in the past. The code example is a little long but it should do the trick. You can find it here: Godot Engine documentation Saving games Introduction: Save games can be complicated. For…

Can't figure out saving/loading

Godot Version 4.5 Question I found a tutorial on saving/loading that seemed to fit my needs. Unfortunately, it just doesn’t work. ‘glo.difficulty’ doesn’t get set once the file is loaded. var savelocation = "user://SaveFile.json" var saves : Dictionary = { "difficulty": glo.difficulty } func _ready() -> void: #Only saves when returning to title. I have accounted for this. if glo.firstopen == 0: #to prevent the save file from being overwritten instantly. glo.firstopen = 1 else: savefile()…

I can't control the orientation using `Basis` or `Rotate`

Description Regarding the image: In a first-person shooter (FPS) game on Steam with crafting elements—specifically in the building mode where you place floors, walls, and other objects on the stage—I’m having trouble figuring out the following aspect of the code for placing a floor. What I Don’t Understand As shown in the image, when I move the camera to the left, the floor object in the center of the screen rotates in place while also moving along with the camera since it’s a child of the…

Nophys - an Experimental Project

Update 010 - Year One It have been a year since the first post in this thread Progress is slow, but I’m glad that it’s not being abandoned by yours truly. Animation Added two temp animation (ascend & descend) for slope/stairs. I checked the player position of y-value, compared it to previous frame, then changed the animation (with blend value) according to the return value. Joypad Messing around with joypad in Godot at some point and decide to test it now before it become to much pains to be…

Working on a Racing Game

Hi All, The weather now gets worse when turning right and improves when turning left! … genius game design? or, the weather debug slider is bound to the same controller input as the steering A quick race at a freshly updated “Belgium GP” track.: WIP Racing Game - Belgium GP Weather [ ‘Belgium GP’ weather test - short race ] Happy accidents FTW! [ Vector Pulse GTS in the rain - photo mode screenshot ] Cheers James

Z index doesnt work

z as relative adds the parent ‘effective’ z index to its own index. By effective, it means the final z index considering the z as relative option and parent nodes… If your parent z index is 0 and node z index is -12, then the effective z index of the node is -12. And I assume your ‘background’ z index is also 0. Since 0 is bigger than -12, background is drawn on top of the node. You need to set your characters main node z index high like 50 (this is just a suggested number based on very limited…

Star Bandit - Mobile Arcade Game - Official Release - FREE/NO ADS

Hey everyone, I just released my first Godot game, Star Bandit. It’s a mobile arcade game where you swipe to thrust your ship through the galaxy, dodging obstacles, heisting as many stars as you can, and trying not to get caught by the space police. Collect enough stars and a wormhole pulls you into a short mini-game. I’ve been building it solo for about a year, with 40 devlogs along the way. It’s FREE with NO ADS, although there is an optional $1 unlock, Bandit Stash, which adds the full…

What approach for "smooth" 2D terrain that can be dug into / subtracted from

Thankyou, this helps clarify the complexity of this task and the search term that can help me create more optimized TileMapLayer colliders! With this in mind, I’m considering learning to make a full game idea that mainly relies on TileMapLayer first, and then when this is done I have much more experience in coding, the step to making my marching squares terrain using custom rendering would be less daunting. Then that would be my 2.0 version of the game.

What approach for "smooth" 2D terrain that can be dug into / subtracted from

Generally these require specialized techniques at a close to engine level, Terraria and Noita are not using Godot or anything close to it, they are built from the ground up to support this kind of simulation. You will not get such functionality out of Godot’s TileMapLayers, or at least not without performance problems. “Greedy Meshing” is another term that may help, and Godot does (recently) use for reducing TileMapLayer collision complexity. It is usually the first step to optimizing voxel…

Z index doesnt work

its 15 bodyparts in a character… those bodyParts update position/bones/etc… when nextFrame == true I dont know why the moveChild() is too slow, sometimes i can see a leftArm in Front of the Torso, then in the next frame the leftArm is already in its right position ( behind the torso ). with changing z_index this problem doesnt happen ( i dont know why its faster ). you can change whatever z index you want in the nodes inside viewPort. They wont show behind or in front ofa background of z index 0

[Resources] Massive 2D Asset Bundle for Game Jams + A Spooky HTML5 Minigame!

Hey Godot Community! ​I’m a solo student indie dev. I know how crucial good 2D art is when prototyping in Godot, especially if you are participating in any October Game Jams. ​To help out the community (and to help fund my college tuition this month), I’ve put my entire premium 2D asset catalog on a massive 50% OFF sale for just $2.50. All the 2D sprites are engine-agnostic and ready to be dropped into your Godot projects! ​ What’s in the $2.50 Bundle: ​ Complete 2D Soccer Kit: 12 Stadiums, 13…

Z index doesnt work

jonPS: I cant move them in the tree without making the performance fall from 200fps to 8 fps, with 10 characters on screen… What do you mean? How are you updating their position in the tree? How is using a viewport a solution? Are you sure you can’t re-work the scene nodes re-parenting them as needed and using show_behind_parent instead?

Trouble implementing $LineEdit.grab_focus()

func _unhandled_input shouldn’t recieve inputs if your line edit is currently consuming them. But I assume you are using Input.get_vector as part of your _physics_process. You may need to check if any gui has focus at that point in your code. func _physics_process(delta: float) -> void: var input_dir := Input.get_vector(...) var focused_node: Control = get_viewport().gui_get_focus_owner() if focused_node != null and focused_node is LineEdit: input_dir = Vector2.ZERO If this doesn’t help then…