Skip to content

Repository files navigation

R-Type

How to Build with CMake :

Go in your project

mkdir build
cd build 
cmake ..

This command line will download all sfml dependencies to run the game.

Build will create two binary dunes-server and dunes, that can be execute to run your game :

cmake --build .

Requirement

If you have any dependency problem with Xrandr : Xrandr all dependancies

Firstly you need to install CMake on your pc :

For Windows :

  • CMake Download After the installation you will need to update your environment path and add the directory of your cmake.

For (e.g., Debian, Ubuntu, Linux Mint) :

sudo apt-get update
sudo apt-get install cmake

For Linux(Fedora) :

sudo dnf install cmake

For Arch Linux :

sudo pacman -S cmake

Xrandr

Tool used in Unix-like operating systems (including Linux) for configuring screen settings, primarily related to display resolution, refresh rate, rotation, and multiple monitor setups.

  • Mac :

     brew install xquartz
    
  • (e.g., Debian, Ubuntu, Linux Mint):

     sudo apt-get update
     sudo apt-get install x11-xserver-utils
    
  • (e.g., Red Hat Enterprise Linux, CentOS, Fedora) :

    sudo dnf install xorg-x11-server-utils
    
  • Arch Linux:

    sudo pacman -S xorg-xrandr
    

Xrandr all dependencies :

  • (e.g., Debian, Ubuntu, Linux Mint):

    sudo apt-get update
    sudo apt-get install libx11-dev libegl1-mesa-dev libudev-dev libopenal-dev libvorbis-dev libflac-dev libxrandr-dev
    
  • (e.g., Red Hat Enterprise Linux, CentOS, Fedora) :

    sudo dnf install libX11-devel mesa-libEGL-devel libudev-devel openal-soft-devel libvorbis-devel flac-devel libXrandr-devel
    
  • Arch Linux :

    sudo pacman -Syu libx11 libgl libudev openal libvorbis flac libxrandr
    

IDE

If you want to develop a game Visual Studio is a powerful IDE with a simple interface that can allow you to do your project with great ease.

Or you can use Visual Studio Code a simple IDE.

  • Download Visual Studio Code Comand Line:

      curl -o vscode-latest.deb -L http://go.microsoft.com/fwlink/?LinkID=760868 && sudo dpkg -i vscode-latest.deb
    

About

Recreating the classic R-Type game.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages