Skip to content

fredlinhares/yet_another_fighting_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Fighting Games

This is an engine for fighting games.

Dependencies

This engine is mainly developed on GNU/Linux with the GCC compiler and Rake for automation. To compile in another platform, you should use an equivalent environment. For Windows, you can use MSYS2 com MINGW. For MacOS, you can use Homebrew.

Windows (MSYS2)

MSYS2 provides several different environments; I recommend using MSYS2 MINGW64. To install the dependencies, use the command:

pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_ttf ruby

After installing Ruby, use this command to install Rake:

gem install rake

Arch Linux

To install the dependencies using pacman:

pacman -S gcc sdl2 sdl2_image sdl2_ttf ruby ruby-rake

Debian Linux

There are some specific packages for development that you need to install as dependencies on top of normal dependencies:

apt install g++ libsdl2-2.0-0 libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev ruby ruby-rake

Compiling

Once you have everything installed, go to inside the project folder and run Rake:

rake

After compiling the game, try running it to check if everything is working properly:

./yafg

Code Documentation

Once you finished compiling and the game is running properly, you can read about the game architecture:

Main Loop

Game Modes

System Initialization

Characters

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published