SalTheThief
Member
I need help with the pseudo-code more than the actual code, I think.
I'm working on an action RPG and I want an animation script that will scale up or down based on how fast something is. For example, I want to have an attack that takes 1 second, but there is an item that increases attack speed, which now makes it half a second. Or if a player is moving very slowly it should slow down the image speed of the walk animation. What is the best way to implement something like this? Would I need two separate scripts?
I'm working on an action RPG and I want an animation script that will scale up or down based on how fast something is. For example, I want to have an attack that takes 1 second, but there is an item that increases attack speed, which now makes it half a second. Or if a player is moving very slowly it should slow down the image speed of the walk animation. What is the best way to implement something like this? Would I need two separate scripts?