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

#26 2010-03-31 20:33:02

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: Most Useful/Useless Block

floatingmagictree wrote:

littletonkslover wrote:

Most useful: Broadcast
Least Useful: Forever...?

Forever is extremely useful. Of course, you really wouldn't need it in one of your animations, unless you were looping something.

I'm not a fan of random looping animations. After seeing the stick man blowing up 30 times.....


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#27 2010-03-31 20:35:44

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: Most Useful/Useless Block

littletonkslover wrote:

floatingmagictree wrote:

littletonkslover wrote:

Most useful: Broadcast
Least Useful: Forever...?

Forever is extremely useful. Of course, you really wouldn't need it in one of your animations, unless you were looping something.

I'm not a fan of random looping animations. After seeing the stick man blowing up 30 times.....

Where did you see a stickman blow up 30 times?

Offline

 

#28 2010-03-31 20:40:28

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: Most Useful/Useless Block

floatingmagictree wrote:

littletonkslover wrote:

floatingmagictree wrote:

Forever is extremely useful. Of course, you really wouldn't need it in one of your animations, unless you were looping something.

I'm not a fan of random looping animations. After seeing the stick man blowing up 30 times.....

Where did you see a stickman blow up 30 times?

*waz example*


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#29 2010-03-31 20:48:59

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: Most Useful/Useless Block

littletonkslover wrote:

floatingmagictree wrote:

littletonkslover wrote:


I'm not a fan of random looping animations. After seeing the stick man blowing up 30 times.....

Where did you see a stickman blow up 30 times?

*waz example*

?

Offline

 

#30 2010-03-31 20:51:30

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Most Useful/Useless Block

I think Forever If is extremely useful.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#31 2010-03-31 20:54:48

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Most Useful/Useless Block

PinballFreak1969 wrote:

() MOD () is very useful sometimes.

When? When do you need the remainder of something?


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#32 2010-03-31 21:25:08

PinballFreak1969
Scratcher
Registered: 2010-03-26
Posts: 100+

Re: Most Useful/Useless Block

Getting tired every hundred steps and needing to rest.

Offline

 

#33 2010-03-31 21:25:38

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Most Useful/Useless Block

archmage wrote:

No, its definitely forever wait until. I think the scratch team confirmed it in some post.

*Ahem*
Run in single stepping. They both do *EXACTLY* the same thing. This is one of the most pointless arguments I've ever had.


nXIII

Offline

 

#34 2010-03-31 21:25:58

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: Most Useful/Useless Block

floatingmagictree wrote:

littletonkslover wrote:

floatingmagictree wrote:


Where did you see a stickman blow up 30 times?

*waz example*

?

XD The stick man was an example.


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#35 2010-03-31 21:26:54

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Most Useful/Useless Block

Kileymeister wrote:

Most Useful:  Broadcast (it isn't most necessary, people)
Least Useful:  ( )mod( )  I've never had to use it.  Ever.  Forever If starts bad habits but can be useful once in a while.

Forever if doesn't start bad habits...?
And mod is EXTREMELY useful!


nXIII

Offline

 

#36 2010-03-31 21:27:05

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Most Useful/Useless Block

PinballFreak1969 wrote:

Getting tired every hundred steps and needing to rest.

First off, how?
If (steps)mod(100)=0?
Ok,
If (steps)=100.  A lot simpler.

Last edited by Kileymeister (2010-03-31 21:27:42)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#37 2010-03-31 21:30:19

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Most Useful/Useless Block

Kileymeister wrote:

PinballFreak1969 wrote:

Getting tired every hundred steps and needing to rest.

First off, how?
If (steps)mod(100)=0?
Ok,
If (steps)=100.  A lot simpler.

no, but look at this:
set (steps) to ((steps) mod (100))
if ((steps)=(99))
Will never go above 99

And plus, your example doesn't get tired every hundred steps, it gets tired AT 100 steps, not 200, not 300, not 400, just 100.

Last edited by nXIII (2010-03-31 21:31:15)


nXIII

Offline

 

#38 2010-03-31 21:32:38

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Most Useful/Useless Block

nXIII wrote:

Kileymeister wrote:

PinballFreak1969 wrote:

Getting tired every hundred steps and needing to rest.

First off, how?
If (steps)mod(100)=0?
Ok,
If (steps)=100.  A lot simpler.

no, but look at this:
set (steps) to ((steps) mod (100))
if ((steps)=(99))
Will never go above 99

And plus, your example doesn't get tired every hundred steps, it gets tired AT 100 steps, not 200, not 300, not 400, just 100.

But then it resets to 0.

If (steps)=100
set (steps) to 0.

EDIT: Wait a minute... this block could actually be useful... nevermind what I said before.

Last edited by Kileymeister (2010-03-31 21:38:07)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#39 2010-03-31 21:55:56

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Most Useful/Useless Block

Kileymeister wrote:

nXIII wrote:

Kileymeister wrote:

First off, how?
If (steps)mod(100)=0?
Ok,
If (steps)=100.  A lot simpler.

no, but look at this:
set (steps) to ((steps) mod (100))
if ((steps)=(99))
Will never go above 99

And plus, your example doesn't get tired every hundred steps, it gets tired AT 100 steps, not 200, not 300, not 400, just 100.

But then it resets to 0.

If (steps)=100
set (steps) to 0.

EDIT: Wait a minute... this block could actually be useful... nevermind what I said before.

Rounding Up/Down:
  (( someFloat <-> (( someFloat <mod> 1 )) ))[/blocks]
rounds down

  (( someFloat <+> (( 1 <-> (( someFloat <mod> 1 )) )) ))[/blocks]
rounds up

Last edited by nXIII (2010-03-31 21:56:18)


nXIII

Offline

 

#40 2010-03-31 22:11:44

PinballFreak1969
Scratcher
Registered: 2010-03-26
Posts: 100+

Re: Most Useful/Useless Block

No more proving
[blocks](( 0 <mod> 0 ))[/blocks]
useful.
Back to talking about useful/useless blocks.

Last edited by PinballFreak1969 (2010-03-31 22:12:23)

Offline

 

#41 2010-03-31 23:12:47

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Most Useful/Useless Block

Forever if is definitely the most useless. As for most useful, I really don't know... I mean, it's impossible to make a functioning project with only one block...


http://i48.tinypic.com/2z5pqad.png

Offline

 

#42 2010-04-01 00:06:53

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Most Useful/Useless Block

Forever if could be done without, but I don't think any blocks are completely useless...  hmm


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

Board footer