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

#1 2007-12-18 18:39:24

Smartone
Scratcher
Registered: 2007-11-28
Posts: 15

Previous Costume

There should be a previous costume script because otherwise you have to create many scripts to make it go back. It would be appreciated!

Offline

 

#2 2007-12-18 19:10:34

Jman720
Scratcher
Registered: 2007-11-27
Posts: 1000+

Re: Previous Costume

agreed


Solve for x
2+3+2+(-9)+1x+2x=7

Offline

 

#3 2007-12-18 20:51:44

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Previous Costume

You can now (in v1.2.1) do
   switch to costume (costume#) -1

Offline

 

#4 2007-12-19 14:36:46

Smartone
Scratcher
Registered: 2007-11-28
Posts: 15

Re: Previous Costume

Oh cool!

Offline

 

#5 2008-01-24 16:17:52

ML1
Scratcher
Registered: 2007-08-28
Posts: 65

Re: Previous Costume

kevin_karplus wrote:

You can now (in v1.2.1) do
   switch to costume (costume#) -1

That is true, but I think that is better to there is <Previous costume> beacuse there is <Next costume>, and changing sprite costume will be easier.

Offline

 

#6 2008-01-24 20:44:59

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Previous Costume

Creating lots of new blocks for things that can be done fairly easily already is not going to help people learn the language or learn how to program well.  New blocks should be used for things that are *hard* to do now or that make the language smaller and simpler to learn.

Sometimes there are difficult tradeoffs.  Is 'next costume" worth keeping when
   set costume to costume# +1
is easy?  Probably, for the very beginner who is trying to do their very first animation, and is still struggling with the notion of getting the illusion of motion by changing costumes.  But "previous costume" isn't needed by that beginner.  By the time they are ready for "previous costume" they're probably ready for the more general and power concept of costume numbers.

Of course, some people will want shorthand ways to express things that they use a lot, which is why I like the idea of user-definable blocks.  I would have no problem with a user defining "previous costume" and using it, if they found it helped them write code more easily.

Offline

 

#7 2010-11-10 13:15:14

FLUDD
Scratcher
Registered: 2010-05-24
Posts: 11

Re: Previous Costume

http://scratch.mit.edu/projects/FLUDD/1406973
just use [blocks]<switch to costume[ ((  <costume number-1>  )) [/blocks]

Offline

 

#8 2010-11-10 14:43:51

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Previous Costume

FLUDD wrote:

http://scratch.mit.edu/projects/FLUDD/1406973
just use [blocks]<switch to costume[ ((  <costume number-1>  )) [/blocks]

Please do not move old threads (this one is from 2008) to the top of the forum when the issue has been resolved.

Thanks  smile


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

Board footer