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

#651 2010-04-10 05:31:47

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

Re: Panther development thread

Sperry wrote:

I like the name Roar you came up with at the beggining of the topic. Mind if I use it?

I don't mind, but it's SpetimusHeap's name, You'll have to ask him. I'm sure he won't mind, but it's only polite to ask  big_smile


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

Offline

 

#652 2010-04-10 05:36:21

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

Re: Panther development thread

oh, nXIII, I need to report a problem, when I imported an old Scratch project into Panther, all the [set variable to (n)] and [change variable by (n)] blocks were left with blank variables, so that I had to select the correct one again in each box BY HAND!

oh, and I think that a
<file [ ] contains [ ]?> block (like the one for lists)

and a

(list item of [a list] that contains [string]) reporter would be useful too.

Last edited by sparks (2010-04-10 05:41:54)


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

Offline

 

#653 2010-04-10 07:24:00

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

Re: Panther development thread

Wow... that was a lot of reading... anyway, looks like we're gettng there, but NxIII somehow is working on 1.1 when 1.0 isn't even out...


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

 

#654 2010-04-10 07:43:46

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

Re: Panther development thread

I don't care about gray/grey. I spell it grey.


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

Offline

 

#655 2010-04-10 07:45:49

cruelty247
Scratcher
Registered: 2009-07-22
Posts: 100+

Re: Panther development thread

sparks can you write html?

Offline

 

#656 2010-04-10 07:48:48

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

Re: Panther development thread

I can write a bit


You can now reach me on Twitter @johnnydean1_

Offline

 

#657 2010-04-10 07:49:55

cruelty247
Scratcher
Registered: 2009-07-22
Posts: 100+

Re: Panther development thread

me too

Offline

 

#658 2010-04-10 07:51:31

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

Re: Panther development thread

You can use Roar. Panther is WAYYYY better.

Would a (<>) block be useful? I made that and a (_=_) block.


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

Offline

 

#659 2010-04-10 07:52:05

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

Re: Panther development thread

BTW have we made a sound record from mic block yet?


You can now reach me on Twitter @johnnydean1_

Offline

 

#660 2010-04-10 08:15:55

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

Re: Panther development thread

SeptimusHeap wrote:

You can use Roar. Panther is WAYYYY better.

Thanks SeptimusHeap!

NOTE TO SELF: Grab the good names before theyre all gone!  tongue


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

Offline

 

#661 2010-04-10 08:23:01

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

Re: Panther development thread

sparks wrote:

gray... oh yeah, that's spelt grey in England btw

Umm... We spell it that way too...


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

Offline

 

#662 2010-04-10 08:23:17

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

Re: Panther development thread

johnnydean1 wrote:

BTW have we made a sound record from mic block yet?

No.


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

 

#663 2010-04-10 08:26:23

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

Re: Panther development thread

sparks wrote:

oh, nXIII, I need to report a problem, when I imported an old Scratch project into Panther, all the [set variable to (n)] and [change variable by (n)] blocks were left with blank variables, so that I had to select the correct one again in each box BY HAND!

That may be because the variable blocks in Scratch are a SetterMorph, but in the source code they are a CommandBlockMorph.


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

Offline

 

#664 2010-04-10 08:29:21

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

Re: Panther development thread

MathWizz wrote:

sparks wrote:

oh, nXIII, I need to report a problem, when I imported an old Scratch project into Panther, all the [set variable to (n)] and [change variable by (n)] blocks were left with blank variables, so that I had to select the correct one again in each box BY HAND!

That may be because the variable blocks in Scratch are a SetterMorph, but in the source code they are a CommandBlockMorph.

Well...thats annoying... change them then!


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

 

#665 2010-04-10 08:33:23

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Panther development thread

Can you release the private beta? waveosbeta@gmail.com

Last edited by waveOSBeta (2010-04-10 08:33:38)


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#666 2010-04-10 10:12:02

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

Re: Panther development thread

waveOSBeta wrote:

Can you release the private beta? waveosbeta@gmail.com

Uh... no...


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

 

#667 2010-04-10 10:19:11

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

Re: Panther development thread

johnnydean1 wrote:

Yes this would work, but could you make a IP block, like a variable one, so you could have.

Host Mesh
Say (IP ADRESS)
wait 5 seconds
Say (nothing)

I have that IP block in 1.0/1.1/1.whateverItIs

sparks wrote:

er, what? you have yet to update the Panther image in the online .zip folder so how can we try that?

Use the 'switch to costume' lock with a costume named *** camera *** and it should switch to the camera feed. Yet another weird shortcut the Scratch Team took. I just don't have a camera, so it won't work for me. But the costume name should be the following:

Code:

*** camera ***

Make a costume, rename it to that, select it from the dropdown, and run the block. The costumeFromName: code looks like this:

costumeFromName: aString
    "If there is a costume by the given name, return it. Otherwise, return nil."

    | cameraCostume |
    ((aString = '*** camera ***') and:
     [CameraPlugin cameraIsAvailable]) ifTrue: [
        cameraCostume _ CameraMedia new.
        (self class = ScratchStageMorph) ifTrue: [cameraCostume frameExtent: self extent].
        ^ cameraCostume].


    ^ media
        detect: [:el | el isSound not and: [el mediaName = aString]]
        ifNone: [nil]

Sperry wrote:

@NXIII:

I've seen you've added two new catagories in Panther. How do you add new catagories - I've tried many things but none of them seemed to work. Help would be much appreciated.

The new categories can be added by changing ScratchViewerMorph's initialization method 'rebuildCategorySelectors':

...
catList _ #(
        motion        control
        looks        sensing
        sound        operators
        pen            variables
        new ones go here; MUST be even number).
...

Note that you must add skin items for each new command, i.e. if you have 'misc' as a category, you must add 'misc.gif', 'miscOver.gif', and 'miscPressed.gif' to the ScratchSkin folder and reload it. (see the comments in ScratchFrameMorph's class method 'ReadSkinFrom'

MathWizz wrote:

That may be because the variable blocks in Scratch are a SetterMorph, but in the source code they are a CommandBlockMorph.

Yes, that is probably why.

markyparky56 wrote:

Well...thats annoying... change them then!

I REFUSE to change them back. Making a subclass for variables was NOT a smart idea. It made the blockspecs really confusing and the addGenericVariableBlocks method too long and also very odd-looking. They are just normal blocks, there is NO reason why they need their own subclass. In fact, I am DELETING the sublass!

Last edited by nXIII (2010-04-10 10:22:00)


nXIII

Offline

 

#668 2010-04-10 10:24:49

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

Re: Panther development thread

Is there a way to make a defined temp(?) like penHue that is recognized in all code?


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

Offline

 

#669 2010-04-10 10:34:24

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

Re: Panther development thread

nXIII wrote:

Sperry wrote:

@NXIII:

I've seen you've added two new catagories in Panther. How do you add new catagories - I've tried many things but none of them seemed to work. Help would be much appreciated.

The new categories can be added by changing ScratchViewerMorph's initialization method 'rebuildCategorySelectors':

...
catList _ #(
        motion        control
        looks        sensing
        sound        operators
        pen            variables
        new ones go here; MUST be even number).
...

Note that you must add skin items for each new command, i.e. if you have 'misc' as a category, you must add 'misc.gif', 'miscOver.gif', and 'miscPressed.gif' to the ScratchSkin folder and reload it. (see the comments in ScratchFrameMorph's class method 'ReadSkinFrom'

Thanks!

But where is the ScratchSkin folder located?

Thanks again!


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

Offline

 

#670 2010-04-10 10:36:27

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

Re: Panther development thread

SeptimusHeap wrote:

Is there a way to make a defined temp(?) like penHue that is recognized in all code?

HELPPPPPPPPPPP!
H
E
L
P
P
P
P
P
!


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

Offline

 

#671 2010-04-10 10:39:53

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: Panther development thread

How do you get cloneing working? Here's my code:
<when[ spawner ]clicked>
<broadcast[ Spawnsprite

this is on what's being cloned:
<when I receive[ Spawnsprite
<if><(I am a clone  <=> false  )>
clone me
<end>
it only works occassionally, and never in presentation mode.

Last edited by urhungry (2010-04-10 10:41:01)

Offline

 

#672 2010-04-10 10:44:37

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

Re: Panther development thread

urhungry wrote:

How do you get cloneing working? Here's my code:
<when[ spawner ]clicked>
<broadcast[ Spawnsprite

this is on what's being cloned:
<when I receive[ Spawnsprite
<if><(I am a clone  <=> false  )>
clone me
<end>
it only works occassionally, and never in presentation mode.

[/blocks]
It doesn't work in presentation mode for a reason, I will fix that eventually. But it should work otherwise unless your coding is wrong.

Sperry wrote:

Thanks!

But where is the ScratchSkin folder located?

Thanks again!

Are you modding the source code (good for you!) or hacking Scratch (shame on you!)?

Last edited by nXIII (2010-04-10 14:17:56)


nXIII

Offline

 

#673 2010-04-10 10:48:03

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

Re: Panther development thread

nXIII wrote:

Sperry wrote:

Thanks!

But where is the ScratchSkin folder located?

Thanks again!

Are you modding the source code (good for you!) or hacking Scratch (shame on you!)?

I'm using source code! (Good for me!  big_smile   tongue )


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

Offline

 

#674 2010-04-10 10:56:47

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

Re: Panther development thread

urhungry wrote:

How do you get cloneing working? Here's my code:
[blocks]<when[ spawner ]clicked>
<broadcast[ Spawnsprite
[/blocks]
this is on what's being cloned:
[blocks]<when I receive[ Spawnsprite
<if><(I am a clone  <=> false  )>
clone me
<end>[/blocks]
it only works occassionally, and never in presentation mode.

cds56 wrote:

Okay, the clone block:

Code:

('clone this sprite' #- #duplicateNoAttach)
('delete this sprite' #- #undoableDeleteSprite)

I'll bring more in later

Last edited by markyparky56 (2010-04-10 10:57:18)


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

 

#675 2010-04-10 11:28:49

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

Re: Panther development thread

cruelty247 wrote:

sparks can you write html?

yup, a little... why?

SeptimusHeap wrote:

You can use Roar. Panther is WAYYYY better.

why thank you  tongue

WaveOSBeta wrote:

Can you release the private beta? xxxxxxxxxxxxxxxxx

Please don't release personal information into the forum... we don't want to know. (Jk, but it's dangerous for your computer)

nXIII wrote:

Are you modding the source code (good for you!) or hacking Scratch (shame on you!)?

Wow, really encouraged him/her to tell the truth there, huh?  tongue


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

Offline

 

Board footer