Code Monkey home page Code Monkey logo

guepard's Introduction

Guepard

Flash to HTML5 converter.

Conversion process

  • Parsing resources (from SWF or FLA files)
  • Creation atlases
  • Export resources from SWF to XML for animations and structure, and JPG / PNG for graphics and atlases
  • Parsing AS3 code
  • Analysing code and fixing unknown types
  • Export JS code
  • Generation HTML page

Usage (windows, mac, linux)

  • Install Adobe AIR
  • Install converter.air AIR application
  • Download and extract Guepard SDK from /sdk to your folder
  • Start application and create new project
  • Set all fields in all tabs as you need
  • Set SDK Path to your folder in Settings tab
  • Build project

Build (windows)

  • Download and unpack or clone this repository
  • Download and install java
  • Download and install .net framework
  • Download and install FlashDevelop
  • Run FlashDevelop
  • In opened RunMan select and install:
    • Flex SDK + AIR SDK
    • Adobe AIR
  • You can run RunMan after by menu: Tools -> Install Software
  • After install all components restart FlashDevelop
  • Create project: Menu -> Project -> Action Script 3 -> AIR AS3 Projector
    • Name: converter
    • Location: guepard repository location
  • Set main class: Project Tab -> src/com/guepard/app/Converter.as -> Context Menu -> Set Document Class
  • In the same tab
    • lib/bloodyCrypto/bloody_crypto.swc -> Context Menu -> Add to library
    • lib/design/design.swc -> Context Menu -> Add to library
    • lib/zip/fzip.swc -> Context Menu -> Add to library
  • Run project!

Demos

Demos from Adobe Animation / Adobe Flash Proffesional:

Shapes flash html5

Images flash html5

Texts flash html5

Animation flash html5

Mask flash html5

Fla flash html5

Demos from Flash Develop / Flex / IntelliJ Idea:

Game flash html5

Draw flash html5

XML / XMLList flash html5

Extreme AS3 Code flash html5 as3 js

Third Party

Box2D flash html5

Known issues

  • Now WebGL not works - only Canvas render.
  • There are many limitations of code conversion from AS3 to JS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.