mirror of https://github.com/bjornbytes/lovr.git
3c3cc44136 | ||
---|---|---|
src | ||
.gitignore | ||
CMakeLists.txt | ||
README.md |
README.md
LÖVR
LÖVR is a framework for making VR games with Lua! Inspired heavily by LÖVE. Still under heavy development.
Example
In a directory called myGame
, create a file called main.lua
:
function lovr.update(dt)
print(lovr.headset.getPosition())
end
Then, start the OSVR server and run your game:
$ cd path/to/myGame
$ lovr .
Dependencies
- LuaJIT
- GLFW (3.2) and OpenGL (3.2)
- assimp
- OSVR
Compiling
CMake:
mkdir build
cd build
cmake ..
tup (OSX only):
tup
./lovr