Skip to content
bullet
Switch branches/tags
Code
This branch is 2 commits ahead, 136 commits behind master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
irrlamb - 3D physics game
https://github.com/jazztickets/irrlamb
by Alan Witkowski

----- HOW TO PLAY -----

-- Game Controls --
E                     Move forward
D                     Move backwards
S                     Move left
F                     Move right
X                     Restart level
Spacebar              Jump
Escape                Menu (or quit game in test mode)
F1                    Menu
F2                    Invert mouse Y-axis
F3                    Show player position in console
F5                    Reload level from disk
F11                   Toggle HUD
F12                   Screenshot

-- Gamepad Controls --
Left Analog Stick     Move
Right Analog Stick    Adjust camera
A                     Jump
B                     Go back in menu
Select                Restart level
Start                 Menu

-- Replay Controls --
Right Mouse Button    Enable free camera mode
Spacebar              Pause
Right Arrow           Skip 1 second
Up Arrow*             Increase replay speed by 0.1x
Down Arrow*           Decrease replay speed by 0.1x
Mouse Wheel*          Increase/decrease replay speed by 0.1x
1                     Set replay speed to 0.5x
2                     Set replay speed to 1.0x
3                     Set replay speed to 2.0x
4                     Set replay speed to 4.0x
5                     Set replay speed to 8.0x
F11                   Toggle HUD
F12                   Screenshot

*Holding Left Shift changes by 0.01x

----- BUILDING -----

-- Dependencies --
cmake 2.8+
freetype2
sqlite3
lua 5.2+
openal
zlib
libvorbis
libogg
libjpeg
libpng

-- Cloning --
git clone https://github.com/jazztickets/irrlamb.git --recurse-submodules

-- Building and running --
mkdir build
cd build
cmake ..
make -j`nproc`
cd ../working && ../bin/Release/irrlamb

Lua 5.2 can be used by setting LUA_VERSION
cmake .. -DLUA_VERSION=5.2

-- Installing --
run "sudo make install" from the build directory.

-- Uninstall --
cat install_manifest.txt | xargs sudo rm

Windows users will need to install OpenAL:
https://www.openal.org/downloads/oalinst.zip

----- COMMAND-LINE ARGUMENTS -----
-level [.xml file]        Test a level
-replay [.replay file]    View a replay
-validate [.replay file]  Test a level with replay inputs
-noaudio                  Disable audio

Save data is in ~/.local/share/irrlamb for linux and %APPDATA%/irrlamb for windows.

----- DEVELOPMENT -----

Setting up blender for exporting:

In blender, select File -> User Preferences -> Add-ons -> Install from File...

Select the file irrlamb/assets/irrb/io_export_irrlicht.py

Enable the add-on by checking the checkbox.

Run the setup_env.sh script:
cd irrlamb/assets/irrb/
./setup_env.sh

Log out or reboot for the environment variable to take effect.