Create Sprite, FreeSprite

Blitz3D Forums/Blitz3D Programming/Create Sprite, FreeSprite

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i dont have it anymore... it dissapeared when i re-wrote that engine.
but it kinda went like this
while not keyhit(1)
  cls
   t% = createsprite()
   

   positionentity(t%,.5,.5,50)
   renderworld()
   freeentity(t%)
wend


it started to feel like the computer was memory fragmenting and started to judder as new sprites where being created
the memory went down and down cos the freentity wasn't being executed ALL the time still when i sorted that bug out, it still started juddering after about 2 minutes of continueus sprite handling

my computer is fast enough for the stuff i do on it, and programming with a slightly less than industry standard can guarentee my games will work nice enough on most computers 3 years old