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

#501 2011-04-20 05:50:44

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

zorket wrote:

Quit scratch shared by Pecola1:

This block doesn't save your current progress if you are working on a project. I'm trying not to hurt Pecola1's feelings, but here is a code that asks if you want to save the project, first.

Code:

exitScratch
    | t1 |
    t1 _ self ownerThatIsA: ScratchFrameMorph.
    t1 quitScratch

If the original code did the same thing, sorry.

Well why don't we add both? We can have a "quit Scratch without saving" block and a "ask to save and quit Scratch" block  smile  They both have different uses and applications  wink


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#502 2011-04-20 10:54:31

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

Re: ITopic: Welcome to your local block library!

Yeah, do that.  big_smile

Offline

 

#503 2011-04-20 11:54:32

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: ITopic: Welcome to your local block library!

I think blocks should be grouped by type (reporter, boolean, stack, etc.), too.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#504 2011-04-20 12:11:12

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

Re: ITopic: Welcome to your local block library!

Oooh. I'll do that when I have some extra time on my hands. I'm going out (again), so not now. Next week maybe.

Offline

 

#505 2011-04-20 21:19:29

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: ITopic: Welcome to your local block library!

BYOB Block - Looks

On Rollover Change costume to [ ] if not change to [ ]
http://i.imgur.com/nfVeC.gif

Script
http://i.imgur.com/3UMz9.gif

I've already tested and is working  big_smile  - My First block too BTW


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#506 2011-04-21 01:19:01

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

Re: ITopic: Welcome to your local block library!

Matty3414 wrote:

BYOB Block - Looks

On Rollover Change costume to [ ] if not change to [ ]
http://i.imgur.com/nfVeC.gif

Script
http://i.imgur.com/3UMz9.gif

I've already tested and is working  big_smile  - My First block too BTW

Nice. I'll get on the blocklib account soon and add this and Hardmath's blocks.  smile

Offline

 

#507 2011-04-21 07:23:43

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: ITopic: Welcome to your local block library!

I have a suggestion...
There should be a
[when [var] is a slider min [] max []] block.
For panther.

Last edited by majormax (2011-04-21 07:24:07)

Offline

 

#508 2011-04-21 07:31:48

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Matty3414 wrote:

BYOB Block - Looks

On Rollover Change costume to [ ] if not change to [ ]
http://i.imgur.com/nfVeC.gif

Script
http://i.imgur.com/3UMz9.gif

I've already tested and is working  big_smile  - My First block too BTW

Nice. I'll get on the blocklib account soon and add this and Hardmath's blocks.  smile

They say custume not costume.


You can now reach me on Twitter @johnnydean1_

Offline

 

#509 2011-04-21 08:55:31

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Should we have a library for other features? I might make that...

Offline

 

#510 2011-04-21 10:24:02

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

Re: ITopic: Welcome to your local block library!

johnnydean1 wrote:

scimonster wrote:

Matty3414 wrote:

BYOB Block - Looks

On Rollover Change costume to [ ] if not change to [ ]
http://i.imgur.com/nfVeC.gif

Script
http://i.imgur.com/3UMz9.gif

I've already tested and is working  big_smile  - My First block too BTW

Nice. I'll get on the blocklib account soon and add this and Hardmath's blocks.  smile

They say custume not costume.

I'll upload the block image but leave the scripts.
EDIT: It kept resizing.  hmm

Last edited by scimonster (2011-04-21 13:35:47)

Offline

 

#511 2011-04-21 12:32:07

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

.                              http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/292223741.gif


BYOB blocks added: [1]
http://i.imgur.com/nfVeC.gif by Matty3414

Scratch blocks added: [6]
http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/1489182.gif by Hardmath123
http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/3672059.gif by Hardmath123
http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/2633125.gif by Hardmath123
http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/2305792.gif by Hardmath123
http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/8985508.gif by hello12345678910
http://welcometoyourlocalblocklibrary.weebly.com/uploads/7/1/1/0/7110842/697242.gif by zorket

Other Updates:
Put update title on weebly.
Added instructions on making a cap block in Scratch where applicable.

Update carried out by block librarian: Scimonster
________________________________________________________________________________
^home
^updates archive

Last edited by YourLocalBlockLib (2011-04-21 14:43:39)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#512 2011-04-21 14:13:54

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

I kinda wish we were using the weebly site (this) for the official block lib site.
I bet we could make it quite nice!
~~sci


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#513 2011-04-21 14:16:16

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ITopic: Welcome to your local block library!

YourLocalBlockLib wrote:

I kinda wish we were using the weebly site (this) for the official block lib site.
I bet we could make it quite nice!
~~sci

What about this?
I know, its dead.

Offline

 

#514 2011-04-21 14:19:14

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

Re: ITopic: Welcome to your local block library!

ProgrammingFreak wrote:

YourLocalBlockLib wrote:

I kinda wish we were using the weebly site (this) for the official block lib site.
I bet we could make it quite nice!
~~sci

What about this?
I know, its dead.

I know about that. They haven't even made the link go here yet.

Offline

 

#515 2011-04-21 14:24:07

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ITopic: Welcome to your local block library!

scimonster wrote:

ProgrammingFreak wrote:

YourLocalBlockLib wrote:

I kinda wish we were using the weebly site (this) for the official block lib site.
I bet we could make it quite nice!
~~sci

What about this?
I know, its dead.

I know about that. They haven't even made the link go here yet.

Oh.  tongue

Like my sig?  big_smile

Offline

 

#516 2011-04-21 14:29:13

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

YourLocalBlockLib wrote:

I kinda wish we were using the weebly site (this) for the official block lib site.
I bet we could make it quite nice!
~~sci

The point of the site was that people could upload their own blocks - all in the same manner in a form that could then be simply approved by devs before it was displayed, making our job easier, and allowing php to set search defaults for blocks including type, category, keyword, author and program. This cannot be done in weebly as php and MySQL are not allowed there.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#517 2011-04-21 14:30:24

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

sparks wrote:

YourLocalBlockLib wrote:

I kinda wish we were using the weebly site (this) for the official block lib site.
I bet we could make it quite nice!
~~sci

The point of the site was that people could upload their own blocks - all in the same manner in a form that could then be simply approved by devs before it was displayed, making our job easier, and allowing php to set search defaults for blocks including type, category, keyword, author and program. This cannot be done in weebly as php and MySQL are not allowed there.

Oh.

@PF: Yeah! Now Sparks should start...  tongue
~~sci

Last edited by YourLocalBlockLib (2011-04-21 14:31:04)


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#518 2011-04-21 14:38:46

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

hint hint there?  tongue


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#519 2011-04-21 14:52:23

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

hint hint there?  tongue

Oh no.  tongue
But you have posted in other forums. See your list of postswink

Offline

 

#520 2011-04-21 17:40:46

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Welcome to your local block library!

scimonster wrote:

sparks wrote:

hint hint there?  tongue

Oh no.  tongue
But you have posted in other forums. See your list of postswink

... I had no idea you could do that. You watch me a little too closely....


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#521 2011-04-21 17:50:22

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: ITopic: Welcome to your local block library!

zorket wrote:

Quit scratch shared by Pecola1:

This block doesn't save your current progress if you are working on a project. I'm trying not to hurt Pecola1's feelings, but here is a code that asks if you want to save the project, first.

Code:

exitScratch
    | t1 |
    t1 _ self ownerThatIsA: ScratchFrameMorph.
    t1 quitScratch

If the original code did the same thing, sorry.

I know, there is also one for making a boolean fit into it to decide weather or not you wan't to save progress, it is a little different.

blockspec

('quit Scratch %b and save for later %b' #- #quit:saveImage:)

Code:

quit: t1 saveImage: t2 
    Smalltalk snapshot: t2 andQuit: t1

When you open scratch it will be at the same EXACT position it was when it closed (if the second boolean is true.)

Again it is dinner time so i cannot put it on now.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#522 2011-04-21 21:46:47

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: ITopic: Welcome to your local block library!

Try Orangeserve Hosting, they provide unlimited space and lots of other features! I use them for my website to! Oh yea, i spelt 'Costume' wrong, i spelt 'Custume'


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#523 2011-04-21 21:54:21

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: ITopic: Welcome to your local block library!

P.S Sorry I didnt see u using FreeHostingCloud, I can design a better layout for that if you want? I'm not saying its bad, i just wanna make it the best  big_smile


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#524 2011-04-21 22:48:04

floppy_gunk
Scratcher
Registered: 2008-11-14
Posts: 500+

Re: ITopic: Welcome to your local block library!

I have some BYOB blocks:

http://img854.imageshack.us/img854/4091/3dpoint.gif
http://img714.imageshack.us/img714/9585/depth.gif
http://img163.imageshack.us/img163/3095/goto3d.gif

Sorry about using imageshack. It's the only image sharing tool I know that allows you to upload several images at the same time.

Last edited by floppy_gunk (2011-04-21 22:52:07)


http://img163.imageshack.us/img163/1917/2856lg.jpg Get it now!  smile

Offline

 

#525 2011-04-21 22:54:30

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: ITopic: Welcome to your local block library!

BYOB - Motion

If Touching [ ] Go to x: [ ] y: [ ]
http://i.imgur.com/TIk2k.gif

If Touching [ ] Go to x: [ ] y: [ ] - Script
http://i.imgur.com/p1Cvu.gif

Enjoy!


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

Board footer