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

#2951 2010-05-30 08:05:08

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: Panther development thread

WHOA I just downloaded Panther IT IS AWSOME!
BTW I can't believe HOW LONG this forum thread is!

Last edited by rubiks_cube_guy238 (2010-05-30 08:05:40)


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#2952 2010-05-30 08:46:32

climber59
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: Panther development thread

bharvey wrote:

climber59 wrote:

They are booleans in Panther that just say true or false and I can't think of a use for them.

Think about a block that slightly varies its behavior to one of two possibilities.  For example:

[ <a> = <b> WITH CASE SENSITIVITY <t/f> ]

If the third input is <true> then "a" and "A" are unequal; if the third input is <false> then "a" and "A" are equal.

I don't totally understand that but why have blocks for it if you can just do <0=0> and <0=1>?


Check out my projects if you have a chance.

Offline

 

#2953 2010-05-30 09:51:40

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: Panther development thread

climber59 wrote:

I don't totally understand that but why have blocks for it if you can just do <0=0> and <0=1>?

It's true that you can get around the lack of <true> and <false> but languages ought to give you a direct way to generate the constants of the language.  It's kind of as if you had to say <char 65> every time you wanted a letter "A"!

Scratch's handling of Boolean values has always been a little kludgy.  In some contexts, it uses the text strings "true" and "false"; in other contexts it uses the numbers 1 and 0 instead.  The Boolean blocks kind of promote Booleans to being taken seriously as a data type.  We included <true> and <false> blocks in BYOB, too, even though we were bending over backward not to introduce a lot of extra blocks.

In a perfect world, when you evaluate something like <1=0> the reported value would be the <false> block, not "false" or 0.  Alas, too many Scratch projects depend on the old behavior for us to dare to fix it!

Last edited by bharvey (2010-05-30 12:44:58)


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#2954 2010-05-30 19:05:50

ethanco
Scratcher
Registered: 2009-09-28
Posts: 12

Re: Panther development thread

To the developers of panther: I can make the online player. I have some knowledge of java, and my dad programs it for a living. Want My help?  smile

Offline

 

#2955 2010-05-30 19:10:13

ethanco
Scratcher
Registered: 2009-09-28
Posts: 12

Re: Panther development thread

Also, You guys need a hyperlink block.  smile
<go to [http://pantherprogramming.weebly.com/]>

Offline

 

#2956 2010-05-30 20:14:16

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

Re: Panther development thread

ethanco wrote:

To the developers of panther: I can make the online player. I have some knowledge of java, and my dad programs it for a living. Want My help?  smile

No, we have MathWizz already, but thanks!

Unless you can have CYOB work...


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

Offline

 

#2957 2010-05-30 22:23:26

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

Re: Panther development thread

SeptimusHeap wrote:

ethanco wrote:

To the developers of panther: I can make the online player. I have some knowledge of java, and my dad programs it for a living. Want My help?  smile

No, we have MathWizz already, but thanks!

Unless you can have CYOB work...

CYOB is written in Smalltalk!


nXIII

Offline

 

#2958 2010-05-31 00:41:22

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: Panther development thread

nXIII wrote:

CYOB is written in Smalltalk!

If you google "Smalltalk in Java" you'll find pointers to possible solutions to that problem.  Admittedly it'd be a big effort to integrate a Smalltalk-in-Java with the rest of the player.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#2959 2010-05-31 07:56:40

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Panther development thread

Yes, made a project that scans a video feed of you at 10% of the size and then will record where your skin colour is. I can use this to make a game where you touch yellow blobs.


You can now reach me on Twitter @johnnydean1_

Offline

 

#2960 2010-05-31 10:00:59

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

Re: Panther development thread

How would these blocks (for dialogs) look to you guys?

Open dialog [info] with text [text] and buttons in list [list] -shows a dialog with a button for every list item.

(link to [scratch.mit.edu]) - Put this in a dialog, and it's a blue hyperlink, like this:

Show dialog blah with text (link to [blah.com])


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

Offline

 

#2961 2010-05-31 10:03:02

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Panther development thread

Cool...


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#2962 2010-05-31 10:53:11

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Panther development thread

I would like that. And youd you make a <in mesh block?> as you have <hosting mesh?> block. I would love them. Also could you make a |colour of pixels |X Y| to |X| |Y| | And it would mix the colour of all the pixles in that range. I need it (read above).

Also perfect the cloneing as it does not always work.


You can now reach me on Twitter @johnnydean1_

Offline

 

#2963 2010-05-31 11:05:31

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

Re: Panther development thread

Cloning DOES work...

And couldn't you do this:

(Make a variable called pixels, and a color called skin)

set skin to color at pixel ?, ?
set pixels to 1
repeat (number of pixels to scan)
set pixels to mix (skin) (pixels) and 1 color at pixel ? ?
change pixels by 1


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

Offline

 

#2964 2010-05-31 11:09:36

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Panther development thread

Thats what im doing, but its long. And with cloning. Sometimes they delete themselfs. Before the porject is stopped and without deleting.


You can now reach me on Twitter @johnnydean1_

Offline

 

#2965 2010-05-31 11:11:22

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

Re: Panther development thread

johnnydean1 wrote:

Thats what im doing, but its long. And with cloning. Sometimes they delete themselfs. Before the porject is stopped and without deleting.

When you stop or click green flag, clones are deleted...

Plus, it works fine for me.


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

Offline

 

#2966 2010-05-31 13:44:15

shamrocker
Scratcher
Registered: 2009-03-19
Posts: 1000+

Re: Panther development thread

This is awesome! Panther rules.  big_smile


http://i46.tinypic.com/2s1b32e.png
respect the oxford comma

Offline

 

#2967 2010-05-31 15:45:23

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: Panther development thread

SeptimusHeap wrote:

set skin to color at pixel ?, ?
set pixels to 1
repeat (number of pixels to scan)
set pixels to mix (skin) (pixels) and 1 color at pixel ? ?
change pixels by 1

If I'm understanding this program correctly (I'm not sure I totally understand MIX), this will give pixels near the end higher weight in the mixture than pixels near the beginning.  You really want MIX to be variadic and/or take a list of colors as input.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#2968 2010-05-31 15:54:31

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Panther development thread

Thats true, never thought about that. I have made a scanner that does it, I sent it for upload ages ago
\ /
00
__

(Angry face)


You can now reach me on Twitter @johnnydean1_

Offline

 

#2969 2010-05-31 16:03:47

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

Re: Panther development thread

johnnydean1 wrote:

Thats true, never thought about that. I have made a scanner that does it, I sent it for upload ages ago
\ /
00
__

(Angry face)

Well its not likely to go up for a while now. Sparks is the one who gets all the emails.


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

 

#2970 2010-05-31 16:11:38

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Panther development thread

Shal I post it somewhere else and have you upload it?


You can now reach me on Twitter @johnnydean1_

Offline

 

#2971 2010-05-31 16:15:06

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

Re: Panther development thread

johnnydean1 wrote:

Shal I post it somewhere else and have you upload it?

I don't know how to.


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

 

#2972 2010-05-31 16:32:27

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Panther development thread

Cant you login to the website and add a new project?


You can now reach me on Twitter @johnnydean1_

Offline

 

#2973 2010-05-31 17:45:20

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Panther development thread

IDEA: Object grouping. So you could say if touching group1

and group1 contains (
sprite 1
sprite 2
)
so it saves code.


You can now reach me on Twitter @johnnydean1_

Offline

 

#2974 2010-05-31 17:56:37

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: Panther development thread

johnnydean1 wrote:

IDEA: Object grouping. So you could say if touching group1

and group1 contains (
sprite 1
sprite 2
)
so it saves code.

Yes, this would be useful, but it's just one of a bazillion useful combinations: if touching one of these colors, or if one of these keys is pressed, or if the sprite's position is within this rectangle...

That's why it should be easy for users to define things like this themselves.  Without learning Smalltalk.  smile
</advt>


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#2975 2010-05-31 18:02:41

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Panther development thread

So you agree? and who else does?


You can now reach me on Twitter @johnnydean1_

Offline

 

Board footer