If you open alter the extension of an image file then the AppGameKit Player 10814 will fail to load the image on Android 4.2 and 2.3
For instance take any PNG file and change its extension to X
Attempt to load that image onto a sprite in the AppGameKit player.
It will fail, giving the blank sprite "X" image.
Not sure if this is new or not. Kind of a pain because now I'll have to rewrite a bit of my encryption coding so I also store the file's original extension. Works fine in Windows. Would be nice if it worked across platforms.
You guys think this is a bug or not?
/*
fileID = OpenToWrite("cfbgtile2.ANY",0)
fileToRead = OpenToRead("cfbgtile.png")
repeat
WriteByte(fileID , ReadByte(fileToRead))
until FileEOF(fileToRead) = 1
CloseFile(fileID)
CloseFile(fileToRead)
*/
LoadImage(1 , "cfbgtile2.ANY")
CreateSprite(1 , 1)
SetSpriteSize(1 , 100 , -1)
SetSpritePosition(1 , 0 , 0)
do
sync()
loop
END