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

#1 2011-02-21 10:51:49

throughthefire
Scratcher
Registered: 2009-07-09
Posts: 1000+

A couple of questions regarding Panther

Okay, I just downloaded it, looks cool, but I don't quite understand some parts, and I have some questions.

First, when you write to a file, does the file HAVE to be in the Panther folder, or could I potentially mod it to make it write to a file in the folder of my choosing.
Second, what is the camera? Is it used to take a picture of the stage?
Finally, how does cloning work? It just kind of confuses me about how it works. Thanks!


Back. For now. Maybe.

Offline

 

#2 2011-02-21 14:00:35

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: A couple of questions regarding Panther

1. The file can be anywhere. Just type the full path into the block.
2. The camera is the camera in your computer.
3. Cloning a sprite will duplicate it. You can use the <am I a clone?> block to see if a sprite is a clone or not. When a sprite is cloned the clone's |When I am created| scripts are run. (I can't remember the block names exactly.)


/* No comment */

Offline

 

#3 2011-02-21 14:18:14

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: A couple of questions regarding Panther

TheSuccessor wrote:

1. The file can be anywhere. Just type the full path into the block.
2. The camera is the camera in your computer.
3. Cloning a sprite will duplicate it. You can use the <am I a clone?> block to see if a sprite is a clone or not. When a sprite is cloned the clone's |When I am created| scripts are run. (I can't remember the block names exactly.)

It's called "when [sprite name] created"  wink

Offline

 

#4 2011-02-21 19:03:44

throughthefire
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: A couple of questions regarding Panther

TheSuccessor wrote:

1. The file can be anywhere. Just type the full path into the block.
2. The camera is the camera in your computer.
3. Cloning a sprite will duplicate it. You can use the <am I a clone?> block to see if a sprite is a clone or not. When a sprite is cloned the clone's |When I am created| scripts are run. (I can't remember the block names exactly.)

Thanks! I guess that's all I needed! I wanted a file system for my new game, so I decided to try making it in panther. Thanks!
Wait, File I/O isn't working, though I typed the FULL path and everything. Help?

Last edited by throughthefire (2011-02-21 19:14:48)


Back. For now. Maybe.

Offline

 

#5 2011-02-21 23:59:05

floppy_gunk
Scratcher
Registered: 2008-11-14
Posts: 500+

Re: A couple of questions regarding Panther

The files are created in the Panther folder (Probably titled Panther 1.0)


http://img163.imageshack.us/img163/1917/2856lg.jpg Get it now!  smile

Offline

 

#6 2011-02-22 04:50:04

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

Re: A couple of questions regarding Panther

As long as the file is findable the I/O blocks should work. Unless you disabled them when it asked you if they should be run (Safety measure to stop possible hackers from damaging computers). If you have a problem please mention it on the Panther thread or on our website.
And yes, the camera is the webcam, if you have one plugged in, you must you use [Open camera] C block to make it work (I think it's to reduce lag).


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

 

#7 2011-02-22 11:59:36

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

Re: A couple of questions regarding Panther

throughthefire wrote:

Wait, File I/O isn't working, though I typed the FULL path and everything. Help?

Did you type the file extension (e.g. filename.txt)?


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

Offline

 

#8 2011-07-06 22:27:49

elimantor
Scratcher
Registered: 2011-04-03
Posts: 76

Re: A couple of questions regarding Panther

i need help too can u edit panther projects on scratch?


scratch 2.0 forever!  big_smile

Offline

 

#9 2011-07-06 22:30:14

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: A couple of questions regarding Panther

elimantor wrote:

i need help too can u edit panther projects on scratch?

No... any panther blocks will show as obsolete...  big_smile


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#10 2011-07-07 05:48:56

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

Re: A couple of questions regarding Panther

throughthefire wrote:

TheSuccessor wrote:

1. The file can be anywhere. Just type the full path into the block.
2. The camera is the camera in your computer.
3. Cloning a sprite will duplicate it. You can use the <am I a clone?> block to see if a sprite is a clone or not. When a sprite is cloned the clone's |When I am created| scripts are run. (I can't remember the block names exactly.)

Thanks! I guess that's all I needed! I wanted a file system for my new game, so I decided to try making it in panther. Thanks!
Wait, File I/O isn't working, though I typed the FULL path and everything. Help?

You should always make sure you included the file type, e.g .txt. If you don't the file cannot be found. If no file path is specified (e.g. file.txt) it will be assumed to be in the same folder of your computer as the "panther1.0.image file. If you specify the file path (e.g. C:\\Users\Username\Documents and settings\My documents\test folder\file.txt) the file can be anywhere on your computer!


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

Offline

 

#11 2011-07-09 19:18:03

Baderous
New Scratcher
Registered: 2011-04-14
Posts: 100+

Re: A couple of questions regarding Panther

I'm going to use this thread if you don't mind.
I have a question about Panther. How does Panther creates a new block, via the "Make a block" button? I am building my own "create a block" feature and I would like to know how Panther implements this stuff.

Offline

 

#12 2011-07-19 07:12:39

Baderous
New Scratcher
Registered: 2011-04-14
Posts: 100+

Re: A couple of questions regarding Panther

Bump.

Offline

 

Board footer