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

#876 2010-08-09 01:36:18

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: Cool custom blocks in Scratch

go into scriptableScratchMorph blockspecs


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#877 2010-08-09 03:04:22

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Cool custom blocks in Scratch

Under the sprite and stage!


You can now reach me on Twitter @johnnydean1_

Offline

 

#878 2010-08-09 03:12:49

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: Cool custom blocks in Scratch

johnnydean1 wrote:

Under the sprite and stage!

lol no, it's just under scriptableScratchMorph


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#879 2010-08-09 04:41:31

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

yeah. they're actually the first in the list  smile

Offline

 

#880 2010-08-09 18:07:56

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Cool custom blocks in Scratch

May I make a Bingo suggestion. Your run squeak block, you should have 2
| run squeak %s |

and

( run squeak %s )


You can now reach me on Twitter @johnnydean1_

Offline

 

#881 2010-08-10 03:50:43

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

@post above
i already thought of that. in fact i made it. but then i deleted it again. took up too much space. you can still do it though, just set a variable to it like
vars at: 1 put: (value to report).

Offline

 

#882 2010-08-10 05:51:30

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

Block help please...

Can anybody do code for:
('play note %N until %b' #- #whateverNameIsAppropriateHere)
and the corresponding drum block,
and also:
('for each item in list %L' #c #appropriateName)
('current item' #r #nameHere)

I know the last two blocks can already be done with a standard Scratch script, so please don't point that out.


/* No comment */

Offline

 

#883 2010-08-10 06:24:58

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Cool custom blocks in Scratch

what do you mean current item?


You can now reach me on Twitter @johnnydean1_

Offline

 

#884 2010-08-10 06:27:13

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

johnnydean1 wrote:

what do you mean current item?

I mean the current list item from the previous loop block.


/* No comment */

Offline

 

#885 2010-08-10 06:35:33

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

the first one can't be done with my knowledge (well, i didn't even look at those scripts tbh)
the second is TOTALLY unnecessary. it's just pure laziness not to put repeat (length of list).
the third is... not understandable. if you mean it to go with the block above that, just use a normal variable and change variable by 1 at the end of the loop.

Offline

 

#886 2010-08-10 07:39:46

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: Cool custom blocks in Scratch

Yay! I scripted a clock with the "get [ ]" block.

http://i38.tinypic.com/25fkego.jpg


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&online=http://lemonfanatic.webs.com/ONLINE.png&offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#887 2010-08-10 08:33:12

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

nice!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
http://blog.statcounter.com/wp-content/uploads/2007/05/500animation.gif

Offline

 

#888 2010-08-10 09:37:14

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

If squeak is repeatedly throwing a 'Buffer overflow exception' every time you move the mouse, and you can't click anything, and you don't want to lose your work, what do you do? (URGENT)

Last edited by TheSuccessor (2010-08-10 09:39:03)


/* No comment */

Offline

 

#889 2010-08-10 09:55:09

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

you have to dump all stacks. use the vm menu (F2).
if that doesnt work, just wait until it shows you some kind of error message.
if it doesnt you're ***. yep. that.

Offline

 

#890 2010-08-10 10:06:29

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

Thanks LS97, but I have turned out to be ***.
I was working on color blocks (No nXIII, I was NOT copying Panther, I worked it out all by myself) and a changed a minus to a plus somewhere.
No choice but CTRL-ALT-DELETE.
Whoops.
Thanks anyway.

Last edited by TheSuccessor (2010-08-10 10:07:11)


/* No comment */

Offline

 

#891 2010-08-10 10:20:25

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Cool custom blocks in Scratch

I know the Bingo dev password! My hint: whales!

Offline

 

#892 2010-08-10 10:35:53

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

Billybob-Mario wrote:

I know the Bingo dev password! My hint: removed by lS97!

yeah, good, good. hard to guess anyway.

Offline

 

#893 2010-08-10 10:37:25

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

Thanks LS97, but I have turned out to be ***.
I was working on color blocks (No nXIII, I was NOT copying Panther, I worked it out all by myself) and a changed a minus to a plus somewhere.
No choice but CTRL-ALT-DELETE.
Whoops.
Thanks anyway.

i know, it's pretty anoying. but wait!
you can recover the work! use the changes file!

btw, when i first saw panther's color blocks, i thought it would be impossible for me. but then i realized it's pretty easy in fact!

Offline

 

#894 2010-08-10 10:52:34

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

I know, it is easy, you just add another set of capabilities to ReporterBlockMorph, and tell ColorArgMorph it accepts color blocks. I've finished now.  smile


/* No comment */

Offline

 

#895 2010-08-10 10:57:29

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch


/* No comment */

Offline

 

#896 2010-08-10 11:06:30

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

Billybob-Mario wrote:

I know the Bingo dev password! My hint: whales!

How did you get in? I used the 'run _ as smalltalk code' block. Most hack scripts are blocked, but I know one that for some reason isn't.


/* No comment */

Offline

 

#897 2010-08-10 11:23:14

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

Billybob-Mario wrote:

I know the Bingo dev password! My hint: whales!

How did you get in? I used the 'run _ as smalltalk code' block. Most hack scripts are blocked, but I know one that for some reason isn't.

I made an error by making a tiny dot, than making it the largest size, than switching the costume to a bigger thing.

Offline

 

#898 2010-08-10 13:28:04

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: Cool custom blocks in Scratch

LS97 wrote:

nice!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
500th POST!!!!
http://blog.statcounter.com/wp-content/ … mation.gif

what, my clock?


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&online=http://lemonfanatic.webs.com/ONLINE.png&offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#899 2010-08-10 16:27:04

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: Cool custom blocks in Scratch

Sperry wrote:

Great! I like it! One suggestion for your mousePressed block. I would suggest
^ false
instead of
^ Sensor redButtonPressed

If it even got as far as the last part, it should return false since it doesn't know what your talking about, why test some stuff that is jargon?

redButtonPressed is Squeak jargon for the left mouse button!


Yawn, another boring text signature. I should really make something better.

Offline

 

#900 2010-08-12 11:00:40

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

How come in everybody's mods the variable blocks show all the time, even when there are no variables?


/* No comment */

Offline

 

Board footer