What im trying to do is load an animated image (Animimage) into an array segment, using the following code:
The thing is at the Drawimage it keeps chucking up a error something about Null images and when I look the image isnt loaded into the array. Can images only be loaded into variables now or is there something im not doing right?
strict graphics 640,480,16 IncBin "Data\Apple.PNG" Global Array[10] Array[0] = LoadAnimImage( "incbin::Data\Apple.PNG", 32, 32, 0, 7 ) DrawImage Array[0], rnd( 640 ), rnd( 480 ), 0 flip Repeat;until keydown(KEY_ESCAPE)=1 end
The thing is at the Drawimage it keeps chucking up a error something about Null images and when I look the image isnt loaded into the array. Can images only be loaded into variables now or is there something im not doing right?