Giter Site home page Giter Site logo

stal12 / nikman Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 26.52 MB

A fast-paced maze game that you can play with a friend.

Home Page: https://stal12.itch.io/nikman

License: MIT License

CMake 4.50% C++ 88.85% GLSL 4.11% Batchfile 1.14% Python 0.25% C 1.15%
2d-game opengl

nikman's Introduction

Nikman

example_image

Nikman is a 2D maze game for PC that you can play with a friend (or a foe), done with C++ and OpenGL.

The design is inspired by Amazin' SPISPOPD, a classic indie game by Hamumu Software.

How to play

Move with arrows or WASD. Eat the pizza crusts. Avoid evil jemels.

Installation

Windows (installer)

The easiest way to install Nikman under windows is to download the installer from itch.io, here: https://stal12.itch.io/nikman.

Linux, Windows (from source)

Alternatively, you can build Nikman from source.

You need:

  • CMake 3.17.1 or higher
  • A C++ compiler supporting C++17
  • GLFW, to create the window and receive inputs
  • SFML (audio module only), for sounds and music
  • A graphic processor driver implementing OpenGL 3.3 or higher

Other 3rd party software already included in the repository:

Instructions

  1. Clone the repo.
  2. Run CMake, choose the build directory, configure, generate.
  3. Compile.
  4. Run Nikman.

In order to also build the installer (MSVC only):

  1. Inside the build directory, run comandi.bat

Customization

Levels

You can add custom levels in the game, by editing files in the resources/levels directory, in the source or directly in the installation folder.

If you installed the game in the default path, you may face problems of missing write permission; fear not, and show your computer who's in charge here!

For those who master Italian, the instructions for levels editing are detailed in other/libellids/istruzioni.txt. The others can just learn from the examples, it is a fairly easy format.

For convenience, the script other/libellids/init_maze.py initializes an empty level of the chosen size.

For instance, this is the first level:

+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|                                                       |       |
+   +---+   +   +---+---+   +---+---+   +---+---+   +   +   +   +
|           |   | m   m |   | m   m |   | m   m |               |
+---+   +   +   +   +---+   +---+   +   +---+   +   +---+---+   +
| h |   |   |   | m |           | m |       | m |               |
+   +   +   +   +   +   +---+   +   +   +   +---+   +---+   +   +
| h     |       | m |     w     | m | w |           |       |   |
+   +   +   +   +   +   +---+   +   +   +   +---+   +   +   +   +
| h     |   |   | m |           | m |       | m |   | w     |   |
+   +   +   +   +   +---+   +---+   +---+---+   +   +   +   +   +
| h |   |   |   | m   m |   | m   m   m   m   m |   |       |   |
+---+   +   +   +---+---+   +---+---+---+---+---+   +   +---+   +
| w                                                             |
+---+---+---+---+---+---+---+---+---+---+   +   +---+---+---+---+
| m   m   m   m   m   m   m   m   m   m | n   s | m   m   m   m |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

Other

Of course, you can also mod the game in other ways, like changing the textures, sounds and font.

Just replace the files in the resources folder with your own.

Credits

  • Artist: Davide Papazzoni (@itspapaz on social media)
  • Level designer: Nicola Baldini
  • Sound engineer: Lorenzo Governatori

Other credits are listed in CREDITS.

License

Nikman is released under the MIT license, detailed in LICENSE.

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.