Sprites not loading on GP2X

Previous topic - Next topic

Kitty Hello

what!? the ./ is required now? In GLBasic? It should now.

saboteur

Quote from: GernotFrischwhat!? the ./ is required now? In GLBasic? It should now.
What can i say, I had to do this to get my code working on my 2x.

mookmac

Quote from: saboteurI checked my recent GP2x code and i use the following :

   LOADSPRITE "./1st_exit.png" ,7

it was important to use the ./ at the start so it knew the images were in the same directory as the program - or if you have them in a subdirectory it would  be ./subdirectory/picture.png

hope this helps
Briliiant! I made that change and now it works perfectly! Thanks so much!!

Kitty Hello

OK, then it's a bug. Strange, but I'll fix it.

Lazarus

So "./" isn' t required anymore, yes?

Kitty Hello

no, it should not. And I never used it and it worked for me.

Kitty Hello

Fixed. The gmenu2x might have put you in the wrong place as default directory.