small platformer game
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
nek0 337fcf9cd0 interaction in y direction works 3 months ago
extern/affection remove double export 9 months ago
gdd typos 8 months ago
res add test column 8 months ago
res-old cleaned files 1 year ago
src interaction in y direction works 3 months ago
.gitignore ignore profiling data 10 months ago
CHANGELOG.md init 1 year ago
LICENSE init 1 year ago
README.md wrong key given 6 months ago
Setup.hs init 1 year ago
cabal.project get more output... 10 months ago
pituicat.cabal restructure: moved Graphics and Physics into own subfolders 6 months ago
shell.nix update 8 months ago

README.md

pituicat

This repository contains the source and game design files for the game pituicat.

This game is still an experimental work in progress, so things are subject to change and no version or revision numbers are being assigned (yet).

Build and run instructions

For any system you want to buil on, you will need a current version of ghc as well as the build tool cabal. Additional libraries may be needed, depending on your operating system.

Linux

I develop this game in NixOS, so the build instructions for this system are the ones I use on a daily basis.

NixOS

To set up the build environment, simply run this in the command line of your choice in the project's root directory:

nix-shell shell.nix

After the setup and build process is finished and you are given the prompt of the environmet you just built, you can run

cabal new-run

to compile and run the game.

Other Linux flavours

You will need at least the development libraries for sdl2 and a development setup for OpenGL.

TODO: provide list of development libraries this game directly depends on.

After setting up the system with all development dependencies, simply run

cabal new-run

for compiling and running the game.

Other operating systems

I wish you good luck with that. If you manage to run the game on other systms, ping me with build and run instructions on nek0@nek0.eu and I will gladly include them here.

Gameplay

To move around, use the D and A Keys respectively.

Press Space to jump.