Setting Up RCBasic

Installing RCBasic Studio

To get started, extract the RCBasic archive to any folder and launch RCBasic Studio. No additional installation steps are required — you are ready to start coding immediately.

Using RCBasic from the Command Line

RCBasic is automatically added to PATH on Linux during installation. On Windows you must add the appropriate folder to your PATH manually:

  • 32-bit systems: rcbasic/rcbasic_32

  • 64-bit systems: rcbasic/rcbasic_64

Compiling a program

Pass a .bas source file to rcbasic_build4 to produce a .cbc bytecode file:

rcbasic_build4 myprogram.bas

Running a compiled program

Pass the resulting .cbc file to rcbasic4:

rcbasic4 myprogram.cbc

Checking the version

Both tools accept a --version flag:

rcbasic_build4 --version
rcbasic4 --version

Porting to Other Platforms

From inside RCBasic Studio:

  1. Open the menu Tools → Distribute.

  2. Select the target platforms.

  3. Click MAKE APP.

RCBasic will package your project for each selected platform automatically.

Level Editors

Two level editors are bundled with RCBasic:

Editor

Dimension

How to launch

Nirvana

2D

Linux: run the nirvana start-up script in the main folder. Windows: open Nirvana/Nirvana.exe.

Serenity

3D

Linux: run the serenity start-up script in the main folder. Windows: open Serenity/Serenity.exe.