Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Setting Subrects or separating a spritesheet
Print
Pages: [
1
]
Author
Topic: Setting Subrects or separating a spritesheet (Read 1531 times)
0 Members and 1 Guest are viewing this topic.
Makuto
Jr. Member
Posts: 71
Setting Subrects or separating a spritesheet
«
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?
Logged
Macoy Madson-Au 79 Games
Check out my work at
http://augames.f11.us/
Most of my SFML-related code is here:
https://github.com/makuto/personal/tree/master/gameDev/resources/base2.0
I try to KIS(S), do you?
blueeyedlion
Jr. Member
Posts: 61
Re: Setting Subrects or separating a spritesheet
«
Reply #1 on:
May 27, 2012, 08:07:32 am »
Use subrects. Loading many images is much slower.
Logged
Makuto
Jr. Member
Posts: 71
Re: Setting Subrects or separating a spritesheet
«
Reply #2 on:
May 28, 2012, 03:09:29 pm »
Thanks
Logged
Macoy Madson-Au 79 Games
Check out my work at
http://augames.f11.us/
Most of my SFML-related code is here:
https://github.com/makuto/personal/tree/master/gameDev/resources/base2.0
I try to KIS(S), do you?
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Setting Subrects or separating a spritesheet
anything