-
Book Overview & Buying
-
Table Of Contents
Construct Game Development Beginners Guide
By :
We will now create the objects for our level editor. This will be similar to the objects we've made in our BounceBall game, but will also include the Graphical User Interface (GUI) objects for easy map editing.
1. Before making the editor, calculate the corners of where pegs and portals can be placed in your level editor. This can be done by taking a peg in the BounceBall project and moving it to the top-left and bottom-right corners of the target play area and recording its X and Y position. In this book, the smallest peg X and Y values allowed will be 34,170, and the largest will be 714, 476.
2. Start a new Construct Classic project and set its application name to BounceBall Level Editor. Save this as Editor.cap in your project folder.
3. Rename the starting layout to Editor and its event sheet to Editor events.
4. On this layout, create 4 layers: EditorHUD, EditorObjects, Objects, and Background, with EditorHUD being topmost.
5. Next, create three...
Change the font size
Change margin width
Change background colour