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

#651 2011-04-27 09:43:04

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

Re: ITopic: Welcome to your local block library!

Sorry. I think we did XD
~~sci


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

Offline

 

#652 2011-04-27 09:46:06

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

Re: ITopic: Welcome to your local block library!

All Panther are converted. You want to do for Scratch also?

Offline

 

#653 2011-04-27 09:46:50

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

Re: ITopic: Welcome to your local block library!

We could, I think we should, they're the most space hungry block at the moment!
~~Sparks
(I assume  tongue  ~sci)

Last edited by YourLocalBlockLib (2011-04-27 09:52:39)


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

Offline

 

#654 2011-04-27 09:52:41

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

Re: ITopic: Welcome to your local block library!

I've just realised that I shared a requested block - the [export costume [ ] to file [ ]] block. What are we doing with previous requests now?
~~Sparks

Last edited by YourLocalBlockLib (2011-04-27 09:54:04)


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

Offline

 

#655 2011-04-27 09:53:50

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

Re: ITopic: Welcome to your local block library!

I don't know. Delete them?

Leave Scratch ones as "What this block does:"
~~sci


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

Offline

 

#656 2011-04-27 09:56:12

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

Re: ITopic: Welcome to your local block library!

I'll take motion - sensing.
~~sci


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

Offline

 

#657 2011-04-27 12:23:23

williambl
Scratcher
Registered: 2011-04-08
Posts: 100+

Re: ITopic: Welcome to your local block library!

[blocks] <move(  )steps> <if> <(  < <steps> = 10 >  ) > <point in direction(<steps>) <end> [/blocks]


http://internetometer.com/imagesmall/34650.png
http://www.danasoft.com/sig/Epicnesssign.jpg

Offline

 

#658 2011-04-27 17:06:44

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

All Panther are converted. You want to do for Scratch also?

Don't do scratch till we absolutely NEED more space, and even then there is more we could do before, I think it is best to keep it.


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

 

#659 2011-04-28 00:23:33

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

Re: ITopic: Welcome to your local block library!

Pecola1 wrote:

scimonster wrote:

All Panther are converted. You want to do for Scratch also?

Don't do scratch till we absolutely NEED more space, and even then there is more we could do before, I think it is best to keep it.

You want to put back the ones I removed?
The first 4.

Last edited by scimonster (2011-04-28 00:23:46)

Offline

 

#660 2011-04-28 07:31:58

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

Re: ITopic: Welcome to your local block library!

Code:

('Set the list blocks color to %c' #- #setListBlockColorSelf:)

setListBlockColorSelf: t1 
    ListBlockColor _ t1

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

Offline

 

#661 2011-04-28 08:00:53

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

Code:

('Set the list blocks color to %c' #- #setListBlockColorSelf:)

setListBlockColorSelf: t1 
    ListBlockColor _ t1

What ops does it go under? Other?

Would be cool if it worked for others...

Last edited by scimonster (2011-04-28 08:02:49)

Offline

 

#662 2011-04-28 11:16:31

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Hardmath123 wrote:

Code:

('Set the list blocks color to %c' #- #setListBlockColorSelf:)

setListBlockColorSelf: t1 
    ListBlockColor _ t1

What ops does it go under? Other?

Would be cool if it worked for others...

Sensing.


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

Offline

 

#663 2011-04-28 11:19:01

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

scimonster wrote:

Hardmath123 wrote:

Code:

('Set the list blocks color to %c' #- #setListBlockColorSelf:)

setListBlockColorSelf: t1 
    ListBlockColor _ t1

What ops does it go under? Other?

Would be cool if it worked for others...

Sensing.

What's the code for it?

Offline

 

#664 2011-04-28 12:51:07

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Pecola1 wrote:

scimonster wrote:

All Panther are converted. You want to do for Scratch also?

Don't do scratch till we absolutely NEED more space, and even then there is more we could do before, I think it is best to keep it.

You want to put back the ones I removed?
The first 4.

We can look at the project. Sure, just a sec, I gotta do somethin' first.


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

 

#665 2011-04-28 12:56:53

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

Re: ITopic: Welcome to your local block library!

Hmm I've got trouble with this block I was working on...

Code:

alert: t1 
| t2 |
    DialogBoxMorph new inform: t1 title: t2.

Offline

 

#666 2011-04-28 12:59:41

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

Re: ITopic: Welcome to your local block library!

ProgrammingFreak wrote:

Hmm I've got trouble with this block I was working on...

Code:

alert: t1 
| t2 |
    DialogBoxMorph new inform: t1 title: t2.

You need to set t2 to something I think.  hmm
Or is it

Code:

alert: t1 
| t2 |
t2 _ DialogBoxMorph new inform: t1 title: '?'

Offline

 

#667 2011-04-28 13:03:30

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Hardmath123 wrote:

scimonster wrote:


What ops does it go under? Other?

Would be cool if it worked for others...

Sensing.

What's the code for it?

Blockspec:

Code:

('Set the list blocks color to %c' #- #setListBlockColorSelf:)

Code:

Code:

setListBlockColorSelf: t1 
    ListBlockColor _ t1

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

Offline

 

#668 2011-04-28 13:05:03

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

scimonster wrote:

Hardmath123 wrote:


Sensing.

What's the code for it?

Blockspec:

Code:

('Set the list blocks color to %c' #- #setListBlockColorSelf:)

Code:

Code:

setListBlockColorSelf: t1 
    ListBlockColor _ t1

You said it worked for sensing.

Offline

 

#669 2011-04-28 13:10:37

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: ITopic: Welcome to your local block library!

[blocks]I have a byob block: (pen block)
"Draw regular polygon with ( sides ) sides of length (length) each and colour (colour)"
  [/blocks]
  <pen down>
  <set pen color to( <{ colour }>
  <repeat( <{ sides }>
  <move( <{ length }> )steps>
  <turn cw( (( 360 </> <{ sides }> )) )degrees>
  <end>
  <pen up>


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#670 2011-04-28 13:11:31

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

ProgrammingFreak wrote:

Hmm I've got trouble with this block I was working on...

Code:

alert: t1 
| t2 |
    DialogBoxMorph new inform: t1 title: t2.

You need to set t2 to something I think.  hmm
Or is it

Code:

alert: t1 
| t2 |
t2 _ DialogBoxMorph new inform: t1 title: '?'

Well the block will be like this:

alert [ t1 ] with title [ t2 ]

So I want the title to be t2. But it says I didn't set it to anything...

Offline

 

#671 2011-04-28 13:12:03

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

Re: ITopic: Welcome to your local block library!

ProgrammingFreak wrote:

Hmm I've got trouble with this block I was working on...

Code:

alert: t1 
| t2 |
    DialogBoxMorph new inform: t1 title: t2.

try

Code:

alert: t1 withTitle: t2
    DialogBoxMorph new message: t1 title: t2.

blockspec:
('alert %s with title %s' #- #alert:withTitle:)

Last edited by Pecola1 (2011-04-28 13:14:48)


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

 

#672 2011-04-28 13:16:17

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

Re: ITopic: Welcome to your local block library!

ProgrammingFreak wrote:

scimonster wrote:

ProgrammingFreak wrote:

Hmm I've got trouble with this block I was working on...

Code:

alert: t1 
| t2 |
    DialogBoxMorph new inform: t1 title: t2.

You need to set t2 to something I think.  hmm
Or is it

Code:

alert: t1 
| t2 |
t2 _ DialogBoxMorph new inform: t1 title: '?'

Well the block will be like this:

alert [ t1 ] with title [ t2 ]

So I want the title to be t2. But it says I didn't set it to anything...

Oh. So like this:

Code:

alert: t1 withTitle: t2
    DialogBoxMorph new inform: t1 title: t2

Offline

 

#673 2011-04-28 13:21:57

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

Re: ITopic: Welcome to your local block library!

Does it work for you?

Offline

 

#674 2011-04-28 13:28:39

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

Re: ITopic: Welcome to your local block library!

Here:

Code:

alert: t1 withTitle: t2 
    DialogBoxMorph inform: t1 title: t2

Offline

 

#675 2011-04-28 13:28:55

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

ProgrammingFreak wrote:

scimonster wrote:

You need to set t2 to something I think.  hmm
Or is it

Code:

alert: t1 
| t2 |
t2 _ DialogBoxMorph new inform: t1 title: '?'

Well the block will be like this:

alert [ t1 ] with title [ t2 ]

So I want the title to be t2. But it says I didn't set it to anything...

Oh. So like this:

Code:

alert: t1 withTitle: t2
    DialogBoxMorph new inform: t1 title: t2

No. I didn't try it yet. But it should work.

I believe its:

alert: t1 withTitle: t2
    DialogBoxMorph new message: t1 title: t2.

Look in DialogBoxMorph (under Scratch-UI-Dialogs). There isn't any inform, at least I don't think so, lemme check...
[edit]Nope, there isn't only a message.[/edit]
~Pecola1

Last edited by YourLocalBlockLib (2011-04-28 13:38:11)


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

Offline

 

Board footer