A Flash Player emulator written in Rust
Go to file
Mike Welsh 3cefeeba6a Use twips for internal calculations
Switch from pixels to twips for internal calculations. swf crate
was updated to add a Twips wrapper-type. Ruffle will use this type
internally for transforms and shapes. This fixes some precision
errors in rendering (see heroes_of_cybertron.swf) and will match
what the Flash Player does internally more closely. (e.g.
DisplayObject x and y will be quantized to 1/20 pixel units). It
is up to the renderer to convert units from twip space to pixels
when rendering.
2019-05-17 13:40:56 -07:00
.circleci ci: Add Circle CI config 2019-05-08 13:33:05 -07:00
core Use twips for internal calculations 2019-05-17 13:40:56 -07:00
desktop Use twips for internal calculations 2019-05-17 13:40:56 -07:00
web Use twips for internal calculations 2019-05-17 13:40:56 -07:00
.gitignore web: Re-organize npm/webpack files 2019-05-08 11:32:44 -07:00
Cargo.toml core: Remove patch from Cargo.toml 2019-05-08 11:59:46 -07:00
LICENSE_APACHE Initial commit 2019-04-25 10:52:22 -07:00
LICENSE_MIT Initial commit 2019-04-25 10:52:22 -07:00
README.md docs: Update README.md 2019-05-16 11:16:53 -07:00

README.md

Ruffle

Ruffle is an Adobe Flash Player emulator written in Rust.

Building

Follow the official guide to install Rust for your platform.

Desktop

  • cargo run --package=ruffle_desktop -- test.swf

Web

Structure

  • core contains the core emulator and common code
  • desktop contains the desktop client (uses glium)
  • web contains the web client (uses wasm-bindgen)

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.