An experiment by Capital-Asterisk, to see if (another) Open Space Program can be made with Urho3D. This repository is at the point where 10N thrust rockets can be built out of different sized cubes, and brought to life with the physics engine. The code has some hidden things on the insides, such as a way of organizing usable parts and performance curves.
Requires packages used by Urho3D: https://github.com/urho3d/Urho3D/wiki/Getting-started-in-Linux
1. Let's create and enter a new directory for OSP:
mkdir ~/OSP && cd ~/OSP
2. Clone urho-osp
and the Urho3D game engine
git clone https://github.com/TheOpenSpaceProgram/urho-osp
git clone https://github.com/urho3d/Urho3D
3. Build and install Urho3D
cd Urho3D
cmake .
sudo make install
4. Copy CMake
folder to the urho-osp
cloned repository:
cp -r CMake ../urho-osp/CMake
5. Set the URHO3D_HOME
environment variable in .bashrc
:
echo 'export URHO3D_HOME="~/OSP/Urho3D"' >> ~/.bashrc && source ~/.bashrc
6. Build urho-osp
:
cd ../urho-osp
cmake .
make