This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Advanced Topics
  •  » Let's Put Our Heads Together To Improve Panther's <receive []> Block!

#26 2010-05-11 15:38:08

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

LS97 wrote:

wow! this is some selfish business nXIII! i'm gonna make it then!
and remember that you'll have to make the Panther code avialable to everyone...

Yep!  big_smile

Offline

 

#27 2010-05-11 15:40:32

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

nXIII wrote:

markyparky56 wrote:

LS97 wrote:

wow! this is some selfish business nXIII! i'm gonna make it then!
and remember that you'll have to make the Panther code avialable to everyone...

Not true. They haven't done that with BYOB, though jens is going to release the source code, because he wants to!

I have to email him about this... I may need to have some legal backing for withholding the source, as it appears to violate the ToS

Ahhhh... ok.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#28 2010-05-11 15:42:09

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

markyparky56 wrote:

nXIII wrote:

markyparky56 wrote:


Not true. They haven't done that with BYOB, though jens is going to release the source code, because he wants to!

I have to email him about this... I may need to have some legal backing for withholding the source, as it appears to violate the ToS

Ahhhh... ok.

Hi!  big_smile

Offline

 

#29 2010-05-12 14:32:06

BigDolphin
Scratcher
Registered: 2009-12-21
Posts: 81

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

<{I Recieve %e}>


►►►►►►►►►♠"Thy fish no like thy Trout that deceives thy eye"♠◄◄◄◄◄◄◄◄◄

Offline

 

#30 2010-05-12 14:35:33

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

nXIII wrote:

markyparky56 wrote:

LS97 wrote:

wow! this is some selfish business nXIII! i'm gonna make it then!
and remember that you'll have to make the Panther code avialable to everyone...

Not true. They haven't done that with BYOB, though jens is going to release the source code, because he wants to!

I have to email him about this... I may need to have some legal backing for withholding the source, as it appears to violate the ToS

Of course it violates the ToS

You can only withhold the source as long as you have a legitimate reason:

(e.g. you haven't finished coding it yet  big_smile )


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#31 2010-05-13 16:41:32

Zorbak42
Scratcher
Registered: 2009-01-27
Posts: 100+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

nXIII wrote:

SeptimusHeap wrote:

Hello. I'm here.

AN I think he made the last recieved block.

No, I made the <[] received> block, but I'm not sharing it because it will be stolen. Here's a screencast

*cough* http://farm4.static.flickr.com/3320/4604344089_264008967c_o.png *cough*

Offline

 

#32 2010-05-13 16:53:28

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

Zorbak42 wrote:

nXIII wrote:

SeptimusHeap wrote:

Hello. I'm here.

AN I think he made the last recieved block.

No, I made the <[] received> block, but I'm not sharing it because it will be stolen. Here's a screencast

*cough* http://farm4.static.flickr.com/3320/460 … 967c_o.png *cough*

Looks Like We Have Something Up Our Sleeves nxiii... No, Really, It Really Looks Like It.

Offline

 

#33 2010-05-13 17:21:35

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

TheGameMaster1231 wrote:

Zorbak42 wrote:

nXIII wrote:


No, I made the <[] received> block, but I'm not sharing it because it will be stolen. Here's a screencast

*cough* http://farm4.static.flickr.com/3320/460 … 967c_o.png *cough*

Looks Like We Have Something Up Our Sleeves nxiii... No, Really, It Really Looks Like It.

...up your sleeves?


nXIII

Offline

 

#34 2010-05-13 17:59:38

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

nXIII wrote:

TheGameMaster1231 wrote:

Looks Like We Have Something Up Our Sleeves nxiii... No, Really, It Really Looks Like It.

...up your sleeves?

No the collective "our"

What are you guys hiding in your sleeves?

???
Laughs at gamemasters response

ahaha


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#35 2010-05-13 18:08:28

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

cds56 wrote:

nXIII wrote:

TheGameMaster1231 wrote:


Looks Like We Have Something Up Our Sleeves nxiii... No, Really, It Really Looks Like It.

...up your sleeves?

No the collective "our"

What are you guys hiding in your sleeves?

???
Laughs at gamemasters response

ahaha

I'm Hiding My Arms.

Offline

 

#36 2010-05-14 17:43:39

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

Yes nXIII, we want to know how to do it.
http://i43.tinypic.com/25qq35x.png


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#37 2010-05-14 17:50:21

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

MasterOfDeception wrote:

Yes nXIII, we want to know how to do it.
http://i43.tinypic.com/25qq35x.png

Um... I didn't see anything about
http://i40.tinypic.com/259l6x1.jpg


nXIII

Offline

 

#38 2010-05-14 19:38:48

Zorbak42
Scratcher
Registered: 2009-01-27
Posts: 100+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

nXIII wrote:

MasterOfDeception wrote:

Yes nXIII, we want to know how to do it.
http://i43.tinypic.com/25qq35x.png

Um... I didn't see anything about
http://i40.tinypic.com/259l6x1.jpg

It's simply, USING the code.  tongue  Besides, I would give you credit for it, and I'm sure others would! Pweeeeeeeez! http://www.superlaugh.com/1/prayerkitty.jpg I'll give you virtual cookiez!  big_smile

Offline

 

#39 2010-05-15 05:30:27

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

nXIII wrote:

MasterOfDeception wrote:

Yes nXIII, we want to know how to do it.
http://i43.tinypic.com/25qq35x.png

Um... I didn't see anything about
http://i40.tinypic.com/259l6x1.jpg

Thats a good one...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#40 2010-05-16 19:04:30

randalpik
Scratcher
Registered: 2008-07-27
Posts: 82

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

Finally! Panther 1.0 is released, and I have access to the receive block!!

Code:

eventReceivedNamed: t1 
    | t2 t3 |
    self isSprite ifTrue: [^ (self ownerThatIsA: ScratchStageMorph)
            eventReceivedNamed: t1].
    t2 _ self scripts
                select: [:t4 | t4 class == EventHatMorph and: [t4 eventName caseInsensitiveEqual: t1]].
    t2 _ t2 asOrderedCollection.
    self
        submorphsDo: [:t5 | (t5 isKindOf: ScriptableScratchMorph)
                ifTrue: [(t5 scripts
                        select: [:t4 | t4 class == EventHatMorph and: [t4 eventName caseInsensitiveEqual: t1]])
                        do: [:t6 | t2 _ t2 copyWith: t6]]].
    t3 _ t2 select: [:t4 | t4 scratchProc notNil].
    ^ t3 size > 0

with the spec:

Code:

 ('%e received?' #b #eventReceivedNamed:)

According to septimusheap,

SeptimusHeap wrote:

When =/ clicked
broadcast something


When I receive something
wait (5)

PUT HAT HERE
wait until something is recieved
DO SOMETHING HERE


After the 'when I receive ___" script is done, it reports false, that's what wait 5 is for.

is the only way to actually make it work. Which is a pain, because then it doesn't work for 1s1s projects. Oh well.

Last edited by randalpik (2010-05-16 19:06:22)


My stuff: http://scratch.mit.edu/users/randalpik
Your face: Look at a gopher

Offline

 

#41 2010-05-16 19:11:55

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

randalpik wrote:

Finally! Panther 1.0 is released, and I have access to the receive block!!

*Ahem* you agreed to the ToS which means you are required to include the phrase "Panther is developed by the scratch users Sparks, nXIII, Sperry, SeptimusHeap, MathWizz, and Markyparky56 and is based on Scratch from the MIT media lab" with this code.

Anyway, we're missing the point of Scratch, Squeak, and life in general: did you learn anything from my code? If so, congratulations to all, for I have increased the knowledge of the public and you have learned something new. If not, I suggest you try to.

Last edited by nXIII (2010-05-16 19:14:02)


nXIII

Offline

 

#42 2010-05-16 20:51:33

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

nXIII wrote:

randalpik wrote:

Finally! Panther 1.0 is released, and I have access to the receive block!!

*Ahem* you agreed to the ToS which means you are required to include the phrase "Panther is developed by the scratch users Sparks, nXIII, Sperry, SeptimusHeap, MathWizz, and Markyparky56 and is based on Scratch from the MIT media lab" with this code.

Anyway, we're missing the point of Scratch, Squeak, and life in general: did you learn anything from my code? If so, congratulations to all, for I have increased the knowledge of the public and you have learned something new. If not, I suggest you try to.

I know I've learnt from your code  big_smile

What other purpose would there be to get into it>?


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#43 2010-05-16 20:57:35

randalpik
Scratcher
Registered: 2008-07-27
Posts: 82

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

nXIII wrote:

randalpik wrote:

Finally! Panther 1.0 is released, and I have access to the receive block!!

*Ahem* you agreed to the ToS which means you are required to include the phrase "Panther is developed by the scratch users Sparks, nXIII, Sperry, SeptimusHeap, MathWizz, and Markyparky56 and is based on Scratch from the MIT media lab" with this code.

Anyway, we're missing the point of Scratch, Squeak, and life in general: did you learn anything from my code? If so, congratulations to all, for I have increased the knowledge of the public and you have learned something new. If not, I suggest you try to.

Lol. I don't even read the ToS'es of things. And, I have learned quite a bit... every time I find a block to put into the source code I try to figure out what it means, and this one was particularly easy.


My stuff: http://scratch.mit.edu/users/randalpik
Your face: Look at a gopher

Offline

 

#44 2010-05-16 21:02:30

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

randalpik wrote:

nXIII wrote:

randalpik wrote:

Finally! Panther 1.0 is released, and I have access to the receive block!!

*Ahem* you agreed to the ToS which means you are required to include the phrase "Panther is developed by the scratch users Sparks, nXIII, Sperry, SeptimusHeap, MathWizz, and Markyparky56 and is based on Scratch from the MIT media lab" with this code.

Anyway, we're missing the point of Scratch, Squeak, and life in general: did you learn anything from my code? If so, congratulations to all, for I have increased the knowledge of the public and you have learned something new. If not, I suggest you try to.

Lol. I don't even read the ToS'es of things. And, I have learned quite a bit... every time I find a block to put into the source code I try to figure out what it means, and this one was particularly easy.

So, how does it work?


nXIII

Offline

 

#45 2010-05-17 07:41:22

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

randalpik wrote:

Finally! Panther 1.0 is released, and I have access to the receive block!!

Code:

eventReceivedNamed: t1 
    | t2 t3 |
    self isSprite ifTrue: [^ (self ownerThatIsA: ScratchStageMorph)
            eventReceivedNamed: t1].
    t2 _ self scripts
                select: [:t4 | t4 class == EventHatMorph and: [t4 eventName caseInsensitiveEqual: t1]].
    t2 _ t2 asOrderedCollection.
    self
        submorphsDo: [:t5 | (t5 isKindOf: ScriptableScratchMorph)
                ifTrue: [(t5 scripts
                        select: [:t4 | t4 class == EventHatMorph and: [t4 eventName caseInsensitiveEqual: t1]])
                        do: [:t6 | t2 _ t2 copyWith: t6]]].
    t3 _ t2 select: [:t4 | t4 scratchProc notNil].
    ^ t3 size > 0

with the spec:

Code:

 ('%e received?' #b #eventReceivedNamed:)

According to septimusheap,

SeptimusHeap wrote:

When =/ clicked
broadcast something


When I receive something
wait (5)

PUT HAT HERE
wait until something is recieved
DO SOMETHING HERE


After the 'when I receive ___" script is done, it reports false, that's what wait 5 is for.

is the only way to actually make it work. Which is a pain, because then it doesn't work for 1s1s projects. Oh well.

Yes, But As You Said, It Doesn't Work Completely Right. So Instead, Lets IMPROVE The <receive []> Block!

Offline

 

#46 2010-05-17 08:12:22

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

TheGameMaster1231 wrote:

randalpik wrote:

Finally! Panther 1.0 is released, and I have access to the receive block!!

Code:

eventReceivedNamed: t1 
    | t2 t3 |
    self isSprite ifTrue: [^ (self ownerThatIsA: ScratchStageMorph)
            eventReceivedNamed: t1].
    t2 _ self scripts
                select: [:t4 | t4 class == EventHatMorph and: [t4 eventName caseInsensitiveEqual: t1]].
    t2 _ t2 asOrderedCollection.
    self
        submorphsDo: [:t5 | (t5 isKindOf: ScriptableScratchMorph)
                ifTrue: [(t5 scripts
                        select: [:t4 | t4 class == EventHatMorph and: [t4 eventName caseInsensitiveEqual: t1]])
                        do: [:t6 | t2 _ t2 copyWith: t6]]].
    t3 _ t2 select: [:t4 | t4 scratchProc notNil].
    ^ t3 size > 0

with the spec:

Code:

 ('%e received?' #b #eventReceivedNamed:)

According to septimusheap,

SeptimusHeap wrote:

When =/ clicked
broadcast something


When I receive something
wait (5)

PUT HAT HERE
wait until something is recieved
DO SOMETHING HERE


After the 'when I receive ___" script is done, it reports false, that's what wait 5 is for.

is the only way to actually make it work. Which is a pain, because then it doesn't work for 1s1s projects. Oh well.

Yes, But As You Said, It Doesn't Work Completely Right. So Instead, Lets IMPROVE The <receive []> Block!

You aren't allowed to steal Panther code, noobs...


http://i46.tinypic.com/dw7zft.png

Offline

 

#47 2010-05-17 08:13:43

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

Also, how could you use it for 1s1s projects, if it worked?


http://i46.tinypic.com/dw7zft.png

Offline

 

#48 2010-05-17 09:10:25

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

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

1) we have two legitimate reasons for not releasing the source code:
     we're not done
     People will steal (oops, have stolen) the code without credit.

2) randalpic, I'm a laid back guy, but you've managed to annoy me. Just because you didn't read the tos, does not mean you don't have to abide by it. It just means you're gonna annoy (for want of a stronger word) people and in some instances dig yourself a big, legal hole.

your honour, this person has been accused of stealing, though the conditions to which he agreed forbade that.

very well, how does the defendant plead?

not guilty, I didn't actually read the tos you noobs!


... no. it's not going to hold up.


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

Offline

 

#49 2010-05-17 09:13:42

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

Well put sparks. Technicaly, we can take him to court now...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#50 2010-05-17 10:12:34

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

Re: Let's Put Our Heads Together To Improve Panther's <receive []> Block!

TheGameMaster1231 wrote:

In This Forum, We Will All Put Our Heads Together To Make The Wonderful, Needed, <receive []> Block. So LETS GO MAKE THAT BLOCK!!!!!!!  big_smile

Let me edit that to what's really happened for you:

TheGameMaster1231 wrote:

In This Forum, We Will All Put Our  Heads Together To Copy The Code Off Some Poor Bugger Who Foolishly Decides To Release The Wonderful, Needed <recieve []> Block. Saves A Lot Of Work For Us... Have Patience, My Minions.

there. now we're on topic.


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

Offline

 
  • Index
  •  » Advanced Topics
  •  » Let's Put Our Heads Together To Improve Panther's <receive []> Block!

Board footer