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

#1 2009-09-18 14:43:29

Hazzer1
Scratcher
Registered: 2009-07-21
Posts: 1

How can I do the reverse of next costume?

Im trying 2 make a game which i need 2 use next costume and (back costume).

Offline

 

#2 2009-09-18 15:06:28

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: How can I do the reverse of next costume?

Well what I would do is create a variable (Ill call it forum for now) and then make these scripts  smile

Forever
Switch to costume "forum"

Then use things like
"Change forum by 1" to go forward a costume
and
"Change forum by -1" to go backward a cosume

smile


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#3 2009-09-18 15:34:58

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: How can I do the reverse of next costume?

06dknibbs wrote:

Well what I would do is create a variable (Ill call it forum for now) and then make these scripts  smile

Forever
Switch to costume "forum"

Then use things like
"Change forum by 1" to go forward a costume
and
"Change forum by -1" to go backward a cosume

smile

Or, you could do this:

<when green flag clicked>

<forever>

<next costume>

<switch to costume[      ((   Costume# (An actual Block)   <->     1      ))

Offline

 

#4 2009-09-18 16:36:13

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: How can I do the reverse of next costume?

Either way works  smile  I just prefer the way I suggested as it helps me keep track a little more xD


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

Board footer