Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

petarov/ivothevampire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ivo the Vampire

2D Shoot 'Em Up game coded w/h libSDL & C/C++

alt text

Installation

Extract the vampire_ivo-1.1.0-<Platform>.tar.gz package and run the binary.

For Linux users. Make sure you've got the following installed:

  • libSDL >= 1.2.11 and SDL_Mixer >= 1.2.12
  • (Optional for music support) timidity++-2.14.0-5 and timidity-freepats

Build

Requirements

  • CMake 2.8.x
  • Both libSDL >= 1.2.11 and SDL_Mixer >= 1.2.12.
  • Windows builds => Mingw32 (Minimalist GNU for Windows)

Linux

On the command line:

Install the required packages using the package manager on your Linux distribution.

Create a build folder

mkdir build && cd build

Run CMake

cmake -G "Unix Makefiles" ../ -DCMAKE_BUILD_TYPE:STRING=Release

Build with:

make

Create an installation package with:

cpack

Windows

  • Install the required Windows dependencies in lib.

On the command line:

Create a build folder

mkdir build && cd build

Set the SDLDIR and SDLMIXER environment variables.

Run CMake

cmake -G "MinGW Makefiles" ../ -DCMAKE_BUILD_TYPE:STRING=Release

Build with:

mingw32-make

Create an installation package with:

cpack

Disable sound

To build without sound & music run:

cmake -G "<platform>" ../ -DCMAKE_BUILD_TYPE:STRING=Release -DSOUND=NO

License

MIT License