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
Offline
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)
Offline
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...
Offline
sparks can you write html?
Offline
me too
Offline
You can use Roar. Panther is WAYYYY better.
Would a (<>) block be useful? I made that and a (_=_) block.
Offline
BTW have we made a sound record from mic block yet?
Offline
johnnydean1 wrote:
BTW have we made a sound record from mic block yet?
No.
Offline
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.
Offline
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!
Offline
Can you release the private beta? waveosbeta@gmail.com
Last edited by waveOSBeta (2010-04-10 08:33:38)
Offline
waveOSBeta wrote:
Can you release the private beta? waveosbeta@gmail.com
Uh... no...
Offline
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:
*** 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)
Offline
Is there a way to make a defined temp(?) like penHue that is recognized in all code?
Offline
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!
Offline
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
!
Offline
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
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)
Offline
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!
)
Offline
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)
Offline
cruelty247 wrote:
sparks can you write html?
yup, a little... why?
SeptimusHeap wrote:
You can use Roar. Panther is WAYYYY better.
why thank you
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?
Offline