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

#401 2011-04-11 11:01:03

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

Re: ITopic: Welcome to your local block library!

midnightleopard's search block isn't working!


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

Offline

 

#402 2011-04-11 12:28:35

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

to upload an image in weebly, log on then drag in a picture element from the top tool bar.  click on it and it will let you choose an image from your computer.

And how do you save it?
@Hardmath: which?

Offline

 

#403 2011-04-11 15:50:33

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

Re: ITopic: Welcome to your local block library!

ProgrammingFreak wrote:

My new BYOB block, Draw.
Oh, and the square reporter is another block without code.
http://img847.imageshack.us/img847/5325/drawblock.png

Please add mine....
I'm working on some others also....

Offline

 

#404 2011-04-11 17:08:50

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

sparks wrote:

to upload an image in weebly, log on then drag in a picture element from the top tool bar.  click on it and it will let you choose an image from your computer.

And how do you save it?
@Hardmath: which?

click "publish" in the top right corner.


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

Offline

 

#405 2011-04-11 18:29:33

Scratchycat123
Scratcher
Registered: 2010-03-19
Posts: 20

Re: ITopic: Welcome to your local block library!

I made yet another block! This one is a sensing and once again for scratch.

Name: In presentation mode?

Block spec: ('in presentation mode?' #b #inPresentationMode)

Code: no code

What it does: Reports true if the project is being veiwed in presentation mode.


http://derpy.ponychan.net/chan/files/src/134343315274.png

Offline

 

#406 2011-04-11 18:30:37

Scratchycat123
Scratcher
Registered: 2010-03-19
Posts: 20

Re: ITopic: Welcome to your local block library!

sparks wrote:

scimonster wrote:

sparks wrote:

to upload an image in weebly, log on then drag in a picture element from the top tool bar.  click on it and it will let you choose an image from your computer.

And how do you save it?
@Hardmath: which?

click "publish" in the top right corner.

Exept i don't use weebly.


http://derpy.ponychan.net/chan/files/src/134343315274.png

Offline

 

#407 2011-04-11 21:20:14

illusionist
Retired Community Moderator
Registered: 2008-07-02
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Pecola1 wrote:

Sweet. Next time, could you supply a separate image for the block itself. That way i don't have to edit it out. Thanks!
Oh... sorry to say but those are shared already, keep up the good work though!

i'm too fat and lazy for that.  tongue


http://i.imgur.com/8LX1NrV.png

Offline

 

#408 2011-04-11 21:56:52

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: ITopic: Welcome to your local block library!

scimonster wrote:

sparks wrote:

to upload an image in weebly, log on then drag in a picture element from the top tool bar.  click on it and it will let you choose an image from your computer.

And how do you save it?
@Hardmath: which?

publish it


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#409 2011-04-12 04:43:45

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

midnightleopard's search block isn't working!

The sensing one: [[google][how to tie a knot]]. I figured out the mistake: The blockspec needs to be in sensing, under scratchSpriteMorph, and the code needs to be under sensing ops in scratchSpriteMorph.


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

Offline

 

#410 2011-04-12 04:50:38

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

Re: ITopic: Welcome to your local block library!

Thanks.
@librarians: Has anyone added the Scratch blocks shared by scratchycat123?  smile


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

Offline

 

#411 2011-04-12 12:41:19

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

Re: ITopic: Welcome to your local block library!

Scratchycat123 wrote:

I made yet another block! This one is a sensing and once again for scratch.

Name: In presentation mode?

Block spec: ('in presentation mode?' #b #inPresentationMode)

Code: no code

What it does: Reports true if the project is being veiwed in presentation mode.

I feel like that was added but it wasn't...

@Sparks: Not yet.

Last edited by scimonster (2011-04-12 12:55:36)

Offline

 

#412 2011-04-12 14:52:37

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

Re: ITopic: Welcome to your local block library!

Hey, here is the code for the get url block, just thought it might be useful for these.

blockspec
('contents of URL %s' #r #readFromUrl:)

Code:

readFromUrl: t1 
    ^ (HTTPSocket httpGet: t1) contents

I did take it from panther though, just in case anyone wanted to know. LOL.


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

 

#413 2011-04-12 15:02:39

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

Re: ITopic: Welcome to your local block library!

New block!

This is the scratch version:
blockspec:

('password for %s is %s ?' #b #username:password:)

Code:

username: t1 password: t2 
    (HTTPSocket httpGet: 'contentshttp://scratch.mit.edu/api/authenticateuser?username=' , t1 , '&password=' , t2) contents = 'false' ifTrue: [^false].
^true

Panther version, works faster:

Box1:

password for $String$ is $String$ ?

Box2

b

Color Box: # (#0494DC)

Box3:

Code:

 readFromUrl: 'contentshttp://scratch.mit.edu/api/authenticateuser?username=' , t1 , '&password=' , t2 = 'false' ifTrue: [^false].
^true

Last edited by Pecola1 (2011-04-13 20:54:12)


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

 

#414 2011-04-12 15:06:08

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

Re: ITopic: Welcome to your local block library!

You're a librarian, aren't you just going to add it?


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

Offline

 

#415 2011-04-12 16:05:17

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

You're a librarian, aren't you just going to add it?

tongue

What about my block?

Offline

 

#416 2011-04-12 16:20:37

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

Re: ITopic: Welcome to your local block library!

I don't see the point in librarians because only one person can add blocks.

Offline

 

#417 2011-04-12 16:32:19

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

Re: ITopic: Welcome to your local block library!

thebuilderdd wrote:

I don't see the point in librarians because only one person can add blocks.

The account is shared by several users Who I gave the password to. All 5 can make edits to this thread by logging into that account.


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

Offline

 

#418 2011-04-12 17:25:39

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

thebuilderdd wrote:

I don't see the point in librarians because only one person can add blocks.

The account is shared by several users Who I gave the password to. All 5 can make edits to this thread by logging into that account.

Then it makes it easier to update!  big_smile  But why aren't you adding my block?

Offline

 

#419 2011-04-12 18:25:44

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

Re: ITopic: Welcome to your local block library!

Can I become a librarian?

Offline

 

#420 2011-04-12 18:37:37

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

Re: ITopic: Welcome to your local block library!

thebuilderdd wrote:

Can I become a librarian?

I dont think so.  hmm

Offline

 

#421 2011-04-12 18:39:48

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

Re: ITopic: Welcome to your local block library!

ProgrammingFreak wrote:

thebuilderdd wrote:

Can I become a librarian?

I dont think so.  hmm

Why? I can make better blocks!

Offline

 

#422 2011-04-12 19:01:32

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

Re: ITopic: Welcome to your local block library!

thebuilderdd wrote:

Can I become a librarian?

Sorry Tbdd, I have nominated enough librarians to help run the library. The position for a new librarian will only open if an existing librarian abdicates and a replacement will then be chosen by the remaining librarians and myself. If you continuously make good contributions you may be considered if that time ever comes  smile

Your "die" block has not been added because it's effect can already be created by an existing block (the turn block) and it was mutually decided that the block did not do "what it said on the tin". Please appreciate that to stop the library being clogged up, we try to add only the most useful blocks  smile

Last edited by sparks (2011-04-12 19:05:05)


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

Offline

 

#423 2011-04-12 21:09:14

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

You're a librarian, aren't you just going to add it?

I thought we might save up till there was a bunch of blocks, i had to get of right after that. Plus we need to at least say something about it. I also wanted to make sure no one made it before me, LOL. BTW: Did anyone make the Weebly account?


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

 

#424 2011-04-12 21:10:42

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

Re: ITopic: Welcome to your local block library!

illusionist wrote:

Pecola1 wrote:

Sweet. Next time, could you supply a separate image for the block itself. That way i don't have to edit it out. Thanks!
Oh... sorry to say but those are shared already, keep up the good work though!

i'm too fat and lazy for that.  tongue

LOL, it could be just an illusion.


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

 

#425 2011-04-13 01:09:55

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

Re: ITopic: Welcome to your local block library!

The power turned off, and I didn't save my blocks  sad  so I have to write them again.


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

Offline

 

Board footer