mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

9K
active users

#gdscript

2 posts2 participants0 posts today

In #Godot, if I want a certain node to have custom properties, act a certain way, etc., I can attach a script to it.

If I want other nodes of the same type to act the same way, I can attach the same script to them.

But what if I have a LOT of these types of nodes? Is there a way to write a script so that a certain node type automatically inherits from it? I want to avoid attaching a script to each node if possible...

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.

I have a 'button' in my #Godot app that I want to make into a scene (it has various containers that make it up) and then instantiate multiple times. Each time I instantiate it I want to be able to set custom textures for the button states, and then have a custom script/function that runs when the button is pressed.

How best to do this?

For the textures I can use exported variables, but what about the script/function? How to customise that each time?