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

#2001 2011-09-11 05:02:06

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

Re: ITopic: Welcome to your local block library!

WindowsExplorer wrote:

scimonster wrote:

WindowsExplorer wrote:


sad  It will help make BLOCK file

We are making BLOCK files already.

I have an idea. The BYOB sprite uploader is broken, right? What's the blocks.scratchr.org domain for? We can use that to host them now! I also think Sparks had made a code that will update the Panther importer blocks, if we choose to. He just needs to run stuff through his dropbox. So we could also host Panther blocks. And... when they're polished, we could host Scratch blocks too! :DDD

So we could make an... auto-updating Scratch?

That's not what I said. We use the BL's site to host the files.

Offline

 

#2002 2011-09-11 05:10:24

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: ITopic: Welcome to your local block library!

scimonster wrote:

WindowsExplorer wrote:

scimonster wrote:


We are making BLOCK files already.

I have an idea. The BYOB sprite uploader is broken, right? What's the blocks.scratchr.org domain for? We can use that to host them now! I also think Sparks had made a code that will update the Panther importer blocks, if we choose to. He just needs to run stuff through his dropbox. So we could also host Panther blocks. And... when they're polished, we could host Scratch blocks too! :DDD

So we could make an... auto-updating Scratch?

That's not what I said. We use the BL's site to host the files.

Cool! How?


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#2003 2011-09-11 05:12:11

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

Re: ITopic: Welcome to your local block library!

WindowsExplorer wrote:

scimonster wrote:

WindowsExplorer wrote:


So we could make an... auto-updating Scratch?

That's not what I said. We use the BL's site to host the files.

Cool! How?

The same way we're using other sites right now.  tongue

Offline

 

#2004 2011-09-11 05:23:32

origami3
Scratcher
Registered: 2011-08-11
Posts: 28

Re: ITopic: Welcome to your local block library!

jo

Last edited by origami3 (2011-09-11 05:24:05)


I am awesome

Offline

 

#2005 2011-09-11 06:01:07

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

Re: ITopic: Welcome to your local block library!

Hey Sci, the current block library block download block (That sounds odd) cannot be updated and when trying to build a self updating one I ran into the problem of blocks being unable to run code set to a variable if it contains the symbol >'<. However, if we move them to the block library once and for all then we can simply update the block in the library thread. The old download block won't work anymore though.

Panther blocks won't need to be hosted in files, we can do it with a MySQL table. The download block can simply send an SQL request to the library site and get the block contents as a return! The same can be done for Scratch blocks if we can work out how to store them as pure text with a way to have them added.

Last edited by sparks (2011-09-11 06:01:41)


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

Offline

 

#2006 2011-09-11 06:10:11

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: ITopic: Welcome to your local block library!

a requested BYOB block:http://imgur.com/a/KQIPb

Offline

 

#2007 2011-09-11 06:52:05

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

Hey Sci, the current block library block download block (That sounds odd) cannot be updated and when trying to build a self updating one I ran into the problem of blocks being unable to run code set to a variable if it contains the symbol >'<. However, if we move them to the block library once and for all then we can simply update the block in the library thread. The old download block won't work anymore though.

Panther blocks won't need to be hosted in files, we can do it with a MySQL table. The download block can simply send an SQL request to the library site and get the block contents as a return! The same can be done for Scratch blocks if we can work out how to store them as pure text with a way to have them added.

Sounds funny. Block library block download block.
But what if... you did this:

Code:

t1 _ 'Code with apostrophe. I' , '''', 'm using one right here.'.

Would that work?

Offline

 

#2008 2011-09-11 08:20:01

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

Re: ITopic: Welcome to your local block library!

roijac wrote:

a requested BYOB block:http://imgur.com/a/KQIPb

Man. Another mutation of what I want. Awesome block though.  Sparks, could I include a link to what I want as there have been people who misunderstood me.


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

Offline

 

#2009 2011-09-11 09:04:34

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

Re: ITopic: Welcome to your local block library!

Go ahead, SSBBM  smile  You've got access to edit the requests page, after all  tongue


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

Offline

 

#2010 2011-09-11 10:43:58

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

Go ahead, SSBBM  smile  You've got access to edit the requests page, after all  tongue

Yeah. But when I first requested the block I didn't have access, and since you didn't include it I assumed you had a reason. I'll add it now.


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

Offline

 

#2011 2011-09-11 12:13:22

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

Re: ITopic: Welcome to your local block library!

Oh! I don't believe we don't have enter/exit presentation mode blocks!


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

Offline

 

#2012 2011-09-11 13:54:57

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: ITopic: Welcome to your local block library!

sparks wrote:

Oh! I don't believe we don't have enter/exit presentation mode blocks!

It would be better to do
|enter {normal  v} mode|
{quarter normal presentation}

Offline

 

#2013 2011-09-11 14:16:42

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

Oh! I don't believe we don't have enter/exit presentation mode blocks!

Pecola made them, but they don't work in presentation mode. LOL

Offline

 

#2014 2011-09-11 14:22:27

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

Re: ITopic: Welcome to your local block library!

So in other words he made enter but didn't finish exit?


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

Offline

 

#2015 2011-09-11 14:32:09

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

So in other words he made enter but didn't finish exit?

Yep.

Offline

 

#2016 2011-09-11 14:37:26

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

Re: ITopic: Welcome to your local block library!

Hmm, well I only need the enter one really, do you know where it is?


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

Offline

 

#2017 2011-09-11 14:55:37

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

Re: ITopic: Welcome to your local block library!

sparks wrote:

Hmm, well I only need the enter one really, do you know where it is?

Code:

('enter presentation mode' #- #enterPreMode)

enterPresMode
    | t1 |
    t1 _ self ownerThatIsA: ScratchFrameMorph.
    t1 enterPresentationMode

http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=enter%20presentation%20mode&amp;type=stack&amp;color=control
Don't feel like making my own image.  tongue

Offline

 

#2018 2011-09-11 14:59:11

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: ITopic: Welcome to your local block library!

scimonster wrote:

sparks wrote:

Hmm, well I only need the enter one really, do you know where it is?

Code:

('enter presentation mode' #- #enterPreMode)

enterPresMode
    | t1 |
    t1 _ self ownerThatIsA: ScratchFrameMorph.
    t1 enterPresentationMode

http://theblocklibrary.site11.com/inclu … or=control
Don't feel like making my own image.  tongue

You do realize that the method name and the method call in the blockspec are different, right?  That could cause problems.   tongue

Offline

 

#2019 2011-09-11 15:32:17

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

Re: ITopic: Welcome to your local block library!

I noticed that too, but it's fine because I noticed it so I can change it  tongue


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

Offline

 

#2020 2011-09-11 15:34:50

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

Re: ITopic: Welcome to your local block library!

Works perfectly, thanks Sci  smile


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

Offline

 

#2021 2011-09-11 15:40:23

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

Re: ITopic: Welcome to your local block library!

Perfect.... MUAHAHAHAHA!


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

Offline

 

#2022 2011-09-11 15:42:06

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

Re: ITopic: Welcome to your local block library!

Greenatic wrote:

scimonster wrote:

sparks wrote:

Hmm, well I only need the enter one really, do you know where it is?

Code:

('enter presentation mode' #- #enterPresMode)

enterPresMode
    | t1 |
    t1 _ self ownerThatIsA: ScratchFrameMorph.
    t1 enterPresentationMode

http://theblocklibrary.site11.com/inclu … or=control
Don't feel like making my own image.  tongue

You do realize that the method name and the method call in the blockspec are different, right?  That could cause problems.   tongue

One of my rare typos. D:
I would have caught it once it got in though.  tongue

Offline

 

#2023 2011-09-11 15:51:14

tpaley
Scratcher
Registered: 2011-05-22
Posts: 100+

Re: ITopic: Welcome to your local block library!

here are 2 BYOB blocks: file:///C:/Users/Trevor/Desktop/BYOB.gif and file:///C:/Users/Trevor/Desktop/Capture.JPG

~tpaley


http://i49.tinypic.com/2z82h3d.gif

Offline

 

#2024 2011-09-11 15:53:39

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

Re: ITopic: Welcome to your local block library!

Hey tpaley, we can't see files on your computer at home so you need to host the image online somehow and then send us a link to it  smile  Just google free image hosting and see what you get. I would recommend imageshack but not everyone on Scratch can see those images  hmm


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

Offline

 

#2025 2011-09-11 15:55:07

tpaley
Scratcher
Registered: 2011-05-22
Posts: 100+

Re: ITopic: Welcome to your local block library!

it said that I couldn't post the image because I was a new user which I'm not really


http://i49.tinypic.com/2z82h3d.gif

Offline

 

Board footer