Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Need help with character animation
- Project_Bacon
-
Scratcher
53 posts
Need help with character animation
So I'm making a game and I'm trying to implement the flash effect from the super jump in Super Mario Bros 2.
If you didn't get that, I'm trying to make it so that if you hold down for 2 seconds, the character begins to flash,
here's pretty much what I wrote, it doesn't work because when it waits 3 seconds, the character stays crouching and can't walk.
hjalp pleas
If you didn't get that, I'm trying to make it so that if you hold down for 2 seconds, the character begins to flash,
if <key [down] pressed?> then
wait (3) secs
switch costume to [charged]
end
here's pretty much what I wrote, it doesn't work because when it waits 3 seconds, the character stays crouching and can't walk.
hjalp pleas
Last edited by Project_Bacon (Dec. 22, 2021 02:01:15)
- fath11
-
Scratcher
100+ posts
Need help with character animation
try this

also, this code has to be separate from the moving code (not sure how to explain this clearly)

also, this code has to be separate from the moving code (not sure how to explain this clearly)
Last edited by fath11 (Dec. 22, 2021 02:19:04)
- Discussion Forums
- » Help with Scripts
-
» Need help with character animation

