#(answered)How can make the animation frame speed change based on the main actor velocity?
1 messages · Page 1 of 1 (latest)
How can i do this?(If its possible ofc)
<@&1050648858243379231>
I'm sorry if I'm interrupting you. I did'nt mean to
Try copying the animation with diferent Speeds, and then make they change with scripts
Oh ok
already answered
you can also create a custom animation system to make it just like the sonic games, its not really that hard since you really just need a 2D array to extract the textures of each animation from and a Frame Timer that gets reduced by your speed, once its 0 you set a frame value + 1 if its not above the animation length (otherwise set the frame back to 1 to restart the animation) and the image is extracted from the array using an animation id (aka where the images of x animation are stored) and the current frame
wait that is pretty cool
i gotta try it out
thx!
(answered)How can make the animation frame speed change based on the main actor velocity?
how can i get the 2d array thing? (sorry if i'm disturbing you)
I think i'm loosing neurons
you can't use locals for it
you need a player var because locals don't support 2D arrays
also why are you extracting from the all players array instead of just using the player block
So its impossible to do it in multiplayer?
no
just get the player controlling self
you can also use a public variable