Lua Virtual Reality Engine
Go to file
bjorn 74c0b28949 Update README; 2016-08-07 18:38:48 -07:00
src Refactor; 2016-08-07 18:32:37 -07:00
.gitignore Update .gitignore; 2016-07-31 17:21:39 -07:00
CMakeLists.txt Fix windows; 2016-07-15 22:54:11 -07:00
README.md Update README; 2016-08-07 18:38:48 -07:00

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.load()
  headset = lovr.device.getHeadset()
end

function lovr.update(dt)
  print('Headset position:', headset:getPosition())
end

Then, start the OSVR server and run your game:

$ cd path/to/myGame
$ lovr .

Dependencies

  • LuaJIT
  • GLFW and OpenGL 4
  • assimp
  • OSVR

Compiling (CMake)

mkdir build
cd build
cmake ..