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

#1 2010-06-15 14:11:52

TheAurajackal
Scratcher
Registered: 2010-03-16
Posts: 11

New block ideas

<show all sprites>
<hide all sprites>
<layers>
<repeat for ___ seconds(
<key[ctrl, enter,alt ]pressed?>

Offline

 

#2 2010-06-15 14:18:19

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: New block ideas

TheAurajackal wrote:

<show all sprites>
<hide all sprites>
<layers>
<repeat for ___ seconds(
<key[ctrl, enter,alt ] pressed?>

Some of those would be nice additions ^^ I especially like "repeat for () seconds" - that would help when you want to get timings juuust right  big_smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#3 2010-06-15 14:26:59

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: New block ideas

TheAurajackal wrote:

<show all sprites>
<hide all sprites>
<layers>
<repeat for ___ seconds(
<key[ctrl, enter,alt ]pressed?>

I like the last two a lot. If you want to start a discussion about it, though, you should make another thread. That way the conversation doesn't get sidetracked.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#4 2010-06-15 14:56:08

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: New block ideas

fullmoon wrote:

TheAurajackal wrote:

<show all sprites>
<hide all sprites>
<layers>
<repeat for ___ seconds(
<key[ctrl, enter,alt ]pressed?>

I like the last two a lot. If you want to start a discussion about it, though, you should make another thread. That way the conversation doesn't get sidetracked.

I've never done this before, but I think I can turn this sub-conversation into a new topic... I'll try  smile

EDIT: It worked!  big_smile

@TheAurajackal: I turned your post into a new topic - that way, the conversations won't get confused  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#5 2010-06-15 14:57:19

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: New block ideas

Wolfie1996 wrote:

fullmoon wrote:

TheAurajackal wrote:

<show all sprites>
<hide all sprites>
<layers>
<repeat for ___ seconds(
<key[ctrl, enter,alt ]pressed?>

I like the last two a lot. If you want to start a discussion about it, though, you should make another thread. That way the conversation doesn't get sidetracked.

I've never done this before, but I think I can turn this sub-conversation into a new topic... I'll try  smile

That was disorienting, but really cool!


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#6 2010-06-15 15:18:37

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: New block ideas

fullmoon wrote:

That was disorienting, but really cool!

Thanks! (and I'm not even the mod in charge of illusions  tongue  I'm on cupcake duty.) Anyway... back on topic...

I support this idea!  big_smile

Oh, and, TheAurajackal, if you don't like the thread title I gave you, I can change it - just tell me what to change it to, and I'll take care of it  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#7 2010-06-15 17:26:43

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: New block ideas

But for the repeat _ seconds block, what would happen if you had a really long script inside that was still running and the seconds ran out?


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#8 2010-06-15 17:39:03

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: New block ideas

Greatdane wrote:

But for the repeat _ seconds block, what would happen if you had a really long script inside that was still running and the seconds ran out?

My guess is that it would continue until the script is finished.

I really like these ideas!

Offline

 

#9 2010-06-26 21:44:31

blackthunder
Scratcher
Registered: 2010-04-04
Posts: 14

Re: New block ideas

How about a script in the sense group that says <when I receive( )>? That would be really helpful, Don`t you think? for instance, what if you wanted a music in a cirtain place, but not in another? you could do repeat until I receive( ) Then play sound () When I receive () then set music volume to 0.

Last edited by blackthunder (2010-07-06 20:43:18)

Offline

 

#10 2010-06-26 21:49:50

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: New block ideas

blackthunder wrote:

How about a script in the sense group that says <when I receive(? That would be really helpful, Don`t you think? for instance, what if you wanted a music in a cirtain place, but not in another? you could do repeat until I receive( ) Then play sound () Whan I receive () then set nusic volume to 0.

Well, that wouldn't work because "When I Recieve" isn't boolean; meaning it's not just true or false because it's more of an event than a state.

"I am recieving" or "I have recieved" work, though, so I'd be content with those.

Of course, the purpose of Scratch is to teach programming, and in real programming, not every possible function is handed to you on a silver platter, so the workaround(s) required do teach good programming skills.

Offline

 

#11 2010-07-06 20:42:22

blackthunder
Scratcher
Registered: 2010-04-04
Posts: 14

Re: New block ideas

but would you be able to make this on newer versions of scratch? It would be really helpful if you could.

Offline

 

#12 2010-07-06 21:35:06

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: New block ideas

blackthunder wrote:

but would you be able to make this on newer versions of scratch? It would be really helpful if you could.

How do you mean? I don't quite understand...

Offline

 

#13 2010-07-07 08:33:12

frogger3140
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: New block ideas

Great blocks:
[blocks]
<play sound[  ] transposed ()>
<play sound[  ] transposed () and wait>
[/blocks]

Last edited by frogger3140 (2010-07-07 08:33:24)


http://j.mp/piBfFy
Woo, even better minecraft clone! | I feel that programming is better than animation, because you can interact with games but not animations.

Offline

 

#14 2010-07-07 12:55:29

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: New block ideas

frogger3140 wrote:

Great blocks:
[blocks]
<play sound[  ] transposed ()>
<play sound[  ] transposed () and wait>
[/blocks]

Well, it's be quite difficult to automatically transpose songs to key "x" because the computer probably doesn't recognize what key it's in  smile

But maybe to change the pitch by x amount?

Offline

 

#15 2010-07-08 00:33:33

Chocolate331
Scratcher
Registered: 2010-02-28
Posts: 18

Re: New block ideas

It would be good if you could if you could add a 'Start sound at 0:30 point in the sound category. Because if I stop a sound, it has to restart, but with games with time limit, the music must continue from where it last stopped.

Offline

 

#16 2010-07-08 14:35:53

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: New block ideas

TheAurajackal wrote:

<key[ctrl, enter,alt ] pressed?>

I don't think Enter is going to be added to the key list unless its current function as triggering the green flag is removed. Wait a sec! *slaps forehead* Just use the "when green flag clicked" hat block for "when [enter] key pressed" and... never mind, explaining it would take a while and spoil stuff  tongue


Yawn.

Offline

 

#17 2010-07-12 12:03:23

blackthunder
Scratcher
Registered: 2010-04-04
Posts: 14

Re: New block ideas

how about a block like this? Set volume of sound () To ()?

Offline

 

#18 2010-07-12 12:04:29

blackthunder
Scratcher
Registered: 2010-04-04
Posts: 14

Re: New block ideas

coolstuff wrote:

blackthunder wrote:

but would you be able to make this on newer versions of scratch? It would be really helpful if you could.

How do you mean? I don't quite understand...

Oh, never mind. forget it.

Offline

 

Board footer