LWF - Lightweight SWF



LWF (Lightweight SWF) is an open-source framework for importing Adobe Flash animations into Cocos2d-x, Cocos2d-html5, Unity, UIKit, and more


LWF allows you to make animation using Adobe Flash for your Cocos2d-x Application and Cocos2d-html5 Application.


You can see what LWF can do via LWF on HTML5 demo and more on LWF Demo .

Features and benefits

  • LWF is released under the zlib License. You are free to use LWF for any purpose at no cost without having to ask us like, of course, Cocos2d-x.
  • Tuned and production ready rendering performance.
  • Game oriented and production proven APIs.
  • Flexible rendering system. Out of the box, LWF supports Cocos2d-x, Cocos2d-html5, HTML5(includes WebKit CSS, Canvas and WebGL ), Unity, iOS UIKit.

Technical detail

Please take a look at the presentation for the detail of LWF . You can convert SWF, which uses SWF version 7 animation with bitmaps, into LWF data. No restriction to create animation using bitmaps, tweening, additive blending, and so on. But LWF does not support so-complicated stuffs in SWF such as Shape, Shape Morphing, ActionScript version 1.0 and later, and so forth on purpose. These features easily make your application extremely slow and laggy. That’s why LWF stands for Lightweight SWF.


610x298_lwf_logo.png - 610x298_lwf_logo.png (24.2 kB) splhack, 2014-01-16 00:45


  • chen

    Hi, this is the developer relations at Cocos2d-x. Do you have a logo of the size 610*298? We can feature your work:)

    2014-01-15 07:11

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.