04.sprite_kit-looking textures

Source: Internet
Author: User

04.sprite_kit-looking textures

Professional Vocabulary Literacy:
: Textures, the textures in computer graphics both include the texture of the object's surface in the usual sense, even if the surface of the object is uneven, and it also includes a color pattern on the smooth surface of the object, which we often call the pattern. textures

The texture is a shared image, used to render the Genie ( sprites ), for example, to wear a "dress"for the Genie. So when do we use textures? For example, when we want to apply a picture to more than one sprite, we need the texture, imagine the countless elves dressed in the same "clothes." Typically we create textures by loading image bundle files that are stored in the application. However, Sprite Kit textures can still be created through or Core Graphices images through the node tree during the run.

Sprite KitSimplifies texture management by simply loading and applying simple code to graphics hardware. In addition, texture management Sprite Kit is usually automatically taken over by the framework. Of course there are exceptions, such as you are opening a large number of pictures of the game, in order to improve the performance of the application should be artificially control the texture Management section. This is achieved by explicitly Sprite Kit notifying the framework to load the texture.

Usually in the game, we combine a set of linked textures, called texture atals . For example, the character of a skill action, can be subdivided into multiple images, if a page in order to play, it feels in the play animation generally. texture atals greatly improves rendering execution efficiency.

04.sprite_kit-looking textures

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.