Visit the panther site
How to add one of these blocks:
To use the Panther coded blocks, you need to download Panther from this link.
How do I add a block to Panther?
Motion
Control
Looks
Sensing
Sound
Operators
Pen
Variables
Files
Colors
home
Last edited by sparks (2011-01-03 13:42:11)
Offline
Motion
No blocks. Be the first to post a Panther motion block! Just comment below with the code!
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-12 07:22:53)
Offline
Control
Shared by Sparks
Block number: [1] [view source] [What is this?]
What this block does:
this block opens the camera window and lets you take photos.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by Billyedward
Block number: [2] [view source] [What is this?]
What this block does:
this block opens your default web browser with the webpage typed into the box if the browser is already open, it will open the page in a new tab on firefox, a new window in internet explorer).
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by Unknown
Block number: [3] [view source] [What is this?]
What this block does:
This block creates a clone of the sprite that runs it. Unlike the standard clone blocks in Panther, this one creates a clone that does not dissapear once the stop button is pressed. If you want the clone to appear at the mouse pointer and let you place it, just don't put the NoAttach part into the CYOB window. note, does not work in presentation mode.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by Unknown
Block number: [4] [view source] [What is this?]
What this block does:
This block permenantly deletes the sprite that runs it. Unlike the standard delete block in Panther, this block can delete originial (not a clone) sprites so use it with care. note, does not work in presentation mode.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by Billybob-Mario
Block number: [5] [view source] [What is this?]
What this block does:
This block opens the save window and prompts you to save the project.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by zorket & adapted to Panther by Sparks
Block number: [6] [view source] [What is this?]
What this block does:
This block opens up the scratch homepage!
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by sparks (Based on the above block)
Block number: [7] [view source] [What is this?]
What this block does:
This block opens the "my stuff" page for the username you type.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by Sparks, based on the scratch block by Zorket.
Block number: [8] [view source] [What is this?]
What this block does:
This block turns on turbo speed, letting you compute and stamp much faster! (at the price of graphic quality)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by Sparks, based on the scratch block by Zorket.
Block number: [9] [view source] [What is this?]
What this block does:
This block turns off turbo speed. ( the pair for the block above.)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by Sparks, based on the scratch block by Zorket.
Block number: [10] [view source] [What is this?]
What this block does:
This block lets you set the stepping speed. (0 = turbo speed, 1 = normal speed).
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-16 15:05:26)
Offline
Looks
Shared by sonicjosh, converted by Sparks
Block number: [11] [view source] [What is this?]
What this block does
Opens the paint editor and lets you paint a new sprite. Good for games where people want to choose their own avatars.
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-16 15:04:09)
Offline
Sensing
Shared by johnnydean1
Block number: [12] [view source] [What is this?]
What this block does:
opens a dialog box with yes and no options.
________________________________________________________________________________
Shared by johnnydean1
Block number: [13] [view source] [What is this?]
What this block does:
opens a dialog with a text box. Sets the answer variable to your answer. (yes, this block already exists in Panther )
________________________________________________________________________________
Shared by johnnydean1
Block number: [14] [view source] [What is this?]
What this block does:
This block tells a user if they are in presentation mode or not. Very useful.
________________________________________________________________________________
Shared by johnnydean1
Block number: [15] [view source] [What is this?]
What this block does:
This block reports true if you click the sprite.
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-16 13:20:01)
Offline
Sound
Shared by Sparks
Block number: [16] [view source] [What is this?]
What this block does:
this block opens the sound recorder and lets you record sound.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by PlayWithFire
Block number: [17] [view source] [What is this?]
What this block does:
this block allows you to import a sound.
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-16 13:26:40)
Offline
Operators
Shared by nXIII
Block number: [18] [view source] [What is this?]
What this block does:
This block tells you wether the text in the first box contains the text in the second. Excellent for searching for keywords in an input answer.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by bbeb
Block number: [19] [view source] [What is this?]
What this block does:
This block reports the negative value of the number you enter. e.g. 4 will report -4.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Shared by Sparks
Block number: [20] [view source] [What is this?]
What this block does:
This block reports it's contents. Useful for dropping into areas that normally don't accept text.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Converted from Scratch to Panther by Sparks
Block number: [21] [view source] [What is this?]
What this block does:
Reports wether or not the two booleans are equal.
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-16 16:15:17)
Offline
Pen
No blocks. Be the first to post a Panther pen block! Just comment below with the code!
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-12 07:25:20)
Offline
Variables
Shared by nXIII
Block number: [22] [view source] [What is this?]
What this block does:
This block is very useful for changing the background colour of any variable watcher! Get rid of that horrible orange colour and go with something that compliments your project's colour scheme!
________________________________________________________________________________
Shared by johnnydean1
Block number: [23] [view source] [What is this?]
What this block does:
reports which line of a list contains the string.
________________________________________________________________________________
Shared by johnnydean1
Block number: [24] [view source] [What is this?]
What this block does:
reports a list as a single string with a chosen breaker seperating lines.
________________________________________________________________________________
Shared by johnnydean1
Block number: [25] [view source] [What is this?]
What this block does:
converts a string to a list, starting a new line using a chosen breaker as a marker.
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-16 17:05:54)
Offline
Files
Shared by johnnydean1
Block number: [26] [view source] [What is this?]
What this block does:
Clears a chosen line in a file.
________________________________________________________________________________
Shared by johnnydean1
Block number: [27] [view source] [What is this?]
What this block does:
replaces the text on a chosen line in a file.
________________________________________________________________________________
Shared by johnnydean1
Block number: [28] [view source] [What is this?]
What this block does:
tells you if a file exists or not.
________________________________________________________________________________
Shared by johnnydean1
Block number: [29] [view source] [What is this?]
What this block does:
Creates a new file. Note, due to a glitch in the Panther code, the "clear file $String$ block that comes with Panther can also be used if a non-existant file is entered into the block.
________________________________________________________________________________
Shared by johnnydean1
Block number: [30] [view source] [What is this?]
What this block does:
Creates a new file in a specified location.
________________________________________________________________________________
Shared by johnnydean1
Block number: [31] [view source] [What is this?]
What this block does:
This block tells you if a certain computer is hosting a mesh.
________________________________________________________________________________
Shared by johnnydean1
Block number: [32] [view source] [What is this?]
What this block does:
This block tells you if you are in a mesh or not.
________________________________________________________________________________
Shared by johnnydean1
Block number: [33] [view source] [What is this?]
What this block does:
This block tells you if you have joined a mesh or not.
________________________________________________________________________________
Shared by johnnydean1
Block number: [34] [view source] [What is this?]
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-16 17:29:04)
Offline
Colors
Shared by johnnydean1
Block number: [35] [view source] [What is this?]
What this block does:
turns a binary number into a colour.
^ Back to Panther Blocks
^ Back to Contents
Last edited by sparks (2010-12-16 17:29:45)
Offline
New Title:
EDIT: fixed off-center-ness
Block Images
Motion
Control
Looks
Sensing
Sound
Operators
Pen
Variables
Files
Colors
Table of Contents for Scratch Blocks:
Motion
Control
Looks
Sensing
Sound
Operators
Pen
Variables
_________________________
BYOB:
Motion
Control
Looks
Sensing
Sound
Operators
Pen
Variables
_________________________
Panther:
Motion
Control
Looks
Sensing
Sound
Operators
Pen
Variables
Files
Colors
[color=#][/color]
[img][/img]
Last edited by nXIII (2010-09-16 17:59:42)
Offline
I'm thinking I will have the Panther blocks linked to Panther projects. You can download the project and then import the project containing that block into your project?
EDIT: hmm, nXIII, you might want to look at this. I'm finding that after saving a project in panther 1.0, I can open but not import it :S
Last edited by sparks (2010-09-17 13:15:55)
Offline
Whoah! You changed it entirely!
I have a useless block, operators, but some people might want it. It is: 'report [string]' block!
blockspec:
('report %s' #r #report: 'hello')
report: t1 ^ t1
And you have it!
p.s. I left this somewhere else first
p.p.s. typed in wrong!!!
Last edited by zorket (2010-09-19 14:40:11)
Offline
Another Control block!
Wow, that section should be pretty popular with these blocks.
The [go to scratch website...] block is below. Enjoy it!
blockspec:
('go to scratch website...' #- #link)
link Cursor wait showWhile: [ScratchPlugin primOpenURL: 'http://scratch.mit.edu/']
Offline
Added your scratch website block, converted it into a Panther block also, and then made a variation that lets you look at a chosen username's projects page! Thank you very much for the submissions!
Offline
I notice that some of the Scratch blocks have been submitted as a Panther (or sometimes BYOB) block and visa versa and I think this is awesome! The blocks and ideas in this library should be avaliable to all platforms where possible, so it would be really cool if people could look through and try and convert a few of the blocks into ones supported by a different platform!
Offline
Credit to rubiks_cube_guy for the <I receive> block.
blockspec:
('I receive %e' #b #seesBroadcast:)
seesBroadcast: t1 | t2 | t2 _ ScratchEvent allInstances. t2 reverseDo: [:t3 | t3 name = t1 ifTrue: [^ true]. nil]. ^ false
Once again, credit to rubiks_cube_guy!!!
Am I helpful for this topic? (Some have been stolen from others, but I gave credit)
Last edited by zorket (2010-09-22 07:36:57)
Offline