Skip to content

Navigation Menu

Sign up
Jonathan Chung edited this page Feb 12, 2014 · 4 revisions

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.0.1 (http://www.haxe.org)
  • 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.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /