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

#1151 2010-04-13 08:55:27

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: Panther development thread

sparks wrote:

hi, yes i'm back.... i had a panini ^_^ the block looks good... parky, why is that over cmplicating things?

Mmmmmmm. Yum! ^o^ (Mouth open for more!)

I've got no ideas for blocks now.  sad
Have you? (hopeful


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#1152 2010-04-13 08:56:33

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: Panther development thread

MathWizz wrote:

Sperry wrote:

Morning everyone! How are we getting on?

Oh my gosh!!! nXIII posted. Shame having school when everyone else is off. Oh well. Have fun at school today nXIII!

I still don't know how to get my block to work though. I thought about using some sring ops so I'm currently seeing what I can do with it. I'll get back to you on that one.

I think we're going to run out of block ideas and then we won't be able to release another version of Panther!!! Oh No!  sad

See you later guys

I'm not off.  sad

Oh.. I'm sorry to hear that  sad  . Going to school soon?


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#1153 2010-04-13 08:57:07

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Panther development thread

Sperry wrote:

Wait!!!!!

I got an idea!
Because #rounded: rounds to the nearsest 1, what if we divide the number by what they want it rounded to, then pass it into rounded, then multiply by what they want it rounded to again, and presto!

Do ya think it'll work?
I'll go test my methods!

That's how I do it in regular Scratch, and I knew how to do it since you first suggested it. :p


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#1154 2010-04-13 08:58:59

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Panther development thread

Sperry wrote:

MathWizz wrote:

Sperry wrote:

Morning everyone! How are we getting on?

Oh my gosh!!! nXIII posted. Shame having school when everyone else is off. Oh well. Have fun at school today nXIII!

I still don't know how to get my block to work though. I thought about using some sring ops so I'm currently seeing what I can do with it. I'll get back to you on that one.

I think we're going to run out of block ideas and then we won't be able to release another version of Panther!!! Oh No!  sad

See you later guys

I'm not off.  sad

Oh.. I'm sorry to hear that  sad  . Going to school soon?

The good news is that I'm virtual schooled.  big_smile  So I can pop in here every now and then.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#1155 2010-04-13 09:02:26

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Panther development thread

SeptimusHeap wrote:

Sperry wrote:

SeptimusHeap wrote:

Estimate ___ to nearest ___.

blockSpec:

Code:

('estimate %n to %nths place' #r #est:ToNearest:)

instance:

Code:

est: t1 ToNearest: t2 
    | t3 t4 t5 |
        t3 _ t1 * t2.
    t4 _ t3 rounded.
    t5 _ t4 / t2.
    ^ t5

It works!

Ha lol,

Same functionality as my block AND same instance code [ERROR: fAiL] (apart fro the title)!
You can do that with my block!

sparks your back! Do you like my new block?

It rearranges * and /.

Did you know that you can simplify the code a lot?

Code:

est: t1 ToNearest: t2
        ^ ((t1 / t2) rounded) * t2

http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#1156 2010-04-13 09:03:11

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: Panther development thread

MathWizz wrote:

Sperry wrote:

Wait!!!!!

I got an idea!
Because #rounded: rounds to the nearsest 1, what if we divide the number by what they want it rounded to, then pass it into rounded, then multiply by what they want it rounded to again, and presto!

Do ya think it'll work?
I'll go test my methods!

That's how I do it in regular Scratch, and I knew how to do it since you first suggested it. :p

Oh.. Why didn't you tell me? Did you want me work it out for myself?

MathWizz wrote:

The good news is that I'm virtual schooled.  big_smile  So I can pop in here every now and then.

Ha, good thing that is!


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#1157 2010-04-13 09:51:02

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

Re: Panther development thread

sparks wrote:

markyparky56 wrote:

Uh... thats over complicating things...

explain?

Having to code what it gets off a webpage is annoying and inpractical.


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

 

#1158 2010-04-13 09:59:01

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

Re: Panther development thread

markyparky56 wrote:

sparks wrote:

markyparky56 wrote:

Uh... thats over complicating things...

explain?

Having to code what it gets off a webpage is annoying and inpractical.

well, the webpage is read in HTML, so you have all that code too.
to get the piece of text:

"$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]
[txt18=hello and welcome!]"

which contains my parsering system and nothing else, appears like this:

        <!-- WEEBLY_START_CONTENT --><div id='weebly_page_content_container'><div  class="paragraph" style=" text-align: left; ">$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]<br />[txt18=hello and welcome!]<br /></div>

... and that's line 54. so you already have to filter out the useful line, and get rid of the useless html text to either end to, leaving you with letters 124 - length of line -12 of line 54 of a total 226 lines of unhelpful text.

So you see that there is actually a HECK of a lot of filtering needed already.


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

Offline

 

#1159 2010-04-13 10:01:21

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

Re: Panther development thread

note, the idea of the $$$ is that each line can be quickly searched by Panther for that symbol to see if the line has any worth.


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

Offline

 

#1160 2010-04-13 10:01:47

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

Re: Panther development thread

sparks wrote:

markyparky56 wrote:

sparks wrote:


explain?

Having to code what it gets off a webpage is annoying and inpractical.

well, the webpage is read in HTML, so you have all that code too.
to get the piece of text:

"$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]
[txt18=hello and welcome!]"

which contains my parsering system and nothing else, appears like this:

        <!-- WEEBLY_START_CONTENT --><div id='weebly_page_content_container'><div  class="paragraph" style=" text-align: left; ">$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]<br />[txt18=hello and welcome!]<br /></div>

... and that's line 54. so you already have to filter out the useful line, and get rid of the useless html text to either end to, leaving you with letters 124 - length of line -12 of line 54 of a total 226 lines of unhelpful text.

So you see that there is actually a HECK of a lot of filtering needed already.

So adding in BBcode, which is only found of forums, into that isn't gong to help.


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

 

#1161 2010-04-13 10:02:04

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: Panther development thread

sparks wrote:

markyparky56 wrote:

sparks wrote:


explain?

Having to code what it gets off a webpage is annoying and inpractical.

well, the webpage is read in HTML, so you have all that code too.
to get the piece of text:

"$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]
[txt18=hello and welcome!]"

which contains my parsering system and nothing else, appears like this:

        <!-- WEEBLY_START_CONTENT --><div id='weebly_page_content_container'><div  class="paragraph" style=" text-align: left; ">$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]<br />[txt18=hello and welcome!]<br /></div>

... and that's line 54. so you already have to filter out the useful line, and get rid of the useless html text to either end to, leaving you with letters 124 - length of line -12 of line 54 of a total 226 lines of unhelpful text.

So you see that there is actually a HECK of a lot of filtering needed already.

Yup, alot of filtering. Would you like me to help? I've made a good filter for my browser (see siggy). I'd be glad to help.


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#1162 2010-04-13 10:10:21

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

Re: Panther development thread

well thank you! the idea is that we can distribute a Panther project that connects to the Panther site, and downloads news and suchlike to be loaded directly to the project, so people can see what's going on in a novel and interesting way. It will also be a great way for them to learn how to use the file blocks.

the idea of the "bb code" that markyparky isn't that fond of, is that seeing as we now have the colour blocks, we can store images as hexadecimal text and re-render it. so by using the bb style code, Panther can read the text off the web page and render a small thumbnail, display ordinary text or even display it as a speech bubble so that we have a colourful, interactive way of displaying data.


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

Offline

 

#1163 2010-04-13 10:12:11

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Panther development thread

markyparky56 wrote:

So adding in BBcode, which is only found of forums, into that isn't gong to help.

Why is it not gong to help?  tongue


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#1164 2010-04-13 10:15:02

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

Re: Panther development thread

Just had a great idea, I'll email it to you once I'm done.


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

 

#1165 2010-04-13 10:15:55

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Panther development thread

Where is the updated Panther? I can't find it.


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#1166 2010-04-13 10:20:00

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

Re: Panther development thread

MathWizz wrote:

Where is the updated Panther? I can't find it.

Here


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

 

#1167 2010-04-13 10:22:23

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

Re: Panther development thread

oh, the download password for the Panther files changed, nXIII thought it was too short.
log in to panther talk to see it. it's under Sparks


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

Offline

 

#1168 2010-04-13 10:23:53

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: Panther development thread

sparks:

How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.

How 'bout it?

I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#1169 2010-04-13 10:26:50

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

Re: Panther development thread

sparks wrote:

oh, the download password for the Panther files changed, nXIII thought it was too short.
log in to panther talk to see it. it's under Sparks

You changed it again!? WHY!!!! I liked the other one. The new one is even shorter!


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

 

#1170 2010-04-13 10:28:32

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

Re: Panther development thread

Sperry wrote:

sparks:

How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.

How 'bout it?

I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?

well firstly, yes that's a great idea, but I didn't think the file blocks could read text files on a web page  hmm

the images have a hexadecimal value for each pixil, the color blocks can convert it. it's not the best way to store it as even a small 50X50pixil image has to be stored as 15000 characters... so it's not going to be a major feature.


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

Offline

 

#1171 2010-04-13 10:29:41

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

Re: Panther development thread

markyparky56 wrote:

sparks wrote:

oh, the download password for the Panther files changed, nXIII thought it was too short.
log in to panther talk to see it. it's under Sparks

You changed it again!? WHY!!!! I liked the other one. The new one is even shorter!

nXIII works in mysterious ways. Panther site pw is the same, download has changed. I'm sorry, I changed originally becuase someone knew the password who shouldn't.


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

Offline

 

#1172 2010-04-13 10:30:47

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

Re: Panther development thread

sparks wrote:

Sperry wrote:

sparks:

How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.

How 'bout it?

I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?

well firstly, yes that's a great idea, but I didn't think the file blocks could read text files on a web page  hmm

the images have a hexadecimal value for each pixil, the color blocks can convert it. it's not the best way to store it as even a small 50X50pixil image has to be stored as 15000 characters... so it's not going to be a major feature.

I think you just stick to making a html de-coder... or find a dll to do itfor you, like the other parts of scratch which need a dll


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

 

#1173 2010-04-13 10:32:19

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

Re: Panther development thread

sparks wrote:

markyparky56 wrote:

sparks wrote:

oh, the download password for the Panther files changed, nXIII thought it was too short.
log in to panther talk to see it. it's under Sparks

You changed it again!? WHY!!!! I liked the other one. The new one is even shorter!

nXIII works in mysterious ways. Panther site pw is the same, download has changed. I'm sorry, I changed originally becuase someone knew the password who shouldn't.

Who knew?


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

 

#1174 2010-04-13 10:33:11

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: Panther development thread

sparks wrote:

Sperry wrote:

sparks:

How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.

How 'bout it?

I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?

well firstly, yes that's a great idea, but I didn't think the file blocks could read text files on a web page  hmm

the images have a hexadecimal value for each pixil, the color blocks can convert it. it's not the best way to store it as even a small 50X50pixil image has to be stored as 15000 characters... so it's not going to be a major feature.

Ok, cool. I might try the text file - can I put a file on the website to test it?

Right, I uderstand the images now, I don't suggest putting them in until the project gets stable - it could make it laggy.


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#1175 2010-04-13 10:34:43

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

Re: Panther development thread

Sperry wrote:

sparks wrote:

Sperry wrote:

sparks:

How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.

How 'bout it?

I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?

well firstly, yes that's a great idea, but I didn't think the file blocks could read text files on a web page  hmm

the images have a hexadecimal value for each pixil, the color blocks can convert it. it's not the best way to store it as even a small 50X50pixil image has to be stored as 15000 characters... so it's not going to be a major feature.

Ok, cool. I might try the text file - can I put a file on the website to test it?

Right, I uderstand the images now, I don't suggest putting them in until the project gets stable - it could make it laggy.

Thats where the stepping blocks come in.  wink


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

 

Board footer