Discuss Scratch

Happynyss
Scratcher
8 posts

Why are the first few costumes getting left out in my animation?

The first 3 costumes get completely skipped over in my animation. I'm guessing maybe it has something to do with my timer code (idk if it's actually called that), but idk how to fix it. Could someone help me figure out the problem?

Here is a link to the project: https://scratch.mit.edu/projects/992082324

I'm terrible at coding, but I love animating
o97doge
Scratcher
500+ posts

Why are the first few costumes getting left out in my animation?

Add this code:
when green flag clicked
switch costume to [That%27s+A+Woman%3F v]
Edit: This initializes the project by setting the sprite to the first costume.

Last edited by o97doge (March 30, 2024 02:47:22)


Everything below this point is not part of the post above, as everything beyond this point is a signature.
SHIFT+DOWN or addon

The aesthetic community is discovering the forums?!?!?!?!?
I feel by next year we wont have the forums anymore, I'm not joking.
How did you find out about the Discussion Forums?
Try out LibreKitten, my TurboWarp mod.

I found this masterpiece of a post:

Gamer_Logan819 wrote:

(#7)

EDawg2011 wrote:

Gamer_Logan819 wrote:

I think it’s snap!.
This is Scratch, not Snap.
Is that the case though? Is it really? Or is it just a figment of your imagination? What if scratch never existed, and you’re just hallucinating? All of these people you’ve met, they might not be anything more than a figment of your imagination? And now that you know this, you have to ask yourself the question: is scratch real? Are you truly on an online platform named scratch? Or are you dreaming, seeing this so-called “programming for kids platform” in a completely different way from everybody else? How can you fully be sure you’re not hallucinating? How can you be so sure that there is a real thing called scratch?

(>:3)::boolean #000000 // this is my evil kumquat generator, this is where all the evil kumquats come from.
(>:3)
(>:3)
(>:3)

a woam ate the rest of my signature
Happynyss
Scratcher
8 posts

Why are the first few costumes getting left out in my animation?

o97doge wrote:

Add this code:
when green flag clicked
switch costume to [That%27s+A+Woman%3F v]
Edit: This initializes the project by setting the sprite to the first costume.

I added it, but it didn't seem to work. It works when I play the project from the “see what's inside” page, but when I play it on the normal project page it still skips over the first three costumes.

I'm terrible at coding, but I love animating
argentum47
Scratcher
68 posts

Why are the first few costumes getting left out in my animation?

At this point it's probably interpreter bugs that are causing issues.

Hi! Wanna play my games? Or how about looking at some art?
LINGUISTICS! /WⱭNT SɅM/!
Happynyss
Scratcher
8 posts

Why are the first few costumes getting left out in my animation?

I think I kinda fixed it. I had put the wrong time on one of the timer thingys, and that seemed to fix the problem. But now the last few costumes are getting left out instead. I'll keep trying to fix it though.

EDIT: Nvm… it's back to leaving the first few costumes out again.

EDIT2: I realized if you click the flag several times really fast, it'll work properly, so it's all good now ig.

Last edited by Happynyss (March 30, 2024 03:41:07)


I'm terrible at coding, but I love animating
Vaibhs11
Scratcher
1000+ posts

Why are the first few costumes getting left out in my animation?

Happynyss wrote:

EDIT2: I realized if you click the flag several times really fast, it'll work properly, so it's all good now ig.
Yeah, you might need a notice on the description of the project saying to click to click the flag twice. It's a common thing especially on animation projects. I think the problem is that the timer starts when the site is loaded, so when you start the project, the timer has already gone past some frames.
Happynyss
Scratcher
8 posts

Why are the first few costumes getting left out in my animation?

Vaibhs11 wrote:

Happynyss wrote:

EDIT2: I realized if you click the flag several times really fast, it'll work properly, so it's all good now ig.
Yeah, you might need a notice on the description of the project saying to click to click the flag twice. It's a common thing especially on animation projects. I think the problem is that the timer starts when the site is loaded, so when you start the project, the timer has already gone past some frames.

Ah, that would make sense. And I already made sure to leave a notice.

Last edited by Happynyss (March 30, 2024 03:56:24)


I'm terrible at coding, but I love animating

Powered by DjangoBB