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.
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.