King and Pigs

ImageImageImage

Description

King and Pigs is a 2D game written in C++. In this game, the player controls a character who must navigate through various levels and defeat enemies.

Table of Contents

  • Installation
  • Build from source
  • How to play
  • Documentation
  • Credits
  • Contact
  • License

Installation

To install the game on your computer, follow these steps:

  1. Go to the releases page of this repository.
  2. Download the latest release installer that corresponds to your operating system.
  3. Run the downloaded installer and follow the instructions.
  4. Once the installation is complete, launch the game from the start menu or desktop icon

Build from source

  1. Clone this repo: git clone https://github.com/png261/king-and-pigs.git
  2. Navigate to the king-and-pigs directory, run the following command to build the game: cmake -B build && cmake --build build
  3. Run the game by executing the following command: ./build/king-and-pigs

How to play

ActionSetup 1Setup 2
Move rightArrow RightD
Move leftArrow LeftA
Enter doorArrow UpW
JumpMouse LeftK
AttackMouse RightJ

Note: Setup 2 only work with English keyboard

Documentation

Please see https://png261.github.io/king-and-pigs/ for more informations

Credits

Contact

If you have any questions or suggestions about this project, feel free to contact me at:

License

This project is licensed under the Unlicense - see the LICENSE file for details