Basic4GL How To

Games are made in Basic4GL by writing code in the IDE which comes with BASIC4GL.

Basic4GL IDE

IDE stands for Integrated Development Environment. The IDE includes a code editor, a debugger, and everything else you will need to makes games with Basic4GL.

Here is a screenshot of the entire Basic4GL IDE.

basic4gl-ide.png

The code editor is the part of the IDE that is blue. It is very similar to a text editor.

Running Basic4GL in Windowed Mode

Various settings of the Basic4GL IDE can be changed to suit your preferences. The first change you will want to make before moving on is to make Basic4GL run in Windowed Mode. This generally makes it easier to follow tutorials because the game window will not cover the entire screen.

To make Basic4GL run in windowed mode :

  • Go to the Basic4GL pull-down menu at the top of the IDE and choose Options…

basic4gl-options.png

  • Uncheck the box marked Fullscreen.

basic4gl-options-window.png

  • Finally, click the Accept button at the bottom of the Options Window.

basic4gl-accept-button.png

Using the Code Editor

The Basic4GL code editor is the part of the IDE you will be using most as you make games with Basic4GL. Remember, the code editor is colored blue and it works much like a fancy text editor.

  • Type in the below code in the Basic4GL code editor and press F5 :

Printr "Hello World"

  • Press Esc to close the game window once you are done.
page_revision: 21, last_edited: 1209135959|%e %b %Y, %H:%M %Z (%O ago)