View Single Post
Old 09 May 2017, 21:21   #74
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,350
Quote:
Originally Posted by Havie View Post
Not sure what you mean about grabbing/converting - can you explain please.
You can create all the sprite objects you need outside the main loop and then just display different sprites as needed. This saves time copying the object around in memory, potentially slowing the loop down, and instead just using

DisplaySprite 0,MySprite,x1,y1,0

Where MySprite is the sprite image you want to show.
Daedalus is online now  
 
Page generated in 0.08260 seconds with 11 queries