Skip to content

SouzaLuisH/zinf

Repository files navigation

Description

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.

Build and Running the Project

Raylib has several dependencies that you need in order to work with it.

Install Dependeces for Linux Users

You need a GCC compiler, make

Install required libraries

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-dev

Fedora:

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

Build and Running the Project at first time:

  • CD into the build folder
  • run ./premake5 gmake2
  • CD back to the root
  • run ./build_all_run.sh

Build Project other times:

  • run ./build_project_run.sh

Only Running Project after build:

  • run ./run_p.sh

Output files

The built code will be in the bin dir

Building for other OpenGL targets

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

For OpenGL 1.1

--graphics=opengl11

For OpenGL 2.1

--graphics=opengl21

For OpenGL 4.3

--graphics=opengl43

For OpenGLES 2.0

--graphics=opengles2

For OpenGLES 3.0

--graphics=opengles3

About

A game inspired in "The Legend of Zelda" (1986)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors