![]() In the Image Resource Document, the relationship between Texture and SpriteFrame was introduced. It is possible to generate Atlas assets that can be used in the editor and scripts. png files shown above into the Assets panel at the same time. ![]() When using TexturePacker software, please note that use v4.x only, v3.x and below is not supported. When using these software packages to generate an Atlas, please select a. Next, use special software to generate the Atlas. To generate an Atlas, you should first prepare a set of original pictures. When multiple Sprites are rendering pictures from the same atlas, these Sprites can be processed using the same rendering batch, which greatly reduces the CPU’s computing time and improves operating efficiency.įor a more comprehensive explanation, watch a teaching video: What is a Sprite Sheet from CodeAndWeb.After synthesizing the Atlas, the game package and memory consumption can be greatly reduced. The blank area around each picture will be removed when synthesizing the Atlas, plus various optimization algorithms can be implemented as a whole.In a game, using an Atlas composed of multiple pictures as art assets has the following advantages: The following is an image file used in an Atlas: Atlas assets available for Cocos Creator consist of a. Atlas is an asset for merging multiple pictures into a large picture through a special tool, and indexing through a file such as a. Atlas, also called a Sprite Sheet, is a common art asset in game development.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |