M
M
MagoVinch2013-12-12 20:11:24
Objective-C
MagoVinch, 2013-12-12 20:11:24

What is Spritesheets?

What is Spritesheets?
What are they needed for?
And how to use them?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mr_Kibernetik, 2014-01-05
@MagoVinch

Sprite sheet is a sprite sheet.
It is needed in order to store a set of sprites in one file at once - character animation frames, a set of textures for a location, etc.
An example of a sprite sheet: roussinavalkova.com/blog/wp-content/uploads/2011/0...
Use it accordingly: upload the sprite sheet as an image, programmatically cut it into pieces, which can then be used as intended.

Z
ZimM, 2013-12-12
@ZimM

I suspect you mean atlases (the more common name). They are needed in order to pack a lot of small pictures into several large ones. This is done primarily to improve performance: the number of switching states of the video adapter is significantly reduced, which is especially valuable for mobile devices.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question