10-04-2021, 06:51 PM
(This post was last modified: 10-04-2021, 06:52 PM by JaumeAlcazo.)
Check out this vid.
I initialized the engine with: TLN_Init(width,height,10,1000,50);
So, 1000 sprites limit.
Everytime I walk (offscreen) you can see sprites accumulating.
Well, now I'll put this elsewhere to try to find the culprit: cout<<"Next available sprite: "<<TLN_GetAvailableSprite()<<"\n";
I initialized the engine with: TLN_Init(width,height,10,1000,50);
So, 1000 sprites limit.
Everytime I walk (offscreen) you can see sprites accumulating.
Well, now I'll put this elsewhere to try to find the culprit: cout<<"Next available sprite: "<<TLN_GetAvailableSprite()<<"\n";