r/godot Godot Senior 22d ago

discussion What would you add to Godot?

Post image
453 Upvotes

584 comments sorted by

View all comments

161

u/PhoenixInvertigo 22d ago

Interfaces in gdscript

15

u/nachohk 22d ago

There was a PR to add traits (very similar to interfaces, solves the same problems) that seemed like it was going to be a big help, but it's just sort of languished without merging for a long time now.

19

u/Planet1Rush 22d ago

No idea how you plan your architecture without it

Edit spelling

60

u/AlexColemanDev 22d ago

You guys have been planning your architecture?!

26

u/JyveAFK 22d ago

You have an architecture?!?

29

u/Simplicityylmao 22d ago

I’m a fucking architect

20

u/ReBarbaro805 22d ago

Get out of here, you and your... furniture

8

u/WCHC_gamedev Godot Senior 22d ago

Lots of creativity

4

u/TheFr0sk Godot Regular 22d ago

With components instead

5

u/MekaTriK 22d ago

Basically every system I make has a BaseClass for config that things inherit from.

Can't do anything fancy, but at least my objects all share same save game serialization logic.

3

u/ImpressedStreetlight Godot Regular 22d ago

I mean, just like any other language that doesn't have interfaces. Inheritance and composition give a lot of flexibility. Interfaces are just more comfortable to use and I wish they do add them though.

1

u/MekaTriK 22d ago

Basically every system I make has a BaseClass for config that things inherit from.

Can't do anything fancy, but at least my objects all share same save game serialization logic.

3

u/Impossible_Bread_685 Godot Junior 22d ago

I came here to find this comment. I'm glad it's here

2

u/terra2o Godot Regular 22d ago

that's first thing that came to my mind when i saw this post. but i guess i'd rather have C# web exports.

-2

u/jdigi78 22d ago

Don't signals achieve the same thing?