Ancestors

Toot

Written by eickot on 2025-01-23 at 18:48

@Migueldeicaza One thing for the swift-godot, I don't know if it's in the todo, or if there is some technical problem, but will be really nice, that the custom signals had same interface/behaviour than the native signals from godot. Will be super to do something like whatever.customsignal.connect { self.myReaction }, and not need all this whatever.connect(signal: Whatever.customSignal, to: self, method: "myReaction")

=> More informations about this toot | More toots from eickot@mastodon.social

Descendants

Written by eickot on 2025-01-23 at 18:49

@Migueldeicaza An extra note here, the docs on the connecting the signal, are old (or at least are different from the version in main of swiftgodot):

https://migueldeicaza.github.io/SwiftGodotDocs/documentation/swiftgodot/signals#Connecting-Everything-Together

(the name of the signal parameter is missing)

=> More informations about this toot | More toots from eickot@mastodon.social

Written by Miguel de Icaza ᯅ🍉 on 2025-01-23 at 18:56

@eickot ah I should fix that :-)

=> More informations about this toot | More toots from Migueldeicaza@mastodon.social

Written by Miguel de Icaza ᯅ🍉 on 2025-01-23 at 18:56

@eickot we already do. Did you check the docs?

=> More informations about this toot | More toots from Migueldeicaza@mastodon.social

Written by eickot on 2025-01-23 at 18:57

@Migueldeicaza I was looking at the docs, and the docs, show the interface I writed in mastodon :) and I tried to do the normal connection with the .connect and it didn't work.

=> More informations about this toot | More toots from eickot@mastodon.social

Written by Miguel de Icaza ᯅ🍉 on 2025-01-23 at 18:59

@eickot oh you know what I haven’t pushed the new docs with the new signal code. You are going to have to Read the files in git

=> More informations about this toot | More toots from Migueldeicaza@mastodon.social

Written by eickot on 2025-01-23 at 19:02

@Migueldeicaza That won't be a problem, is this repo? https://github.com/migueldeicaza/SwiftGodotDocs/tree/main I only see main branch.

=> More informations about this toot | More toots from eickot@mastodon.social

Written by Miguel de Icaza ᯅ🍉 on 2025-01-23 at 21:07

@eickot that’s the generated repo, the source of truth is SwiftGodot itself. I’ll push later torse an update

=> More informations about this toot | More toots from Migueldeicaza@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113879161830482177
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
291.641352 milliseconds
Gemini-to-HTML Time
0.978314 milliseconds

This content has been proxied by September (3851b).