Godot

5929 readers
90 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

[email protected]

Credits

founded 1 year ago
MODERATORS
601
 
 

Prop Game, Chelesste, 3D Adventure Minigolf, Astrobrawl, Aether, AXIAL: Prototype, Barkelona, Knights of the Road, Bunker 21 Extended Edition

602
17
submitted 1 year ago* (last edited 1 year ago) by recursive_recursion to c/godot
 
 

With AMD's FidelityFX SDK going open source under the MIT license,
I was wondering if anyone knew how to use one of these like the blur as a shader?

603
5
Doghouse (tumblewed.itch.io)
submitted 1 year ago by [email protected] to c/godot
 
 

Doghouse is a free first-person game made with Godot. With three unique endings, it's a short yet interesting experience. Give it a try.

604
 
 

cross-posted from: https://programming.dev/post/653659

The theme of the game jam voted on by participants is Parallel Worlds

Feel free to share progress of games you're working for it around the fediverse. We have a hashtag on the microblogging platforms #FediverseJam and there are engine specific communities like godot, unity, unreal, etc. that you can find on programming.dev

The jam will last for nine days before submissions to the itch.io page close https://itch.io/jam/summer-fediverse-jam

Ill be streaming games submitted to the jam and will do a video showcasing the entries once results are out

Hope you enjoy! Ill be aiming to run these twice a year as a way to encourage some more game dev activity around the fediverse

605
4
Question on CSGs (lemmy.world)
submitted 1 year ago by [email protected] to c/godot
 
 

do I have to be concerned about csg rendering more than one face for performance

606
2
wanting to learn (lemmy.world)
submitted 1 year ago by [email protected] to c/godot
 
 

i'm bad a gdscript for Godot 4.1 and i want to improve in writing i can read it just fine just cant write it

607
5
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/godot
 
 

As in, for any two Transform3D objects A and B i might encounter does Godot (4.1) always return A * B == B * A as true? Alternatively is it approximately commutative, ie (A * B).is_equal_approx(B * A), in case there are situations where floating point imprecision messes the exact equality up.

608
609
 
 

As always with the first maintenance release (also known as “patch release”) the focus is on quickly addressing urgent concerns and issues, possible regressions and crashes, as well as some aliasing in various workflows.

610
 
 

Hello!

I made a PR to the Godot website, to include a card to this community. But they won't merge it for now unfortunately. We have to proof the longevity and spirit of the community.

So be nice and active :D

611
612
 
 

I have a simple GUI app I made in 4.0.3 and I have tried upgrading it to 4.1 but there always seems to be a scene that it says is corrupted. I have tried the upgrade a couple times and there's always one scene that doesn't work but the others will sometimes work and sometimes not.

Fixes I've tried:

  • Deleting .godot directory before upgrading/re-importing
  • Manually removing references to external resources that caused errors (textures) in the scene file
  • Re-importing textures

Any other ideas would be appreciated. It's not detrimental but I'd really like to make use of the exported Arrays of custom types.

613
 
 

Crown Gambit, The Isolated Town, Time Handlers, The Last Root, The Mirror, Rixas, Fair and Square, Out For Delivery, Dreaming Diorama, Planetary Life

614
12
GMTK 2023 godot games (norodix.itch.io)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/godot
 
 

I participated in the gmtk game jam this year. Obviously using godot. My favourite engine by far.

I didn't take it very seriously this year. I had to do most of the models alone too, so I just made a silly joke game.

If you participated too comment your game, I'd be happy to try some godot games!

615
 
 

I'll be working on my first game jam game, courtesy of my friends' brilliant ideas.

I usually stay out of them because I never could come up with any mechanics, but I asked my non game dev friends and they supplied me with some stuff to bound ideas off of.

I'm excited to use Godot because of how quickly prototyping can be done, and my idea is no more than a prototype really.

616
12
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/godot
 
 

On Windows: Open a command prompt, and type:

adb shell

Then,

adb logcat | grep godot

On Mac/Linux:
Open a terminal, and type:

adb logcat | grep godot

This will show your console in realtime. To exit, just press CTRL + C.

I've seen some people say to use the appname, like your.app.name.
If you use just your appname, you will get info about your app, but you won't get any print statements. Because print statements are only prefixed with "godot" and not your app name for some reason.
What I do is try to include "godot" in my appname, so that I get the best of both worlds.
The appname is in Export > Options > Package > Unique Name

EDIT:
You can debug Android Godot apps inside the Godot Editor just like normal Godot games by checking:
Debug > Deploy with Remote Debug
Next time you run the project on your Android device, print statements and other info will show up in the Godot Editor.

617
 
 

Welcome to the weekly discussion! This is place where you can chat about anything that may not deserve its own post

Hopefully last one I make manually before I get my bots back up

618
41
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/godot
 
 

I am happy to announce that Rider supports more autocompletion types for Godot. We have implemented NodePath and input action completion in the godot-support Plugin.

GIF

Important


This features is only available for Rider 2023.2 which is in the early access program (EAP) right now.

619
 
 

It's finally here! The wait for Godot 4.2 begins...

620
 
 

I have an addon for Godot 3 and I'd like to update it to work on Godot 4 without losing compatibility with Godot 3, I've done this in Unity using defined symbos (with #if UNITY_X_Y_OR_NEWER) I haven't found a way to do this, anyone have any idea?

621
 
 

According to Akien, this will be the final release candidate if there are no sudden major issues! Prepare to pop champagne!

622
 
 

A game my brother and I are working on, made in godot.

623
 
 

So far (outside of somehow adding it into Godot via C++ myself) this doesn't seem possible but wanted to ask to see if i maybe missed something.

The most i could find was this issue and a couple of related ones.

My specific use case would be for drawing bullet holes onto meshes (via decals). Ideally also being able to determine the texture used on the faces of the meshes that are intersected (to determine an appropriate decal to use).

Having everything that is possible to hit duplicated as a static body or area seems excessive to me. Since the only data required for ray intersection should be the transform of the meshes faces/edges/vertices etc which i would think are already contained in the mesh itself?

Failing being able to make intersecting a ray with meshes work i will probably try experimenting with using areas. They seem the lowest performance cost out of all the options the existing ray cast can detect. I would still end up with most of the games geometry being duplicated though, once as actual meshes and once as collisions for all the areas.

624
10
submitted 1 year ago* (last edited 1 year ago) by cook_pass_babtridge to c/godot
 
 

Hi everyone, first time posting here. I was going to go to Discord but thought it's better to ask somewhere that can turn up on search engines for future confused game devs.

I've got a parameterised signal listener like this:

func _on_movement_to_exit_complete(character: Node2D):
	var f = func():
		print("_on_movement_to_exit_complete: "+str(character))
		var dungeon_tilemap: TileMap = dungeon_control.get_current_dungeon_tilemap()
		var party = dungeon_tilemap.get_node("Party")
		var initial_party = dungeon_control.get_parent().get_node("InitialParty")

		party.remove_child(character)
		initial_party.add_child(character)

		if party.get_child_count() == 0:
			for party_member in initial_party.get_children():
				var tilemap_movement: TilemapMovement = party_member.get_node("TilemapMovement")
				print("Disconnecting movement finished listener for "+str(party_member))
				tilemap_movement.disconnect("movement_finished", _on_movement_to_exit_complete(character))

			load_next_level()

	return f

Basically, if all the party members have exited the level (and been removed from the 'party' node) I want to disconnect this movement_finished signal from _on_movement_to_exit_complete. But when I try this I get an error:

E 0:00:07:0777   GameControl.gd:80 @ <anonymous lambda>(): Disconnecting nonexistent signal 'movement_finished', callable: <anonymous lambda>(lambda).
  <C++ Error>    Condition "!s->slot_map.has(*p_callable.get_base_comparator())" is true.
  <C++ Source>   core/object/object.cpp:1331 @ _disconnect()
  <Stack Trace>  GameControl.gd:80 @ <anonymous lambda>()
                 TilemapMovement.gd:23 @ _on_animation_finished()

Why doesn't it think movement_finished exists? Is there something wrong with disconnecting signals from inside their listeners? And is there another way of doing this? (Maybe something like a signal that fires once then disconnects?)

This is in Godot 4 by the way.

Also, is there a way to make the posting box wider in the programming.dev web frontend? It's really hard to work with pasted code here!

625
23
submitted 1 year ago by Ategon to c/godot
view more: ‹ prev next ›