Giter Site home page Giter Site logo

libregamesarchive / puzzlemoppet Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 33.13 MB

Challenging 3D puzzle game - Backup fork of https://bitbucket.org/Knitter/puzzlemoppet

Shell 0.07% CMake 1.16% Batchfile 0.01% C 20.27% C++ 76.88% GLSL 1.57% JavaScript 0.01% Objective-C 0.03%

puzzlemoppet's Introduction

Puzzle Moppet

A challenging 3D puzzle game where you must guide the Moppet through the vast and eternal void of space by solving the various and beautiful puzzles thrown at you.

This project is an effort to make the original Puzzle Moppet open source, replace art assets and continue the game development. Videos, details and binaries can still be found at original developer's website: http://garnetgames.com/puzzlemoppet.

Requirements

If in GNU/Linux search for the required libraries using your package manager.

Distribution specific instructions

Ubuntu:

sudo apt-get install build-essential cmake libode-dev libopenal-dev libxxf86vm-dev libirrlicht-dev

Arch Linux:

To build and install automatically use the PKGBUILD available at https://aur.archlinux.org/packages/puzzlemoppet-git

If you want to build it manually then install the dependencies:

sudo pacman -S ode irrlicht openal cmake

Building the Game

Open a terminal/console window, navigate to the project folder and change into the /puzzlemoppet directory. Run CMake and then Make:

cmake .
make

To "install" the game (i.e. use make install):

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_FOR_INSTALL=ON .
make
sudo make install

or

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/somewhere -DBUILD_FOR_INSTALL=ON .
make
make install

Other cmake options

  • cmake . For normal build

  • cmake -DCMAKE_BUILD_TYPE=Debug . If you want debug symbols

  • cmake -DCMAKE_BUILD_TYPE=Release . will give you -O2 optimisation for release builds

  • CMAKE_INSTALL_PREFIX : Install directory used by install. If make install is invoked or INSTALL is built, this directory is pre-pended onto all install directories. This variable defaults to /usr/local on UNIX and c:/Program Files on Windows.

  • BUILD_FOR_INSTALL: Should the game search for its datas in install path

Running the game

cd $BASEDIR/puzzlemoppet/bin/
./puzzlemoppet

Running the editor

Run the executable with command line parameter "-e" followed by a level name to invoke the editor:

./puzzlemoppet -e level_name.lev

where level_name.lev is either one of the levels in the "projects\Puzzle\levels\levels" directory or a completely new name to create a new level).

Controls:

  • Mouse wheel to toggle between block type selection and editing
  • Left mouse to add a block.
  • Right mouse to remove a block.
  • Arrow keys or WSAD to fly around the level.
  • "S" to save, but the level is auto saved on exit anyway.
  • Esc or Alt+F4 to exit.

To run a specific level omit the -e flag:

./puzzlemoppet level_name.lev

License Information

Please see specific license files in /puzzlemoppet/licenses.

Except otherwise noted, source files are released under WTFPL, version 2.0. Game assets are released under a free license, usually CCBYSA3 or GPLv3+. Asset files created by Daniel Frith (original author) are released under WTFPL.

Other Notes (from Daniel Frith)

Some minor patches were made to the Irrlicht 1.6.1 source code which have since been lost. The ones I remember are:

  • An opengl tweak to fix the sea's transparency in the final scene of the game, in COpenGLMaterialRenderer.h:

    COpenGLMaterialRenderer_TRANSPARENT_REFLECTION_2_LAYER::OnSetMaterial

    change glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_COLOR) to glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)

  • In GNU Linux, changing to use XRandR rather than XVidMode fixed an occasional fullscreen freezing problem.

  • Some modifications to the OS X device, to do with it crashing at certain screen sizes, see irrlicht.sourceforge.net/forum/viewtopic.php?t=40211#p254941

puzzlemoppet's People

Contributors

karjonas avatar kiaaze avatar knitter avatar

Watchers

James Cloos avatar Rémi Verschelde avatar

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.