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

#1 2012-06-14 20:13:10

hart20
New Scratcher
Registered: 2012-06-12
Posts: 9

Hello

Brand new to scratch.  Trying to figure out how to send my game data to a text file.

Offline

 

#2 2012-06-15 00:47:01

travisv
New Scratcher
Registered: 2012-06-15
Posts: 2

Re: Hello

Hello Hart! I am Travis and also a new guy to this forum. Scratch is a wonderful site to share your new ideas & imagination.

Offline

 

#3 2012-06-15 02:40:24

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Hello

Add your data to a list and right-click.
Select 'Export list'.

If you mean a block that saves data to a text file while your project is running, try Panther which has such blocks under 'Files'.


http://trinary.tk/images/signature_.php

Offline

 

#4 2012-06-15 04:54:32

Misso998
New Scratcher
Registered: 2012-06-01
Posts: 38

Re: Hello

hello

Offline

 

#5 2012-06-15 14:08:56

hart20
New Scratcher
Registered: 2012-06-12
Posts: 9

Re: Hello

Thank you trinary, I've tried Panther, but I can't find the text file after I use the write __ to __ file, so either I don't know where to look for the text file.  I've tried specifying the location (e.g. C:\scratch projects\data.txt) and still can't see it.  Any other thoughts?

Offline

 

#6 2012-06-16 05:30:47

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Hello

Can you find the text file outside of Scratch?


http://trinary.tk/images/signature_.php

Offline

 

#7 2012-06-16 11:10:48

Haiming
Scratcher
Registered: 2011-08-20
Posts: 1000+

Re: Hello

Hi! View my Scratch Introduction project for some tips about Scratch! Thanks!

Offline

 

#8 2012-06-16 14:24:06

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

Re: Hello

hart20 wrote:

Thank you trinary, I've tried Panther, but I can't find the text file after I use the write __ to __ file, so either I don't know where to look for the text file.  I've tried specifying the location (e.g. C:\scratch projects\data.txt) and still can't see it.  Any other thoughts?

Panther writes the file to the same folder that contains panther's .image file. So basically wherever you saved your Panther download, there's the file! You can also specify the file path within the write block by doing:

write [text] to file [C:\Desktop\test.txt]

for example!

Great to see people are still using and downloading Panther!  tongue


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

Offline

 

Board footer