Users browsing this thread: 1 Guest(s)
PGE Project - 2D platform game engine
#4
Quote:This thing came from SMBX engine where author made sprites 2x bigger with performance reasons. Old SMBX engine has strict standard: when you will customize tiles, they are may be cropped [because size defined internally, my engine reads size of tile directly from image file].

How do you get the size of a tile directly from an image file? Are image files restricted to a single tile or tile type? If so, that's not good for performance to only have a single tile type per image (texture). The GPU will have to keep switching textures per tile type which can hurt performance, more so if you're not sorting and batch rendering sprites by texture.
Animations - MFGG TKO (scrapped) - tFR
[Image: QUmE6.gif]
"It feels that time is better spent on original creations" - Konjak
Focus on the performance, the idea, not the technical bits or details - Milt Kahl
Reply
Thanked by:


Messages In This Thread
RE: PGE Project - 2D platform game engine - by TheShyGuy - 03-31-2015, 04:35 PM

Forum Jump: