Discuss Scratch

new_just_a_stickmon
Scratcher
2 posts

how do i make a good fight fight animation code wise?

ive seen a lot of good fight scene animators like alzter and i cant really make out the code, any help?
noobthedood4
Scratcher
29 posts

how do i make a good fight fight animation code wise?

Idk usually animators will just record sounds, and animate the fights in other programs and just import them but IDK
noobthedood4
Scratcher
29 posts

how do i make a good fight fight animation code wise?

Import each frame cuz you can’t import vidds
new_just_a_stickmon
Scratcher
2 posts

how do i make a good fight fight animation code wise?

noobthedood4 wrote:

Import each frame cuz you can’t import vidds
yeah i know that they do that but i mean only code wise. like… what do they use do make the fight scene actually look good
noobthedood4
Scratcher
29 posts

how do i make a good fight fight animation code wise?

Show me an example
EpicGhoul993
Scratcher
1000+ posts

how do i make a good fight fight animation code wise?

Most dedicated animators draw frames in other applications and port them over to Scratch. Sometimes the code is just this plus proper frame rate control:
when I receive [scene v]
switch costume to [ v]
show
repeat ()
next costume
end

If you want to code animations anyway, you may want to check out smooth movement scripts.
- Bouncing uses velocity (the one you see implemented in platformers)
- Idling often uses sine and cosine:
((([sin/cos v] of (((timer) * (speed ::#777)) + (time offset ::#888))::operators) * ("bounciness?" ::#999)) + (center x/y ::#aaa))
- Moving/dragging often slows down at the end of the movement:
change x by (((target x ::#bbb) - (x position)) / (speed ::#ccc))

Powered by DjangoBB