This is a final project required for approval in the Algorithms and Programing discipline at the Federal University of Rio Grande do Sul (UFRGS).
We started the project with a fork of Quickstart raylib to focus only in the ideia implemetation. You can find the same in https://github.com/raylib-extras/raylib-quickstart .
This project is a game inspired in "The Legend of Zelda" (1986), an adventure RPG game created by Nintendo.
Raylib has several dependencies that you need in order to work with it.
You need a GCC compiler, make
You need to install some required libraries; ALSA for audio, Mesa for OpenGL accelerated graphics and X11 for windowing system.
Ubuntu:
sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-devFedora:
sudo dnf install alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel libatomic-
rpm-ostree-based spins:
rpm-ostree install alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel libatomic
Arch Linux:
sudo pacman -S alsa-lib mesa libx11 libxrandr libxi libxcursor libxinerama- CD into the build folder
- run
./premake5 gmake2 - CD back to the root
- run
./build_all_run.sh
- run
./build_project_run.sh
- run
./run_p.sh
The built code will be in the bin dir
If you need to build for a different OpenGL version than the default (OpenGL 3.3) you can specify an OpenGL version in your premake command line. Just modify the bat file or add the following to your command line
--graphics=opengl11
--graphics=opengl21
--graphics=opengl43
--graphics=opengles2
--graphics=opengles3