masto.es es uno de los varios servidores independientes de Mastodon que puedes usar para participar en el fediverso.
Bienvenidos a masto.es, el mayor servidor de Mastodon para hispanohablantes de temática general. Registros limitados actualmente a invitaciones.

Administrado por:

Estadísticas del servidor:

1,9 K
usuarios activos

#gdscript

0 publicaciones0 participantes0 publicaciones hoy

Let's say I have a PhysicsRayQueryParameters3D and it returned a collider.
I want to check if the colliding object is interactable or not.

If I were to write it in Java, it would be done just by introducing Interactable interface and checking the collider is of that interface or not.
However, gdscript does not have interface and forbids multiple inheritance.

So... what should I do?
My current implementation checks if collider has expected methods or not.

Since a couple months I'm finally creating small games with @godotengine@mastodon.gamedev.place for a living (besides the usual sometimes boring web-developer stuff) as #kiosk applications in #exhibitions and #museums. After all these years wrangling code I really enjoy working in the visual #godot editor and with #gdscript. The docs are superb, things work like expected, batteries are included and the community has tons of ressources to learn from and reuse. Thanks to all the people that create this engine and are part of that community.

I hope that I can soon show some examples of the games we've created.

Just published a Godot singleton for enforcing abstract functions in GDScript + a Promise helper for async workflows.
Useful if you're tired of forgetting to implement fully classes extending from what should to be an abstract class.

Check it out 👉 github.com/kubecz3k/gdscript-l

It originates from github.com/MSEP-one/msep.one for which it has been written originally
#GodotEngine #GDScript #GodotTools #GameDev

GitHubGitHub - kubecz3k/gdscript-language-extension: Provides gdscript features which are not normally part of the languageProvides gdscript features which are not normally part of the language - kubecz3k/gdscript-language-extension

If I have multiple Path2D nodes starting or ending at the same point, how do I get an array of them?

I have a piece that moves along the bottom path up towards the centre. I then want to get a list of other paths at that point so I can decide which of them the piece will continue moving along...

How do I get a list of paths that have a point at a given location?

Hey I'm still looking for work.
I've applied to a lot of places in my area and I'm getting nothing.

I'm a programmer at heart, but I've also been looking for regular entry-level jobs because there haven't been any coding positions open at my level as far as I could tell.

If you can offer me a job, it might save my butt. And if you can't offer me a job, could you at least share this post?

I live 30 minutes away from Bellevue if that helps.