Hello all.
Quick question.
I create a sprite with ID = CreateSprite(whatever), and an ID is returned. Later, I might delete that sprite, and then create others afterwards.
My question is this. Is that ID ever used again by AppGameKit when creating another sprite? The ID numbers keep increasing, but theoretically what happens when we hit ID 2147483647 (the highest 32-bit number)? Does AppGameKit roll back around to the first unused (deleted) ID? And is this behaviour the same for all resources (sprites, memblocks, images, etc.)
I know it's unlikely that I would create 2,147,483,647 of anything, but if, under certain circumstances, AppGameKit reuses an ID, it could mess up the code I'm working on.
I guess what I'm asking is are there any circumstances where AppGameKit would reuse an ID it had used before, if that resource had been deleted.
Thanks,
James