Extensions - Stencyl/stencyl-engine GitHub Wiki

Requirements

Extensions add native mobile functionality to Stencyl via OpenFL's extensions mechanism. These extensions are typically written using a blend of Haxe, C++, Objective-C, and Java.

Requirements

  • Haxe 3.2.0
  • For iOS extensions, you'll need a Mac and Xcode (with Command Line Tools).
  • For Android extensions, you'll need the Java JDK.

Developing Extensions

All extensions are located under the Extensions subfolder of the checked out repository.

To build an extension, run the following inside of the "project" directory for an extension.

haxelib run hxcpp Build.xml -Diphonesim
haxelib run hxcpp Build.xml -Diphoneos
haxelib run hxcpp Build.xml -Diphoneos -DHXCPP_ARMV7

After building an extension, if you wish to push the extension into your Stencyl install, run build-stencyl as detailed in the main README.

Wanted (Extension Requests)

Title | Name (on Stencyl.com) | Description | Notes | --- | --- | --- | --- | ---- | Skeletal Animation | Jon | Support skeletal animations created in Spine and Spriter | --- | --- In app browser for Windows| Donni11 | In app browser ; users can view webpages in the windows game |--- | A extension is available for IOS and Android