this post was submitted on 16 Oct 2024
75 points (100.0% liked)

Godot

5873 readers
21 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

!roguelikedev@programming.dev

Credits

founded 1 year ago
MODERATORS
 

Here's a tutorial I wrote on using components to help keep your code organized.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] TheLongPrice@lemmy.one 1 points 3 weeks ago (1 children)

That would definitely be an improvement, using classes is probably more robust. In my case, the project wasn't too huge and it was solo, so I never hit issues with string references.

[โ€“] mrsgreenpotato@discuss.tchncs.de 1 points 2 weeks ago* (last edited 2 weeks ago)

It's a good practice to adhere to proper design patterns even on smaller projects. I also work solo on small projects :). It doesn't really cost you anything to work with classes, it'd even say it's easier once you get a hang of it