I have a tilemap (640 x 640 pixel) with 10 x 10 tiles á 64 x 64 pixel. Now, I want to create some 3D-Sprites (64 x 64 pixel) from this map.
With Windows the only way is:
Code: Select all
UseBuffer(Tilemap)
t1 = GrabSprite(#PB_Any, 000, 000, 64, 64, #PB_Sprite_Texture)
t2 = GrabSprite(#PB_Any, 128, 064, 64, 64, #PB_Sprite_Texture)
....
UseBuffer(#PB_Default)Don't work: ClipSprite + CopySprite generates a duplicate from source without clipping...


