Starling Builder Extensions Guide

You can extend Starling Builder in a way without modifying the editor.

Check out the extension repository https://github.com/yuhengh/starling-builder-extensions

For the time being (v0.80), there are 2 extensions available

  • EmbeddedComponents.swf
  • EmbeddedTheme.swf

Setup Extensions Test Project

IntelliJ IDEA

  • Intall AIR SDK 19+ and IntelliJ IDEA Ultimate Edition
  • Checkout the repo using:
    git clone https://github.com/yuhengh/starling-builder-extensions --recursive
  • Open IntelliJ IDEA, goto File → Open, then point to the directory of the git repo
  • Goto File → Project Structure → SDKs, create a FLEX/AIR SDK named AIRSDK.
  • Goto Run → Edit Configurations, create a Flash App Run/Debug Configuration and choose the test build config
  • Run the configuration just created

Flash Builder

  • Install AIR SDK 19+ and Flash Builder 4.7
  • Checkout the repo using:
    git clone https://github.com/yuhengh/starling-builder-extensions --recursive
  • Goto menu File → New → ActionScript Project, choose Desktop and select starling-builder-editor folder
  • Set the following ActionScript Build Path
Source pathstarling-builder-editor/src, starling-builder-editor/starling-builder-engine/src, starling-builder-editor/tests/src, tests/src, theme/src, ui-components/src
Library pathlibs
  • Right click tests/src/starlingbuilder/demo/Main.as → Set as Default App
  • Launch the app

Build Extensions swfs

IntelliJ IDEA

  • Intall AIR SDK 19+ and IntelliJ IDEA Ultimate Edition
  • Checkout the repo using:
    git clone https://github.com/yuhengh/starling-builder-extensions --recursive
  • Open the project from intelliJ by clicking on File → Open, select the starling-builder-extensions folder
  • Build the swfs by clicking on Build → Rebuild Project, then drop the swfs inside YOUR_WORKSPACE/libs
  • If you are adding/modifying custom UI components, make sure delete the template in Starling Builder by clicking on Workspace → Delete template override
  • Reload Starling Builder

Ant

  • Install AIR SDK 19+ and Apache Ant
  • Checkout the repo using:
    git clone https://github.com/yuhengh/starling-builder-extensions --recursive
  • open starling-builder-extensions/buildscript/build.properties, change airsdk.root to point to your AIR sdk location
  • cd buildscript and type ant to build
  • Drop the swfs inside YOUR_WORKSPACE/libs
  • If you are adding/modifying custom UI components, make sure delete the template in Starling Builder by clicking on Workspace → Delete template override
  • Reload Starling Builder

EmbeddedComponents.swf

If you want to create your own UI components, you can build them into this extension.

You can find the place holder EmbeddedComponents.swf from https://github.com/yuhengh/starling-builder-extensions/blob/2.0/deliverable/EmbeddedComponents.swf

For more info please check out Customize UI components with Starling Builder

EmbeddedTheme.swf

If you want to create your own feathers theme, you can build it into this extension.

You can find the place holder EmbeddedTheme.swf from https://github.com/yuhengh/starling-builder-extensions/blob/2.0/deliverable/EmbeddedTheme.swf

For more info please check out Use custom feathers theme with Starling Builder

  builder/extensions.txt · Last modified: 2016/11/11 20:59 by johannh
 
Powered by DokuWiki