Ralph Posted August 5, 2016 Share Posted August 5, 2016 Ok jumping right into it, I have a big map, the map is broken into a chunk that is a 2d aray with 64 - 32x32px tiles in it. Some of these tiles literally need 0 interaction with them. For all I care they could be apart of the background, however, the background is a repeating tileSprite of grass. What is the best way (taking performance into account) to spawn in a sprite, that will have no physics no body nothing essentially (just an image essentially) and not have it hog memory like a regular sprite does. Quick post didn't really take time to be therough lol Link to comment Share on other sites More sharing options...
lewster32 Posted August 5, 2016 Share Posted August 5, 2016 The 'lightest' type of display object in Phaser is probably an Image. Ralph 1 Link to comment Share on other sites More sharing options...
Ralph Posted August 5, 2016 Author Share Posted August 5, 2016 2 hours ago, lewster32 said: The 'lightest' type of display object in Phaser is probably an Image. Thank you this is exactly what I was looking for! I had no idea this existed... lewster32 1 Link to comment Share on other sites More sharing options...
Recommended Posts