Files
RCBASIC4/doc/doc_files/setup.html
2026-02-26 15:33:51 -06:00

57 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>RCBasic Setup [RCBasic Doc] </title>
</head>
<body>
<p><h2><b><u>SETTING UP RCBASIC</u></b> </h2></p>
<p>
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.
</p>
<p>
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.
</p>
<p>
There is a video going over the basics of each editor here:
</p>
<ul>
<li>
<a href="https://www.youtube.com/watch?v=J_GNcGp1Zmg">Nirvana</a>
</li>
<li>
<a href="https://www.youtube.com/watch?v=bj7m40XBl2A">Serenity</a>
</li>
</ul>
<p>
<h2><b><u>USING RCBASIC FROM THE COMMAND-LINE</u></b></h2> 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.
</p>
<p id="rc_code"><code>
rcbasic_build4&nbsp;myprogram.bas&nbsp;<br>
</code></p>
<p>
Once you have a *.cbc file you can pass it to rcbasic to run it.
</p>
<p id="rc_code"><code>
rcbasic4&nbsp;myprogram.cbc&nbsp;<br>
</code></p>
<p>
Both tools also except the --version argument which will simply output the version of rcbasic you are using.
</p>
<p id="rc_code"><code>
rcbasic_build4&nbsp;--version&nbsp;<br>
rcbasic4&nbsp;-version&nbsp;<br>
</code></p>
<p>
<h2><b><u>PORTING TO OTHER PLATFORMS</u></b></h2>
</p>
<p>
From RCBasic Studio, select tools->distribute and then select the platforms you want to distribute to and click the "MAKE APP" button.
</p>
<p>
</p>
</body>
</html>