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

#1326 2011-02-03 18:59:21

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

Re: Welcome to the OLD local block library!

floppy_gunk wrote:

Pecola1 wrote:

Pecola1 wrote:

Me too. Whens your birthday? mines feb 5

*hint* *hint*!
Reposting for no reason AT ALL! JK

Don't expect me to give you a birthday present  tongue

Well..... I have this thing for this thing called scratch, ever heard of it? You could get me a picoboard! LOL  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

 

#1327 2011-02-03 19:00:42

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

Re: Welcome to the OLD local block library!

scimonster wrote:

frowned wrote:

NEW BLOCK:

Code:

 ('Mail from %s to %s with contents %s' #- #mailFrom:to:text:)

cool

code?

I think this needs to be reposted for frowned. We need a code.


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

 

#1328 2011-02-04 04:24:06

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

Re: Welcome to the OLD local block library!

bbbeb wrote:

frowned wrote:

New block:
Enable Remote sensor connections:

Code:

('enable remote sensor conn.' #- #enableremotesensorconnections)

Code:

enableremotesensorconnections
     | t1 |
    t1 _ self ownerThatIsA: ScratchFrameMorph.
                t1 startHostingScratchSession

cool

Cool, but that should be a host mesh block.  big_smile

Not necessarily. R emote sensor connections can refer to mesh, using the Scratch board, or sending information between Scratch and another programming language like Python.


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

Offline

 

#1329 2011-02-05 07:56:30

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

Re: Welcome to the OLD local block library!

Not many posts in a while here. [offTopic]ITS MAH BIRTHDAY[/offTopic]


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

 

#1330 2011-02-05 10:56:09

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: Welcome to the OLD local block library!

Pecola1 wrote:

Not many posts in a while here. [offTopic]ITS MAH BIRTHDAY[/offTopic]

[offTopic]Happy Birthday![/offTopic]

Offline

 

#1331 2011-02-05 12:56:12

cyros123
Scratcher
Registered: 2008-10-14
Posts: 20

Re: Welcome to the OLD local block library!

<change{Something}by(a lot)


http://www.novavalley.myadopts.com/siggies/novavalley/4.gif Click the egg, and visit Nova Valley!

Offline

 

#1332 2011-02-05 16:59:09

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

Re: Welcome to the OLD local block library!

http://img151.imageshack.us/img151/3213/runp.gif

Last edited by floppy_gunk (2011-02-05 16:59:29)


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

Offline

 

#1333 2011-02-05 17:02:58

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

Re: Welcome to the OLD local block library!

Ha, my dad had his birthday today too  tongue


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

Offline

 

#1334 2011-02-06 19:59:58

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

Re: Welcome to the OLD local block library!

sparks wrote:

Ha, my dad had his birthday today too  tongue

What day of feb? Mine was 5.


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

 

#1335 2011-02-07 00:09:34

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

Re: Welcome to the OLD local block library!

/Birthday Spam.
Let's get back on topic of Block Library.

Offline

 

#1336 2011-02-07 20:01:39

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

Re: Welcome to the OLD local block library!

scimonster wrote:

/Birthday Spam.
Let's get back on topic of Block Library.

[offTopic=Birthday Spam]Nah lets see whose birthday is next!

SSBBM wrote:

Pecola1 wrote:

Me too. Whens your birthday? mines feb 5

April 27. Dang your older!

Well well well, look who is (as far as I know) next! So SSBBM, what do you want for your b-day?[/offTopic]


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

 

#1337 2011-02-07 20:04:49

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

Re: Welcome to the OLD local block library!

sparks wrote:

bbbeb wrote:

frowned wrote:

New block:
Enable Remote sensor connections:

Code:

('enable remote sensor conn.' #- #enableremotesensorconnections)

Code:

enableremotesensorconnections
     | t1 |
    t1 _ self ownerThatIsA: ScratchFrameMorph.
                t1 startHostingScratchSession

cool

Cool, but that should be a host mesh block.  big_smile

Not necessarily. Remote sensor connections can refer to mesh, using the Scratch board, or sending information between Scratch and another programming language like Python.

I just noticed that you can just left click the sensor value or sensor button pressed blocks and click, enable remote sensors.
EDIT
Oh... never-mind I did that.

Last edited by Pecola1 (2011-02-07 20:06:13)


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

 

#1338 2011-02-08 16:01:23

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: Welcome to the OLD local block library!

Help! I'm having trouble downloading the block and getting it to work. Can someone help me?  sad

Offline

 

#1339 2011-02-08 16:38:04

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

Re: Welcome to the OLD local block library!

Hey 777w, are you having trouble downloading the block that lets you download Panther blocks? If you've not yet tried following this tutorial then you can directly download a project containing the block here!

Hope this helps!


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

Offline

 

#1340 2011-02-08 16:56:40

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

Re: Welcome to the OLD local block library!

777w wrote:

Help! I'm having trouble downloading the block and getting it to work. Can someone help me?  sad

For Panther right? Did you make the block? You need internet connection.


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

 

#1341 2011-02-08 17:44:49

SSBBM
Scratcher
Registered: 2009-10-09
Posts: 100+

Re: Welcome to the OLD local block library!

Pecola1 wrote:

scimonster wrote:

/Birthday Spam.
Let's get back on topic of Block Library.

Yes lets get back! This should be the last of the birthday spam
[offTopic=Birthday Spam]Nah lets see whose birthday is next!

Yes, lets end it. This should be the last of the birthday spam.

Pecola1 also wrote:

SSBBM wrote:

April 27

Well well well, look who is (as far as I know) next! So SSBBM, what do you want for your b-day?[/offTopic]

Aprils kinda far away, and plus my birthday is at the end of it. I still have a while, so I don't know what I what yet (but probably cash or video games). By the way everyone I'm going to be 13.

sparks wrote:

...then you can directly download a project containing the block here...

That block never worked for me. Is it suppose to be a panther file?

Last edited by SSBBM (2011-02-08 17:46:29)


http://goo.gl/zVfAp http://goo.gl/laci8

Offline

 

#1342 2011-02-09 21:50:08

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

Re: Welcome to the OLD local block library!

You know, I am going to ask you sparks,
I think that we should be able to have a place where it will show the blocks each user contributed, and have a link to the page where that block is on, for instance i could say, "I wonder what Jens Mönig has made." when I look at the contributers list all i see is his name and the number of blocks he has made. I don't know what he made, or what category it is, so i cannot find it without searching throughout the whole library until, "Oh... thats what he made! The flip block! But I was seeing if there was a BYOB the script block he made," (BTW I know that would take a whole new Morph and/or argMorph) ", so I have wasted 2 hours of my life looking for a block and haven't found it." Wouldn't that be depressing? LOL. I know that this feature will be in the web site (if it ever gets done) but I am asking if you or I could make a place for that. So it will show the user contributer list and if you click it it will link to a place with pics of all of their blocks and you can click one which will lead to the page that block is on. It could be another forum or on this one.


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

 

#1343 2011-02-10 14:58:11

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

Re: Welcome to the OLD local block library!

A new block for scratch:

[glide () mins to x: y:]

blockspec:

('glide %n mins to x: %n y: %n' #t #glideMins: t1 toX: t2 y: t3 elapsed: t4 from: t5 )

Code:

glideMins: t1 toX: t2 y: t3 elapsed: t4 from: t5 
    | t6 t7 t8 |
    t8 _ t1 * 60.
    t5 ifNil: [^ self referencePosition].
    t7 _ t2 @ t3.
    t8 < 0.001
        ifTrue: [t6 _ 1]
        ifFalse: [t6 _ t4 asFloat / (1000.0 * t8)].
    t6 > 1.0 ifTrue: [t6 _ 1].
    t6 < 0.0 ifTrue: [t6 _ 0].
    self referencePosition: t5 + (t6 * (t7 - t5)) truncated

Marzipan11 must learn to not spoil

Offline

 

#1344 2011-02-10 15:45:07

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

Re: Welcome to the OLD local block library!

Pecola1 wrote:

You know, I am going to ask you sparks,
I think that we should be able to have a place where it will show the blocks each user contributed, and have a link to the page where that block is on, for instance i could say, "I wonder what Jens Mönig has made." when I look at the contributers list all i see is his name and the number of blocks he has made. I don't know what he made, or what category it is, so i cannot find it without searching throughout the whole library until, "Oh... thats what he made! The flip block! But I was seeing if there was a BYOB the script block he made," (BTW I know that would take a whole new Morph and/or argMorph) ", so I have wasted 2 hours of my life looking for a block and haven't found it." Wouldn't that be depressing? LOL. I know that this feature will be in the web site (if it ever gets done) but I am asking if you or I could make a place for that. So it will show the user contributer list and if you click it it will link to a place with pics of all of their blocks and you can click one which will lead to the page that block is on. It could be another forum or on this one.

I love the idea, pecola, but my brain nearly dies at the thought of how much extra work that would take to add to this forum. The thing is, people mostly want to look for a block, not for an author so it's not really worth my time to compile a list of blocks made by each user... Sorry, I don't have the time to enbark on something like that. If I did it people would probably like options to view the library alphabetically, per catagory and per author as well as per mod...


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

Offline

 

#1345 2011-02-10 20:30:53

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Welcome to the OLD local block library!

I have a BYOB block.

(what is [anything]?)
I don't have a picture.  sad

Here is the code:http://i53.tinypic.com/33voh15.gif

Is there anything else I need? I'm new to this. :S


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#1346 2011-02-11 04:09:46

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

Re: Welcome to the OLD local block library!

henley wrote:

I have a BYOB block.

(what is [anything]?)
I don't have a picture.  sad

Here is the code:http://i53.tinypic.com/33voh15.gif

Is there anything else I need? I'm new to this. :S

What you could have done is omitted the script variable and just did report [].

Offline

 

#1347 2011-02-11 04:23:15

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Welcome to the OLD local block library!

Alright, keep your brains in gear.  I am looking for a block for RKT called [When {Green flag clicked, When _ Pressed, When sprite pressed}] Think you could make it?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#1348 2011-02-11 15:44:50

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

Re: Welcome to the OLD local block library!

zorket wrote:

A new block for scratch:

[glide () mins to x: y:]

blockspec:

('glide %n mins to x: %n y: %n' #t #glideMins: t1 toX: t2 y: t3 elapsed: t4 from: t5 )

Code:

glideMins: t1 toX: t2 y: t3 elapsed: t4 from: t5 
    | t6 t7 t8 |
    t8 _ t1 * 60.
    t5 ifNil: [^ self referencePosition].
    t7 _ t2 @ t3.
    t8 < 0.001
        ifTrue: [t6 _ 1]
        ifFalse: [t6 _ t4 asFloat / (1000.0 * t8)].
    t6 > 1.0 ifTrue: [t6 _ 1].
    t6 < 0.0 ifTrue: [t6 _ 0].
    self referencePosition: t5 + (t6 * (t7 - t5)) truncated

Marzipan11 must learn to not spoil

Offline

 

#1349 2011-02-11 19:21:43

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Welcome to the OLD local block library!

how do i share blocks


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#1350 2011-02-12 07:21:28

SSBBM
Scratcher
Registered: 2009-10-09
Posts: 100+

Re: Welcome to the OLD local block library!

spud2451 wrote:

how do i share blocks

For scratch and panther I think you just give the code.
For BYOB post a picture of your block and the script that you made your block with. (As a bonus you can also post a download file of your block.)


http://goo.gl/zVfAp http://goo.gl/laci8

Offline

 

Board footer