Skip to content

xslkim/FlashEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlashEngine

  • Create 2d Animation user flash.
  • Export flash animation to cocos2d animation.
  • Integration animation to cocos2d engine.

Run Demo

Direct run runtime/win32/icefire.exe in windows.

  • lua code: src/
      local spt = cc.FlashSprite:create("res/hero/r11_ailiya") --load animation data
      spt:setPosition(300, 200)
      spt:changeAnimation(0)  -- each animation has lot of actions
      layer:addChild(spt)  
  • cocos2d animation: res/hero/
    generate by flash animation
    r11_ailiya.bb --collide data
    r11_ailiya.fpk --animation data
    r11_ailiya.plist & .png --render resource
    

Export Flash animation

first parameter is flash animation path. second parameter is cocos2d animation path.

tools\bin\FlashTools.exe flash_res/r11_ailiya res/hero/r11_ailiya

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published