Have one module that handles the logic and plays the animation related to that, for example the sliding have the logic and the animation inside one function, would make your workspace cleaner, and you wouldn’t have too much to look into if something errored.
I honestly prefer to get separated modules so i can just update my code whatever i want
since everything in one module would be a mess for me specially for big projects this will lead you in trouble
Uhh, animations are usually played on client, better idea is to call animation from logic module or smth
Note: Modules should be used to group similar functions, for example creating hitbox for projectiles and melee, or maybe calculating quad and cubic beziers
True but the practice honestly based on the project itself , however i prefer separated modules it’s easier to organize for me it’s good for teamwork as well