I have FOUR textures 512x512 and I want to create a big one of 1024x1024 with these four. I think I have to use CREATESCREEN to put all together (because GRABSPRITE only captures the screen).
I have this code which works properly on Windows but doesn't on the iPhone:
SETCURRENTDIR("Media")
LOADSPRITE "iso_texture1.png",1
LOADSPRITE "iso_texture2.png",2
LOADSPRITE "iso_texture3.png",3
LOADSPRITE "iso_texture3.png",4
CREATESCREEN 0,5,1000,1500
USESCREEN 0
DRAWSPRITE 1,0,0
DRAWSPRITE 2,512,0
DRAWSPRITE 3,0,512
DRAWSPRITE 4,512,512
PRINT ".",0,0 //If I don't put this print (odd behavior) I can't see the last DRAWSPRITE
USESCREEN -1
CLEARSCREEN RGB(64, 64, 0)
STARTPOLY 5
POLYVECTOR 0, 0, 0, 0
POLYVECTOR 0, 300, 0, 1000
POLYVECTOR 300, 300, 1000, 1000
POLYVECTOR 300, 0, 1000, 0
ENDPOLY
PRINT PLATFORMINFO$("GLEX:glBindFramebufferEXT"),100,100
PRINT "Click to end",100,200
SHOWSCREEN
MOUSEWAIT
I think this is a bug because in the documentation there is no mention of iPhone problems.
Many thanks!!