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

#1 2011-02-03 07:52:47

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

This project will self destruct in 10 seconds

Yes it will! This project will actually close after 10 seconds.  big_smile
Here it is  big_smile
That is a direct download link. To view the project, click here.
It only works offline.

HOW IT WORKS:
The script:
[blocks]<when green flag clicked>
<reset timer>
<wait( 7 )secs>
<set{ var }to( 2
<repeat( <{ var }>
       <set{ var }to( (( <{ var }> <*> <{ var }> ))
       <repeat( <{ var }>
           <set{ var }to( (( <{ var }> <*> <{ var }> ))
       <end>
<end>[/blocks]

Explanation:
Wait 7 secs is because it actually takes 3 seconds to operate.
Then, it sets the variable to 2, then twice, var squared. In each is squaring var var times. That comes out to infinity. Then, Scratch crashes because it cannot compute that high. It closes.






EDIT: I made a remix that doesn't show as a remix.  hmm  It uses the same script, except a when <> is true block  yikes  at the top. Here is the project: This project will self destruct in 10 seconds (approx.) (Download) [1]  To simply view the project, click here.  wink

Here is the new script:

Code:

when <<[1]=[1]> and <(var)<[2]>> is true
change [var] by (1)
reset timer
wait (7) secs
set [var] to [2]
repeat (var)
   set [var] to ((var)*(var))
  repeat (var)
     set [var] to ((var)*(var))

About that hacked hat block, in his project notes Pecola1 wrote:

The when hat block will only work if your scripts pane is set to the sprite which has the block.

The when hat block will not work if you are in presentation mode.

This block will not work online if you upload it.

This block will be obsolete in Experimental viewer.

If someone uses this block in a project and you download the project they made it in, the block will work!

Last edited by scimonster (2011-02-16 14:36:43)

Offline

 

#2 2011-02-03 10:25:35

spongeball
Scratcher
Registered: 2011-01-27
Posts: 100+

Re: This project will self destruct in 10 seconds

wow


My first ThemePack http://www.mediafire.com/?7rh6p5t7du7qj70
I am a XP/7 nerd and I'm proud.

Offline

 

#3 2011-02-03 10:41:15

PW132
Scratcher
Registered: 2009-05-16
Posts: 1000+

Re: This project will self destruct in 10 seconds

EPIC WIN!

My computer even slowed down when it got to 7!  big_smile


SCRATCH 2.0 OHHHHH MANNNNNNN
http://i18.photobucket.com/albums/b107/PsychicDeath/universe.gif

Offline

 

#4 2011-02-03 12:30:07

pikachu1337
Scratcher
Registered: 2010-09-23
Posts: 1000+

Re: This project will self destruct in 10 seconds

Lol XD awesome


http://internetometer.com/imagesmall/24779.png Help my city grow!
Welp.  Obama was elected.  Country's doomed.  Abandon ship?

Offline

 

#5 2011-02-03 15:26:51

jake451998
Scratcher
Registered: 2009-04-01
Posts: 100+

Re: This project will self destruct in 10 seconds

Awesome

Offline

 

#6 2011-02-03 15:46:05

Earthboundjeff
Scratcher
Registered: 2010-09-28
Posts: 1000+

Re: This project will self destruct in 10 seconds

Awesome!!


https://encrypted-tbn0.google.com/images?q=tbn:ANd9GcR1SONrHUmdKZXQNDgtN_vpycOOo-BDMfnlqHZRA1lMpYXhX7Jc

Offline

 

#7 2011-02-03 18:36:56

JBEAR
Scratcher
Registered: 2007-10-20
Posts: 100+

Re: This project will self destruct in 10 seconds

OMG! So cool!


Status: http://tinyurl.com/JBEAR-sOnlineStatus Latest Project: http://tinyurl.com/654uvwbhttp://s09.flagcounter.com/count/epk/bg_FF0000/txt_FF9100/border_000000/columns_8/maxflags_248/viewers_0/labels_1/pageviews_1/

Offline

 

#8 2011-02-07 06:31:08

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: This project will self destruct in 10 seconds

scimonster wrote:

I made a remix that doesn't show as a remix.  hmm

Offline

 

#9 2011-02-07 07:47:55

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: This project will self destruct in 10 seconds

scimonster wrote:

scimonster wrote:

I made a remix that doesn't show as a remix.  hmm

and that was hard getting it to work without closing!

Offline

 

#10 2011-02-07 17:51:37

Jirachiwishu
Scratcher
Registered: 2010-02-25
Posts: 25

Re: This project will self destruct in 10 seconds

Epic!


Yay.  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile : MY MINIONS! Fear me.

Offline

 

#11 2011-02-15 15:54:23

Flubbateios
Scratcher
Registered: 2011-01-16
Posts: 7

Re: This project will self destruct in 10 seconds

didn't work for me


http://scratch.mit.edu/static/icons/buddy/691496_med.png?t=2010-12-30+17%3A13%3A57

Offline

 

#12 2011-02-15 21:20:58

ian528
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: This project will self destruct in 10 seconds

Wow! This is so cool!

Offline

 

#13 2011-02-15 21:32:43

hdarken
Scratcher
Registered: 2008-06-26
Posts: 1000+

Re: This project will self destruct in 10 seconds

That's one really sick bug.  tongue


http://i.imgur.com/VskBk.png
http://i.imgur.com/tgxVZ.jpg

Offline

 

#14 2011-02-16 14:26:24

scr1bbl3
Scratcher
Registered: 2010-10-22
Posts: 10

Re: This project will self destruct in 10 seconds

Epic


Here is Black out:
[url=http://scratch.mit.edu/projects/scr1bbl3/1625078/BLACK OUT[/url]

Offline

 

#15 2011-02-25 15:40:42

Purika
Scratcher
Registered: 2011-01-26
Posts: 100+

Re: This project will self destruct in 10 seconds

I had to click the script to make it work!  big_smile


https://lh3.googleusercontent.com/-ZlPXbnYAtro/TxRNNopA6XI/AAAAAAAAAvY/worvlbyfCYI/s589/Purika.gif
If I was three birds, I could see myself fly below us!  big_smile

Offline

 

Board footer