Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

amtoine/fgk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

the Fighting Game Kernel (fgk).

Table Of Content.

0. Organization of the repository. [toc]

The repository is organized as follows:

📦 fgk
┣ 📂 build -- see here to compile the code.
┃ ┣ fgk \
┃ ┣ ... | files created with the compilation.
┃ ┗ Makefile /
┣ 📜 CMakeLists.txt -- **
┣ 📂 lib -- **
┃ ┗ ...
┣ 📜 LICENSE
┣ 📜 README.md
┣ 📂 res -- **
┃ ┗ ...
┗ 📂 src -- **
┗ 📜 main.cpp

1. Compile the code. [toc]

1.1. Dependencies. [toc]

Download and install the SFML on your machine.
Install cmake. There are multiple ways to install cmake on your machine.

1.2. Compile. [toc]

In a terminal, run

mkdir build
cd build
cmake ..
make

1.3. Run. [toc]

Once the code has been compiled, see here, one can run the code, from ./build, with

./fgk

2. What the kernel attempts to do. [toc]

  • parabolic-by-parts jumps
    • parameterised by height and time to get there.
    • variable height jumps based on use input, e.g. the longer the key is pressed the bigger the jump.
    • air control to guide the jump.
    • fast falling -> that feeling !
  • verlet integration scheme