- 0. Organization of the repository.
- 1. Compile the code.
- 1.1. Dependencies.
- 1.2. Compile.
- 1.3. Run.
- 2. What the kernel attempts to do.
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