Hi,
Before continuing designing my game, I would like to ask you what's the best option for performance purposes.
I wonder if it's better to have one single file with all my sprites there. By doing that, I only have to create one surface like this:
However, if I decide to have sprites in separate files, I would need to call CreateSurface for each of them.
What do you guys think is a better option?
Thanks
Before continuing designing my game, I would like to ask you what's the best option for performance purposes.
I wonder if it's better to have one single file with all my sprites there. By doing that, I only have to create one surface like this:
- Code:
m_pSurface->CreateSurface(0, hInstance, nResourceNumber, _T("PNG"));
However, if I decide to have sprites in separate files, I would need to call CreateSurface for each of them.
What do you guys think is a better option?
Thanks