We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
LoadBytes (Read 412 times)
LoadBytes
May 19th, 2006, 8:56pm
 
Hi,
I am making a simple platform game using processing and I am experiencing difficulties using the loadBytes syntax. The code itself is not the issue as it seems to work fine. The problem is that even though I can see the file Highscores.dat file in my sketch folder, the program cannot find it upon launch.

I am using a dual 2Ghz G5 mac using OS 10.4.6.

The file is showing up as a graphic convertor file for some reason. Is this stopping it from being recognised?

Does anyone have any ideas?

Thanks

Andy
Re: LoadBytes
Reply #1 - May 19th, 2006, 9:30pm
 
it should be inside a folder called data inside your sketch folder..

-seltar
Re: LoadBytes
Reply #2 - May 19th, 2006, 9:34pm
 
I have tried moving the file into the data folder but that has made no difference. The file was created using the saveBytes syntax within processing so I would have thought that it should be in the correct place?
Page Index Toggle Pages: 1