Beginner Guide

Foreword
To follow this tutorial to start, you need the Adobe Flash Pro (version minimum CS6) software and be familiar with its interface. You must also duplicate file components.fla to be sure not to overwrite the source you have.

Vocabulary knowledge gamer (NPC for example) is also necessary.

All files can be found into the "assets" folder of the app package (On Mac OS: right-click, "Show package content" and go to "/Contents/Resources/assets").

DO NOT touch the package content, exepts the "assets".

Components
In Myth, each level is actually composed of a multitude of components. Each component has its uses and can be a platform, a shop, or even an NPC.

Components available for your version of the SDK are available in the library file.

Adding platforms
We will begin our level by adding platforms. To do this, simply drag the Platform component in your library to your scene.

You can change the size of your component directly on the scene with the "Free Transform" tool.

In addition, you can modify the properties of this component in the "Component Settings" section of the "Properties" panel.

Adding graphics
Your level is like what you made, only an arrangement of rectangles.

Adding graphics is not applied directly in Flash. You must generate the images to the right size (full size, not higher resolution) and copy and paste the name and the path to the image in the parmeter "dayView" and "nightView".

This parameter accepts both images SWF animations.

Creating interractions
Once integrated graphics, interractions can be added. There are many interractions, but all work the same way: the user must enter the interraction zone and press "up".

Following the interraction and its settings, the game will have a different behavior.

We will add an interraction shop; drag SensorShop component in the scene. Add it in the scene would be to display an empty shop when the player with interragira.

To add items for sale, click on the pencil in the "objects" parameter. Add two objects: "LifePotion" and "Iron".

This should add two items to sell in the shop.

Testing the level
Your level is ready, but you still need to test it. To do this, compile your file. Swf file (Menu> Export> Export Movie) under the name of your choice.

Find and copy the full path to the file that starts with "assets/levels/…" and copy it. To find the path, you can open your animation in your browser.

Open the file Myth.app and paste this path in the dialog. Your level should be displayed and playable!

If nothing appears, make sure you have done all steps in this tutorial.