Skip to content

Draw is a Starling powered Graphics implementation.

License

Notifications You must be signed in to change notification settings

roipeker/draw-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

draw-lib

Draw tries to mimic AS3 Graphics API but is powered by Starling. Was heavily ported from the Graphics implementation in PixiJS. And, although I do not recommend it for production use, the code wasn't tested enough and is unoptimized, it seems to work fine for simple vector shapes in my testings.


Donation

Support draw-lib via Paypal

Donate via PayPal

IDE Software provided by JetBrains

Jetbrains


Getting Started

The code in this repo contains a IntellijIdea project with 2 projects modules:

  • draw_demos
  • draw_lib

You can get a precompiled binary for Draw inside /draw_lib/bin-release/draw_lib.swc, but the Intellij project uses Build Configurations dependencies to run the samples.

Prerequisites

Intellij and some version of AdobeSDK compatible with Starling v2.5.1

API and demos.

Considere the API very similar to the AS3 Graphics one.

I didn't have the time to write documentation (or code comments), but 90% of the code was ported from PixiJS, so check their docs.

demos screenshots

demo 1 demo 2 demo 3 demo 4 demo 5 demo 7 demo 8 demo 9 demo 10 demo 11

Contributing

That's why I setup this repo! So, use pull request.

You can also buy me a coffee.

Authors

  • Rodrigo Lopez - Initial work - roipeker

Acknowledgments

License

This project is licensed under the MIT License - see the LICENSE file for details

Releases

No releases published

Packages

No packages published