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!
Offline
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.)
Offline
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"
Offline
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)
Offline
The files are created in the Panther folder (Probably titled Panther 1.0)
Offline
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).
Offline
elimantor wrote:
i need help too can u edit panther projects on scratch?
No... any panther blocks will show as obsolete...
Offline
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!
Offline
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