Hi
Just as of now my app is building okay once then on close it deletes most items in the media folder?
Anyone else seen this issue?
I luckily have backups in the distribute folders so I didnt need to re-create them
Well I found the culprit
It was this function...it was deleting my media files on test running...
FUNCTION Check_AndroidMem: File$
LOCAL Memory=JavaCall$("memory:check")
IF Memory<100
KILLFILE File$
KILLFILE GETCURRENTDIR$()+"/"+File$
KILLFILE GETCURRENTDIR$()+File$
ENDIF
ENDFUNCTION
I'm thinks I'm fixed that for a year or two years ago... And might have reappear.
The function is no longer used from 2.7.x and is done automatic. The function was designed to save internal memory when it's low.
Just add ?IFDEF android to fix it. Sorry for the bug.
No worries - btw - I loved Catchout!
Nice retro feel and colour pallette
but the other way, just remove Check_AndroidMem, since its does automatic in Java now. Any reference to that can been removed too.
Thanks for the comment for Catchout. Was fun to create such a lowres game (more lowres than normal). Kasper did the default colour palette, but you can define that your self in options.