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

#476 2011-04-17 15:58:49

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

Re: ITopic: Welcome to your local block library!

1) I already have two dropbox accounts and I can't log into more than one at once.

2) Reprogramming the block would mean that anyone with a copy of the current block would suddenly find it not working for them.

3) It's really not much of a hassel to post the Panther  block and ask me to add it to my dropbox  smile  Takes a day max!


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

Offline

 

#477 2011-04-17 19:13:52

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

^ Sorry markus, I will fix it now.

@Librarians I'm afraid that even if you have dropbox you cannot host a text file for a Panther block as the download block connects directly to my dropbox account. Someone did this with the password block mentioned above. If any more are like this please tell me so I can move the text files to my dropbox, else the download won't work  hmm

Oh, sorry that was me. I think thats the only one, the only one I ever added.


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

 

#478 2011-04-17 19:15:38

spongelove
Scratcher
Registered: 2010-02-05
Posts: 51

Re: ITopic: Welcome to your local block library!

Can I add another block?  tongue  If so..

(For BYOB)
Block:
http://img19.imageshack.us/img19/4139/blockname.gif

It gives a fractional part of a number.

Script:
http://img21.imageshack.us/img21/304/blockscriptname.gif


http://ultrarandomization.com/view/5464/.png

Offline

 

#479 2011-04-17 19:24:34

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

Re: ITopic: Welcome to your local block library!

spongelove wrote:

Can I add another block?  tongue  If so..

(For BYOB)
Block:
http://img19.imageshack.us/img19/4139/blockname.gif

It gives a fractional part of a number.

Script:
http://img21.imageshack.us/img21/304/bl … ptname.gif

We are always welcome to more blocks.


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

 

#480 2011-04-17 20:01:16

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

Re: ITopic: Welcome to your local block library!

I have a question, the # of panther blocks # of scratch & BYOB blocks, I forgot to change it cuz I didn't notice it, I added 1 to panther and 2 to scratch, did anyone change it for me? If not good. If so we need to change scratch by -2 and panther by -1. Thanks


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

 

#481 2011-04-17 23:23:34

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

Re: ITopic: Welcome to your local block library!

I didn't change it.
EDIT: I changed BYOB in the front by 2 when I added them, but forgot on the stats.  roll

Last edited by scimonster (2011-04-17 23:24:07)

Offline

 

#482 2011-04-18 00:04:41

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

Re: ITopic: Welcome to your local block library!

Run isn't working in shuffle.  hmm

Last edited by scimonster (2011-04-18 06:49:14)

Offline

 

#483 2011-04-18 06:46:54

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

Re: ITopic: Welcome to your local block library!

Right... are the stats now correct or incorrect?


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

Offline

 

#484 2011-04-18 06:48:58

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

Re: ITopic: Welcome to your local block library!

I haven't updated them. I think BYOB is 2 behind on the stats page.

Offline

 

#485 2011-04-18 06:58:13

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

Re: ITopic: Welcome to your local block library!

right... The "password for user $String$ is $String$?" is now working I think. There was a lot of stuff wrong with the coding actually, originally it gave an error because 'content' somehow appeared before the http:// address and then it always reported true. I think I've pimped it up to work now though  tongue


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

Offline

 

#486 2011-04-18 07:14:20

markus031098
Scratcher
Registered: 2009-03-02
Posts: 23

Re: ITopic: Welcome to your local block library!

Thanks for fixing it. This will be really useful to me.


My new account:
http://scratch.mit.edu/static/icons/buddy/1298169_med.png?t=2012-10-19+16%3A06%3A13

Offline

 

#487 2011-04-18 11:15:35

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

Re: ITopic: Welcome to your local block library!

markus031098 wrote:

Thanks for fixing it. This will be really useful to me.

No problem  smile


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

Offline

 

#488 2011-04-18 11:54:06

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

Re: ITopic: Welcome to your local block library!

Right, Panther block fixed and added to stats page  smile


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

Offline

 

#489 2011-04-18 21:32:03

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

Re: ITopic: Welcome to your local block library!

Hey sparks, I responded to your thread on my site.  smile


Yawn.

Offline

 

#490 2011-04-18 21:50:54

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: ITopic: Welcome to your local block library!

meowmeow55 wrote:

Hey sparks, I responded to your thread on my site.  smile

That should not be fair. The Block Library only allows like 5 people! I do not like that idea that you posted.

Offline

 

#491 2011-04-19 04:00:07

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

Re: ITopic: Welcome to your local block library!

meowmeow55 wrote:

Hey sparks, I responded to your thread on my site.  smile

Thanks very much! Until you have the upload set up I will host them somewhere else, but once it is set up we can get them to you so that we have an index on your site  smile  I really want to finish making all BYOB blocks downloadable  tongue  I'm still not sure how to make the Scratch blocks clearer and easier to add though.

I can't see where your block library group is...


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

Offline

 

#492 2011-04-19 09:59:11

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

Re: ITopic: Welcome to your local block library!

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.


Marzipan11 must learn to not spoil

Offline

 

#493 2011-04-19 14:05:19

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

Re: ITopic: Welcome to your local block library!

Yes, Pecola1's doesn't ask if you want to save. *facepalm* I used that exact code a while ago for my personal use, but didn't think of sharing it here.

Offline

 

#494 2011-04-19 19:45:18

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

I can't see where your block library group is...

Oh, woops, I forgot to set the group to show in the legend! That's fixed now. But didn't you notice your username was green?  tongue


Yawn.

Offline

 

#495 2011-04-19 20:01:16

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

Re: ITopic: Welcome to your local block library!

meowmeow55 wrote:

sparks wrote:

I can't see where your block library group is...

Oh, woops, I forgot to set the group to show in the legend! That's fixed now. But didn't you notice your username was green?  tongue

I didn't realise the colour meant anything  tongue  I'm still not sure what it is you set up though? What can I do?


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

Offline

 

#496 2011-04-19 20:57:56

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

meowmeow55 wrote:

sparks wrote:

I can't see where your block library group is...

Oh, woops, I forgot to set the group to show in the legend! That's fixed now. But didn't you notice your username was green?  tongue

I didn't realise the colour meant anything  tongue  I'm still not sure what it is you set up though? What can I do?

Nothing yet. You just have a colored username and a fancy title.  tongue
But once I get it set up, the group you're in will allow you to access an upload form to upload YSP files (BYOB sprites).


Yawn.

Offline

 

#497 2011-04-20 00:40:09

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

Hardmath123 wrote:

I condensed my list blocks into one post:

Code:

('NewList' #- #addGlobalList)

Code:

no code needed

Code:

('Add local list named %s' #- #createListNamed:)

Code:

no code needed

Code:

('Add global list named %s' #- #GLN: #MyList)

Code:

GLN: t2 
    | t1 |
    (t1 _ self ownerThatIsA: ScratchFrameMorph) ifNil: [^ self beep].
    t2 size = 0 ifTrue: [^ self].
    t1 workPane createListNamed: t2.
    t1 viewerPane categoryChanged: 'variables'

Code:

('%n root of %n' #r #root:of: 2 64)

Code:

root: t1 of: t2 
    t2 > 0 ifTrue: [^ t2 raisedTo: 1 / t1].
    ^ t2 * -1 raisedTo: 1 / t1

Anybody?


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

Offline

 

#498 2011-04-20 01:11:00

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

Hardmath123 wrote:

Hardmath123 wrote:

I condensed my list blocks into one post:

Code:

('NewList' #- #addGlobalList)

Code:

no code needed

Code:

('Add local list named %s' #- #createListNamed:)

Code:

no code needed

Code:

('Add global list named %s' #- #GLN: #MyList)

Code:

GLN: t2 
    | t1 |
    (t1 _ self ownerThatIsA: ScratchFrameMorph) ifNil: [^ self beep].
    t2 size = 0 ifTrue: [^ self].
    t1 workPane createListNamed: t2.
    t1 viewerPane categoryChanged: 'variables'

Code:

('%n root of %n' #r #root:of: 2 64)

Code:

root: t1 of: t2 
    t2 > 0 ifTrue: [^ t2 raisedTo: 1 / t1].
    ^ t2 * -1 raisedTo: 1 / t1

Anybody?

Are the last two list blocks or operators?

Offline

 

#499 2011-04-20 05:03:12

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Hardmath123 wrote:

Hardmath123 wrote:


Anybody?

Are the last two list blocks or operators?

The last one (n root) is an operator.


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

Offline

 

#500 2011-04-20 05:06:39

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

scimonster wrote:

Hardmath123 wrote:


Anybody?

Are the last two list blocks or operators?

The last one (n root) is an operator.

OK. I'm going out now but I'll add them later.  smile

Offline

 

Board footer