Superfluous memory is spent and instead of 1-st texture I am compelled to create them much much.
SDL, HGE, and any modern simple graphic engines already for a long time allow to deduce not all textures entirely as in PureBasic and only its fragment.
And this very much does not suffice in PB.
I am assured that realization not such complex.
I suggest it to realize for example here so:
Code: Select all
LoadSprite(0, "texture.png", #PB_Sprite_Texture)
CreateSprite3D(0,0, x,y, w,h)
; y - y coordinates sprite on textures
; w - width sprite from textures
; h - height sprite from textures
This All!!
