Git Product home page Git Product logo

king-and-pigs's Introduction

GitHub all releases GitHub Repo stars GitHub

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

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
  1. Navigate to the king-and-pigs directory, run the following command to build the game:
cmake -B build && cmake --build build
  1. Run the game by executing the following command:
./build/king-and-pigs

How to play

Action Setup 1 Setup 2
Move right Arrow Right D
Move left Arrow Left A
Enter door Arrow Up W
Jump Mouse Left K
Attack Mouse Right J

Note: Setup 2 only work with English keyboard

Screenshots

Map editting with Tiled Map Editor

image

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

king-and-pigs's People

Contributors

png261 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

senith2001

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.