This site requires JavaScript, please enable it in your browser!
Greenfoot back
Busch2207
Busch2207 wrote ...

2012/3/3

Too many Datas

Busch2207 Busch2207

2012/3/3

#
hey guys. I've got a big Problem... I'm working on a big adventure-game If I play my new game in Greenfoot, it works fine... But when I export it, it always stops, by loading a new world... I think, the reason is, that I need to many main memory... (For each world a two dimensional int-array) I need two dimensional arrays with 1500 on 4000 and one with 5000 on 1000. And It always stops, when I want to create the third array in the exported one ( not depending on which one it is ) What can I do?
K_O_P K_O_P

2012/3/3

#
What about using byte instead of int?
Busch2207 Busch2207

2012/3/3

#
That's a brilliant idea! It works perfekt! :D Thank you. I just have heard, that it needs longer, to load a byte variable, than an int variable. Is this true?
You need to login to post a reply.