EM:Tutorial000: Starting the editor

From Hero of Allacrost

Revision as of 17:05, 7 September 2008 by ElonNarai (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Still working on it--ElonNarai 10:05, 7 September 2008 (PDT)

Turorial 000: Starting the editor

Before we start I (ElonNarai) will assume you have the entire game as of SVN 1393 (If you don't know what SVN is or you have installed it you can just continue) and can play the game as it is. Just so you know I'm huge fan of Microsoft and although I love linux and other operating systems, none has stolen my heart. A lot of this tutorial (or any other written by mine) will assume you are working on Windows. If you're not working on windows than you might have some problems following my tutorials, however I will try to provide answers for other Operatings Systems.

In this tutorial we will not change anything and you should answer negative on any question that asks you if you want to save if one might come up. We are just going to get you to be familiar with the interface. Since I'm working on Windows you will see parts of windows, but the editor is build to look and work the same no matter on which Operating System you work (Windows, OSx, Linux). If you have problems with the editor you can go to the forum of the project and request help. A lot of people will be more than happy to try and get things working for you. Further you will read a lot of technical information and even if you are not intressted in it or don't understand it I recommend you read it through, if you do have a problem and someone helps you that bit of information might just be what you needed to understand what the other person told you.

1 Start the editor

But first lets start the editor. In Windows and OSx we simply double click on the icon or executable. On linux you will need to launch using "allacrost-editor", however you might be able to launch it differntly depending on the type of system, Window manager or anything else. If everything goes as it should you should have a new window in front of you titled "Hero of Allacrost Level Editor".


2 Loading a map

Allacrost exists out all kinds of map and in the game (you did play the game at least once, didn't you?) you will travel all over the world by moving from one map to another. Since maps are not made in one run, but multiple runs, including testing, checking and "oh hell why isn't that fixed" we will try to load ourselves. It also gives an opportunity which basic functionality will be added.

So click on File and then on Open... or if you prefer the keyboard just press Ctrl+O

If everything has gone well, you will now have a default "Open File Dialog" which is aimed at the allacrost-map folder. Just open anyone of them but if you like comparing pictures I suggest you do the same as me and open demo_cave.lua, you might not be able to see the ".lua" part on windows as it can hide known extension, in that case you can click on demo_cave which is the same file.

Once you open it, the editor will load the map file and see what kind of data is required and load the appropiate images. When everything is done, you will see the map in front of you. >> IMAGE OF EDITOR JUST LOADED AN MAP <<

Lets first take a look at the toolbar. >> IMAGE OF TOOLBAR OF EDITOR << From left to right we have

  1. Fill Current layer
  2. Draw mode
  3. Move mode
  4. Erase mode
Personal tools