1 Like
itâs a good start, but nesting models/anims inside a ModuleScript will make your code messy later. you should move the fireball model and animation into their own âAssetsâ folder instead of parenting them inside the script. keep logic and models separate so theyâre easier to find and clone
1 Like
No, its terrible
Have a âswitchâ dictionary storing function corresponding to each ability
That it, no need balkanizing own game
Otherwise its hard to manage, awful to performance and doesnât even scales
Keep hot variables (effects etc) on the stack of script aswell so it has a referance.
1 Like
something like this?:
abilities = {
Fire = function() ... end,
Ice = function() ... end
}
1 Like
Yes
This is much more readable and performant that way
1 Like
