SFML community forums

Help => Graphics => Topic started by: Makuto on May 26, 2012, 11:34:08 pm

Title: Setting Subrects or separating a spritesheet
Post by: Makuto on May 26, 2012, 11:34:08 pm
Hi, I have a quick question.  I have a tile map system which takes a tile sheet and a map file in order to display tlle-based maps. Should I split the tile sheet into separate images of each tile or just use Subrects?
Title: Re: Setting Subrects or separating a spritesheet
Post by: blueeyedlion on May 27, 2012, 08:07:32 am
Use subrects.  Loading many images is much slower.
Title: Re: Setting Subrects or separating a spritesheet
Post by: Makuto on May 28, 2012, 03:09:29 pm
Thanks