Pritesheet elf Animation engine

Source: Internet
Author: User
Tags comparison export class

Pritesheet elf Animation engine

This paper introduces the performance comparison of Spritesheet sprite sequence diagram and other rendering modes in Flash, the principle of spritesheet and realization, finally realizes the rendering engine of a sprite sequence diagram. This Spritesheet engine and demo can be downloaded on GitHub: Https:// Animation Rendering Performance Comparison

There are many ways to animate in flash, such as vector animation, bitmap frame animation, Sprite sequence diagram, and so on. For different production methods, the same character animation is tested as follows: A character displays 5 instances on the screen, corresponding to breathing, casting, walking, wounding, and general attack status.

Environment for Test run:

L Release version of Flash Player

L AMD Phenom (tm) II X4 830 Processor (2800 Mhz)

L Microsoft Windows 7 Professional (32-bit)

The results of the test are shown in the table below, in order to conserve the size of the bitmap used in the resource is PNG8.

Table 1: Comparison of different animation rendering efficiency (specific test data related to the resources used)

Rendering method



Memory (KB)

File Size (KB)

Time axis





Vector +cacheasbitmap








Bitmap + Export Class




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: 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.