This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-02-08 01:46:55

Bombguy2010
New Scratcher
Registered: 2013-02-08
Posts: 17

how to you only select from a certain range of costumes?

for example, if im walking i would use 'next costume', however i also need dying costume, but i don't want that to be included when im walking and switching costumes.

Offline

 

#2 2013-02-08 11:45:58

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: how to you only select from a certain range of costumes?

make variable Costume Switch set to 1
switch to first costume in sequence (whichever that happens to be)
every time you switch to next costume, change Costume Switch by 1
if Costume Switch > (# costumes used for this sequence) switch back to first costume

of course, you have to group costumes together logically but this way, you can have all your sequences in one sprite


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

Board footer