Discuss Scratch

AnEggcelentCreator
Scratcher
3 posts

Code an idle animation

Hello,

I used Griffpatch's “Code a Platformer Game | 3. Hitboxes & Animation” tutorial for a project I'm making. In the video, he uses a single costume as the idle pose. I however have an idle animation I would like to put in the game, but don't quite know how. Could anyone help me please?

The tutorial: https://www.youtube.com/watch?v=Y6jnwkwLhto&t=1s , after 14:45.

Thank you
aammir
Scratcher
71 posts

Code an idle animation

Hi there!

Great question – extending Griffpatch's tutorial with your own idle animation is totally doable.

To give you the exact code that fits YOUR project, I'd need to see how you've set things up so far (costumes, variables, etc.).

Could you please share a link to your Scratch project? Either:
- Share the project and post the link here,

Once I see your project, I can tell you exactly where to add the idle animation code.

Thanks!
AnEggcelentCreator
Scratcher
3 posts

Code an idle animation

Hey!

It's this one: https://scratch.mit.edu/projects/1329393294

“define Set Costume” should probably be the block that needs some changing the most
aammir
Scratcher
71 posts

Code an idle animation

AnEggcelentCreator wrote:

Hey!

It's this one: https://scratch.mit.edu/projects/1329393294

“define Set Costume” should probably be the block that needs some changing the most
thx, mind if I work on it tomorrow?
AnEggcelentCreator
Scratcher
3 posts

Code an idle animation

Please take your time! Thank you for your help

Powered by DjangoBB