Quick Start

hypersurge edited this page Jun 2, 2015 · 7 revisions

Prerequisites

  • Install Haxe.
  • Install awe6 via haxelib tool, by running in the command prompt:
haxelib install awe6

Windows Operating Systems

Installing awe6 & FlashDevelop project files & templates

To install FlashDevelop project files and templates via haxelib tool, run in the command prompt:

haxelib run awe6 install

Starting a new awe6 Swf project with FlashDevelop

  • Open FlashDevelop.
  • Project > New Project > Haxe > awe6 Project
  • Hit F5 to compile & run.
  • Extend / modify as required.
    • Add new assets via config.xml assets url nodes (as Swfs).
    • Add new Scenes with Project > Right Click > Add > awe6 > New Scene
    • Add new Entities with Project > Right Click > Add > awe6 > New Entity

Starting a new awe6 OpenFL project with FlashDevelop

  • Open FlashDevelop.
  • Project > New Project > Haxe > awe6 OpenFL Project
  • Select your target from the top pull down menu.
  • Hit F5 to compile & run.
    • Alternatively use command openfl test flash
  • Extend / modify as required.
    • Add new assets via the OpenFL project xml file.
    • Add new Scenes with Project > Right Click > Add > awe6 > New Scene
    • Add new Entities with Project > Right Click > Add > awe6 > New Entity

Starting a new awe6 CreateJS project with FlashDevelop

  • Open FlashDevelop.
  • Project > New Project > Haxe > awe6 CreateJS Project
  • Hit F5 to compile & run (a webserver will launch).
  • Extend / modify as required.
    • Add new assets to bin/assets (automatically added to preloader).
    • Add new Scenes with Project > Right Click > Add > awe6 > New Scene
    • Add new Entities with Project > Right Click > Add > awe6 > New Entity

Mac or Linux Operating Systems

Starting a new project with awe6

  • Create an awe6 Swf project:
haxelib run awe6 create project swf <projectname> <packagename> <author>
  • Create an awe6 OpenFL project:
haxelib run awe6 create project openfl <projectname> <packagename> <author>
  • Create an awe6 CreateJS project:
haxelib run awe6 create project createjs <projectname> <packagename> <author>
  • Add new Scenes with:
haxelib run awe6 create scene <projectname> <packagename> <author>
  • Add new Entities with:
haxelib run awe6 create entity <projectname> <packagename> <author>

Next Steps

  • See HelloWorld example.
  • Read Game From Scratch's tutorial.
  • Read Shane Johnson's guide
  • Create a new project using the templates explained above.
  • See more detailed platform specific demos /demos/.
  • Raise issues on GitHub or ask questions in the awe6 Google group - all questions welcomed, we respond fast.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.