RCBasic Setup [RCBasic Doc]

## SETTING UP RCBASIC

To get started with RCBasic, just go into the directory where RCBasic is extracted to and start up RCBasic Studio. You are now ready to start coding.

RCBasic also comes with a 2D level editor called Nirvana and a 3D level editor called Serenity. If you are on linux there is a start up script for each one in the main folder where RCBasic is extracted. On Windows, just go into each folder and start up the exe for the editor you want to use.

## USING RCBASIC FROM THE COMMAND-LINE

RCBasic will be added to path on install on linux. On Windows you will need to add the rcbasic folder to your path. Either (rcbasic/rcbasic_32) or (rcbasic/rcbasic_64) depending on your operating system. Once rcbasic is in your path you can simple pass a source file to rcbasic_build to create a *.cbc file.

`rcbasic_build4 myprogram.bas
`

Once you have a *.cbc file you can pass it to rcbasic to run it.

`rcbasic4 myprogram.cbc
`

Both tools also except the --version argument which will simply output the version of rcbasic you are using.

`rcbasic_build4 --version
rcbasic4 -version
`

## PORTING TO OTHER PLATFORMS

From RCBasic Studio, select tools->distribute and then select the platforms you want to distribute to and click the "MAKE APP" button.