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

#1626 2011-07-18 13:47:47

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: ITopic: Welcome to your local block library!

LiquidMetal wrote:

Also if you could host lists online too, you could effectively make some pretty good mmogs.  Is that possible or likely to happen in the near future

+1

Offline

 

#1627 2011-07-18 14:38:58

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

Re: ITopic: Welcome to your local block library!

LiquidMetal wrote:

LiquidMetal wrote:

Also if you could host lists online too, you could effectively make some pretty good mmogs.  Is that possible or likely to happen in the near future

+1

Hmmmm, I believe that jd1 is currently working on this... Not to do with us!

The problem with hosting lists online for games is that the list is avaliable and editable to everyone.


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

Offline

 

#1628 2011-07-18 17:32:10

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: Welcome to your local block library!

Woo! I was on holiday and just found out, I won the competition! Thanks for everyone's votes, I'm so happy  big_smile .

One thing, with the block lib signature, you've managed to screw up the transparency, if you'd like me to make differently sized one please just comment a message on one of my projects ( I don't check this topic very often, too many posts  smile  ) and give me the exact measurements you want in pixels.

Thanks again,

Rum

edit: missed a full stop/period

Last edited by RUMCHEERYPOOPOO (2011-07-18 17:34:14)


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#1629 2011-07-18 17:40:10

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

Re: ITopic: Welcome to your local block library!

How do you tell if a user in online? Like the green/gray bubbles shown here: http://scratch.mit.edu/forums/viewtopic … 45#p836845

Last edited by owetre18 (2011-07-18 17:41:07)

Offline

 

#1630 2011-07-18 18:00:38

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: Welcome to your local block library!

Sparks has devised a magical php-or-something-else formula to do it for him I'm sure  smile


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#1631 2011-07-18 18:03:18

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

Re: ITopic: Welcome to your local block library!

owetre18 wrote:

How do you tell if a user in online? Like the green/gray bubbles shown here: http://scratch.mit.edu/forums/viewtopic … 45#p836845

take a look here  smile


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

Offline

 

#1632 2011-07-18 21:04:25

Barf_Bag
Scratcher
Registered: 2011-07-10
Posts: 100+

Re: ITopic: Welcome to your local block library!

The chord block in BYOB won't work for me.


http://i56.tinypic.com/33tiavp.png

Offline

 

#1633 2011-07-19 01:45:41

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

Re: ITopic: Welcome to your local block library!

RUMCHEERYPOOPOO wrote:

Woo! I was on holiday and just found out, I won the competition! Thanks for everyone's votes, I'm so happy  big_smile .

One thing, with the block lib signature, you've managed to screw up the transparency, if you'd like me to make differently sized one please just comment a message on one of my projects ( I don't check this topic very often, too many posts  smile  ) and give me the exact measurements you want in pixels.

Thanks again,

Rum

edit: missed a full stop/period

How did I mess it up in the sig?

Barf_Bag wrote:

The chord block in BYOB won't work for me.

It worked for me... did you download it directly?

Offline

 

#1634 2011-07-19 07:14:54

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

Re: ITopic: Welcome to your local block library!

Another block made in development of Rocket. (Wow, it seems everything I enter in here is being made in Rocket  tongue )
It is a 'Import theme []' Block  big_smile

Blockspec:
('Import theme %s') #- #themepacks:)

Code:
themepacks: t1
    ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: t1)


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

Offline

 

#1635 2011-07-19 07:20:15

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

Re: ITopic: Welcome to your local block library!

ssss wrote:

Another block made in development of Rocket. (Wow, it seems everything I enter in here is being made in Rocket  tongue )
It is a 'Import theme []' Block  big_smile

Blockspec:
('Import theme %s') #- #themepacks:)

Code:
themepacks: t1
    ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: t1)

Don't you need to have themes set up there though?  hmm

Offline

 

#1636 2011-07-19 07:24:22

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

ssss wrote:

Another block made in development of Rocket. (Wow, it seems everything I enter in here is being made in Rocket  tongue )
It is a 'Import theme []' Block  big_smile

Blockspec:
('Import theme %s') #- #themepacks:)

Code:
themepacks: t1
    ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: t1)

Don't you need to have themes set up there though?  hmm

?  You download the scratchskin, edit it, then you can use this block to import the skin durring a project  smile   wink


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

Offline

 

#1637 2011-07-19 08:59:31

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

Re: ITopic: Welcome to your local block library!

I'm back from my trip now and made a new block!

http://polyeztahpuppies.webs.com/gopercenttoxy.gif

Blockspec:

Code:

('go %n % of the way to x: %n y: %n' #- #Distance:X:Y:)

Code:

Code:

Distance: t1 X: t2 Y: t3 
    | newX newY |
    newX _ t1 * 0.01 * (t2 - self xpos).
    newY _ t1 * 0.01 * (t3 - self ypos).
    self gotoX: newX + self xpos y: newY + self ypos

Last edited by Greenatic (2011-07-19 11:25:44)

Offline

 

#1638 2011-07-19 09:06:09

sci_test
Scratcher
Registered: 2011-06-22
Posts: 100+

Re: ITopic: Welcome to your local block library!

It doesn't really work.  hmm

@SSSS: Oh, I get it now.
Librarians, how useful would it be here? :S


[signature removed - please be respectful]
Last edited by scimonster (1970-01-01 00:00:00)

Offline

 

#1639 2011-07-19 09:18:07

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

Re: ITopic: Welcome to your local block library!

I had an idea—add the creator's name next to link in the queue, it helps tell whether your blocks got queued...


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

Offline

 

#1640 2011-07-19 09:19:51

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

Re: ITopic: Welcome to your local block library!

Hardmath123 wrote:

I had an idea—add the creator's name next to link in the queue, it helps tell whether your blocks got queued...

We could do that, but what about the posts that have more than one person's blocks in them? ;P

Offline

 

#1641 2011-07-19 09:48:40

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

Re: ITopic: Welcome to your local block library!

sci_test wrote:

It doesn't really work.  hmm

if <you are talking about my block>
ask [It doesn't?  What's wrong with it?]

I don't think you were talking about my block...but if you were, what's wrong with it? 

Anyway, another I just made:

http://polyeztahpuppies.webs.com/gopercenttosprite.gif

Blockspec:

Code:

('go %n % of the way to %m' #- #Distance:Sprite:)

Code:

Code:

| t3 t4 newX newY |
    t2 = #mouse
        ifTrue: 
            [newX _ self mouseX * (t1 * 0.01).
            newY _ self mouseY * (t1 * 0.01).
            self gotoX: newX + self xpos y: newY + self ypos].
    t2 = #mouse
        ifFalse: 
            [t3 _ self coerceSpriteArg: t2.
            t4 _ t3 referencePosition.
            newX _ t4 x * (t1 * 0.01).
            newY _ t4 y * (t1 * 0.01).
            self gotoX: newX + self xpos y: newY + self ypos]

P.S. Will someone please add my blocks?  It's been weeks now...

P.P.S.  Including the (height) and (width) blocks Baderous and I made, this is my tenth block!!!   big_smile

Last edited by Greenatic (2011-07-19 11:27:53)

Offline

 

#1642 2011-07-19 09:48:53

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: Welcome to your local block library!

scimonster wrote:

RUMCHEERYPOOPOO wrote:

Woo! I was on holiday and just found out, I won the competition! Thanks for everyone's votes, I'm so happy  big_smile .

One thing, with the block lib signature, you've managed to screw up the transparency, if you'd like me to make differently sized one please just comment a message on one of my projects ( I don't check this topic very often, too many posts  smile  ) and give me the exact measurements you want in pixels.

Thanks again,

Rum

edit: missed a full stop/period

How did I mess it up in the sig?

Barf_Bag wrote:

The chord block in BYOB won't work for me.

It worked for me... did you download it directly?

oops my iphone screwed it up  smile


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#1643 2011-07-19 09:51:54

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

Re: ITopic: Welcome to your local block library!

Greenatic wrote:

sci_test wrote:

It doesn't really work.  hmm

if <you are talking about my block>
ask [It doesn't?  What's wrong with it?]

I don't think you were talking about my block...but if you were, what's wrong with it? 

Anyway, another I just made:

http://polyeztahpuppies.webs.com/gopercenttosprite.gif

Blockspec:

Code:

('go %n % of the way to %m' #- #Distance:Sprite:)

Code:

Code:

| t3 t4 newX newY |
    t2 = #mouse
        ifTrue: 
            [newX _ self mouseX - self xpos * (t1 * 0.01).
            newY _ self mouseY - self ypos * (t1 * 0.01).
            self gotoX: newX y: newY].
    t2 = #mouse
        ifFalse: 
            [t3 _ self coerceSpriteArg: t2.
            t4 _ t3 referencePosition.
            newX _ t4 x - self xpos * (t1 * 0.01).
            newY _ t4 y - self ypos * (t1 * 0.01).
            self gotoX: newX y: newY]

P.S. Will someone please add my blocks?  It's been weeks now...

P.P.S.  Including the (height) and (width) blocks Baderous and I made, this is my tenth block!!!   big_smile

I was talking about yours.
I put 100% to x:10 y:10. The sprite was at 1@1. It went to 9@9.

Offline

 

#1644 2011-07-19 11:16:52

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

Re: ITopic: Welcome to your local block library!

scimonster wrote:

Greenatic wrote:

sci_test wrote:

It doesn't really work.  hmm

if <you are talking about my block>
ask [It doesn't?  What's wrong with it?]

I don't think you were talking about my block...but if you were, what's wrong with it? 

Anyway, another I just made:

http://polyeztahpuppies.webs.com/gopercenttosprite.gif

Blockspec:

Code:

('go %n % of the way to %m' #- #Distance:Sprite:)

Code:

Code:

| t3 t4 newX newY |
    t2 = #mouse
        ifTrue: 
            [newX _ self mouseX - self xpos * (t1 * 0.01).
            newY _ self mouseY - self ypos * (t1 * 0.01).
            self gotoX: newX y: newY].
    t2 = #mouse
        ifFalse: 
            [t3 _ self coerceSpriteArg: t2.
            t4 _ t3 referencePosition.
            newX _ t4 x - self xpos * (t1 * 0.01).
            newY _ t4 y - self ypos * (t1 * 0.01).
            self gotoX: newX y: newY]

P.S. Will someone please add my blocks?  It's been weeks now...

P.P.S.  Including the (height) and (width) blocks Baderous and I made, this is my tenth block!!!   big_smile

I was talking about yours.
I put 100% to x:10 y:10. The sprite was at 1@1. It went to 9@9.

OK I just realized I made an error.  But I gotta go now, I'll fix them later this afteroon...

Last edited by Greenatic (2011-07-19 11:22:52)

Offline

 

#1645 2011-07-19 11:28:35

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

Re: ITopic: Welcome to your local block library!

Well, I actually got the chance to fix them.  They should work now; do they?

Offline

 

#1646 2011-07-19 12:18:49

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

Re: ITopic: Welcome to your local block library!

New BYOB block! (That I made)

Okay, here we go.

Block: http://i.imgur.com/bdRTk.gif

Script: http://i.imgur.com/D1Aec.gif
__________________________________________________________

Block Request

Type: Scratch
What it does: changes the current sprite's name
Blockspec: ('change sprite's name to %s' #- #changenameto)

I just need the code, I made the blockspec.

Offline

 

#1647 2011-07-19 12:54:46

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

Re: ITopic: Welcome to your local block library!

owetre18 wrote:

Block Request

Type: Scratch
What it does: changes the current sprite's name
Blockspec: ('change sprite's name to %s' #- #changeNameTo:)

I just need the code, I made the blockspec.

changeNameTo:
self objName: t1

Offline

 

#1648 2011-07-19 13:05:29

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

Re: ITopic: Welcome to your local block library!

18 submissions (22 blocks) queued! Anyone want to add them?  tongue
~sci
EDIT: I also underlines the entire line in the sig so that the link blends more. :3

Last edited by YourLocalBlockLib (2011-07-19 13:07:29)


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

Offline

 

#1649 2011-07-19 13:58:32

poemon1
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: ITopic: Welcome to your local block library!

scimonster wrote:

owetre18 wrote:

Block Request Type: Scratch What it does: changes the current sprite's name Blockspec: ('change sprite's name to %s' #- #changeNameTo:) I just need the code, I made the blockspec.

changeNameTo: self objName: t1

changeNameTo: t1
self objName: t1 asString
wink


http://i47.tinypic.com/rrqe13.gif

Offline

 

#1650 2011-07-19 15:13:25

TuragaTreeko
Scratcher
Registered: 2011-04-24
Posts: 100+

Re: ITopic: Welcome to your local block library!

poemon1 wrote:

scimonster wrote:

owetre18 wrote:

Block Request Type: Scratch What it does: changes the current sprite's name Blockspec: ('change sprite's name to %s' #- #changeNameTo:) I just need the code, I made the blockspec.

changeNameTo: self objName: t1

changeNameTo: t1
self objName: t1 asString
wink

HEY! THAT WAS MY BLOCK! Oh, btw, it should be
objName_t1 instead.
Also, does anyone know why

Code:

absoluteValue:t1
     [^t1 asPositive]

doesn't work for

Code:

('|%n|' #r #absoluteValue: -5)

http://goo.gl/RDqKF

Offline

 

Board footer