Game Editor - the easy game design software.
 

    Tutorials

Home  
 
Getting Started  
Scripting  
 
FAQs  
   
 


Step by Step Tutorials To Help you get started.

Creating your first Normal Actor:

A Normal Actor that can display animations (image files that are associated with the Actor). This Actor can be used to create the widest variety of behaviors in a program.

Launch Game Editor by Choosing Start >Programs > Game Editor

  1. Left mouse click (Select) the Add Actor button located on the Main Editor Menu Bar.
  2. The Add  Actor panel will appear.
  3. Type a name for your actor in the Name field.
  4. There are four types of actors that can be selected from the Actor Type drop down box (Normal, Canvas,Wire Framed Region,Filled Region. For now, leave the setting at Normal, and select Add.
  5. You will see a Game Editor Smiley icon centered on your game screen. The Smiley icon represents a Normal Actor without any assigned graphics (Animations).
    That is all there is to it. You've just created your first Game Editor Actor.
  6. Now, save your Actor by Selecting File>Save. The Save Game panel will open up. Name your game "Hello World". You can also select a location for your game files by using the Select file button that is located in the Save Game panel. Now left click Save and the panel will close.
  7. To run run your game, Select Game Mode from the Main Editor Menu Bar. You will see your actor displayed on the screen. While in Game Mode you are actually running your program.

    Well , your program isn't too exciting yet, but wait there is more to come. Hit the <ESC> key to exit the Game Mode.

    For more tutorials on this topic see Help>Getting Started>Adding Actors on the Game Editor Help Menu.

Creating a "Hello World" Program:

Our little Smiley guy is great, but what if you would like to create an Actor with a different personality? The next tutorial will show you how to create a traditional "Hello World" Program.
If you haven't done so already, launch Game Editor and load the previously saved "Hello World" program (Main Menu>File>Load).
  1. Right click with your mouse on the Smiley Actor icon. A selector pop-up will appear. Left click on the Actor Control item. The Actor Control window will open. For now, we are interested in the Text button located in the upper right of the Actor Control window. Select  the Text button.
  2. The Set Text window will appear.
  3. Type "Hello World" (no quotes needed) in the gray text input box area.
  4. Select the New Font button. Another window will appear. Select File and choose a font. You can also change your font's size (default is 32), color,style, and Alias/Anti-Alias. When you are done, select OK to close the New True Type Font window. Select OK again to close the Set Text window. The Smiley icon has now been replaced with "Hello World" text!
  5. Save your program.
  6. Select Game Mode to see your program run.

Adding Animations (pictures and graphics) to a Normal Actor:

  1. Create a Normal Actor (See Creating Your first Actor above).
  2. Now, let's replace the Smiley icon with a different graphic. Find a picture graphic or animation that you would like to use for your newly created Actor.
  3. Right click on the Actor and select the Actor Control.
  4. In the Actor Control Panel, select Add Animation.  The Add Animation Panel will appear. Give your Animation a name like "MyGraphic".
  5. Select the File drop down box and navigate to your graphic file. Select the file and click OK. Your graphic should now be displayed on the Main Editor stage. It has replaced the Smiley icon!
  6. Select Game Mode to see your program run. Now your own Animation file should be displayed.

Becoming Picasso: Creating a Canvas Actor

Draw on the Canvas Actor using the Drawing Functions.This Actor allows for the drawing of lines, circles, etc.

Launch Game Editor by Choosing Start >Programs > Game Editor

  1. Left mouse click (Select) the Add Actor button located on the Main Menu.
  2. The Add  Actor panel will appear.
  3. Type a name for your actor in the Name field.
  4. There are four types of actors that can be selected from the Actor Type drop down box. Select Canvas Actor from the drop down box.
  5. You will see a Game Editor cyan rectangle centered on your game screen. This cyan rectangle always represents the Canvas Actor.
    That is all there is to it. You've just created your first Canvas Actor.
  6. Now, save your Actor by Selecting File>Save. The Save Game panel will open up. Name your game "Picasso". You can also select a location for your game files by using the Select file button that is located in the Save Game panel. Now left click Save and the panel will close. You will see the name of your file reflected on the Main Menu Title Bar.
  7. Ok. Let's add a line drawing to our canvas. In this tutorial, you are going to create a script that will tell Game Editor how to draw a line. This will be done within the Script Editor. Don't worry too much about understanding everything just yet.This tutorial is primarily to introduce your to the Script Editor Environment.

  8. Right click on the Canvas Actor. Select Actor Control from the popup box. The Actor Control should now be visible.
  9. We are going to create a script so select Events> CreateActor >Add Action>Script Editor.
  10. The Script Editor window will open. Enter the following script exactly as it appears in the window:
  11. setpen(0, 255, 0, 0,0, 3);
    lineto(50, 50);
  12. Select OK>Immediate Action
  13. The above script sets pen color to green, no transparency, pensize 3 and draws a diagonal green line on the canvas.
  14. To run run your game, Select Game Mode from the Main Menu. You will see your line displayed on the screen. While in Game Mode you are actually running your program. Hit the <ESC> key to exit the Game Mode. Try changing the pen colors and the line coordinates. For more information on this topic see the animated tutorials on Game Editor's Help Menu. Help>Scripting>Drawing Functions and Help>Scripting>Drawing Rectangles.

 

 
 
   

Home     Top