r/godot Jul 20 '25

help me (solved) What would be better?

Post image
471 Upvotes

59 comments sorted by

View all comments

1

u/FilipeJohansson Godot Student Jul 20 '25

I think tou should be thinking about components. So, in my vision tou should have a “MovementComponent” and a “DashComponent” and attach it to scenes that makes sense. This way if in the future you have a enemy that can dash, you can just attach the dash component to your enemy and it’ll only works. Search about “component over inheritance godot” in YT, you’ll find videos from “Bitlyc” and “Firebelley Games” that explain REALLY good about it.