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

#1 2008-01-17 17:27:34

Bluey55
Scratcher
Registered: 2007-12-14
Posts: 34

PLEASE MAKE A PROJECT THAT HAS A flip command block IN IT!!!!!!!!!

please make a project that has a flip command block PLEASE!!!!!!!!!!!!!!!!!!!!!!

Last edited by Bluey55 (2008-01-17 17:30:02)

Offline

 

#2 2008-01-17 17:47:33

dearkids
Scratcher
Registered: 2008-01-15
Posts: 97

Re: PLEASE MAKE A PROJECT THAT HAS A flip command block IN IT!!!!!!!!!

Hi bluey, im bored right now. Please shop @: http://scratch.mit.edu/galleries/view/10191


Final Fantasy VII's best characters are Cloud, Nanaki, and Cid. Don't deny it.

Offline

 

#3 2008-01-18 00:44:19

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

Re: PLEASE MAKE A PROJECT THAT HAS A flip command block IN IT!!!!!!!!!

Bluey55, are you asking the Scratch team to add a "flip" block to the scratch language?  If so, could you be more specific about what *exactly* the block would do?

Or are you asking how to make a character do a flip?
I showed one of the 5th graders in Tech Club a simple way a few weeks ago.
It consisted of two scripts.  One script did a slow rotation:

repeat 20 times
    turn 18 degrees
    wait 0.1 seconds

The other did a pair of glides:
    glide 1 second to   Xposition+50  Yposition+100
    glide 1 second to  Xposition+50  Yposition-100

You can play around with the times, the amount to turn, and the amount to move to get somewhat different effects.  Changing the rotation center for the sprite can also change the effect.

This is not a physically realistic flip, but it works fairly well for very little code.

Offline

 

#4 2008-01-18 05:25:37

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: PLEASE MAKE A PROJECT THAT HAS A flip command block IN IT!!!!!!!!!

I think Bluey55 was refering to Jen's Flip project which shows how Scratch can be extended using Squeek.

http://scratch.mit.edu/projects/Jens/75626

This is the first of what is going to be many confused users if we continue making public "features" that don't exist in the production Scratch environment.  Somehow we need to make it clear what is production (available to everybody) and what is experimental (available only to the advanced users with Squeek coding knowlege).

Maybe a prefix on the project names, maybe more description in the Project Notes.  Ideally, there would be a separate area on the server not easily visible to the general public.   I'm all for pushing the boundaries but I don't like confusing the users.  Beginning programmers face enough confusion learning the features of the language as it was designed.  They shouldn't be further confused by experimental  work.  Something to think about.

Last edited by Paddle2See (2008-01-18 05:26:37)


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#5 2008-01-18 05:58:53

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: PLEASE MAKE A PROJECT THAT HAS A flip command block IN IT!!!!!!!!!

Oh, I didn't mean to confuse anyone with my 'flip'-tutorial, just wanted to give a very simple introduction to the Scratch source code for those who are interested in it. I'm very sorry if someone mistakes this somehow as a 'hidden feature' of Scratch. It is not! I just chose a particularly silly and easy example that would not add any novel feature to Scratch, because I didn't want to spark a discussion about the usefulness of that example block.

Also, there are no experimental features in that tutorial-project, it's just a (very simple) standard slideshow.

Bluey55:
If you want to mirror a sprite's costume or a background of the stage (like my tutorial shows) the correct way to do it in Scratch is to just make another copy of that particular costume / background, and use Scratch's paint editor to flip it horizontally (then acknowledge it by pressing the ok button). Now you have two costumes, an original one and a 'flipped' one. You can then tell your sprite to just switch to the flipped costume, or the stage to switch to the flipped background (and back again).

In other words: There is absolutely no need whatsoever for a "flip" block in Scratch, because you can already accomplish all it does with the existing Scratch blocks, and much easier so.


Jens Mönig

Offline

 

#6 2008-01-18 08:56:25

Bluey55
Scratcher
Registered: 2007-12-14
Posts: 34

Re: PLEASE MAKE A PROJECT THAT HAS A flip command block IN IT!!!!!!!!!

thank you Paddle2See very much and thank you for helping

Offline

 

Board footer