1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-02 20:43:35 +00:00
lovr/README.md
2016-08-08 12:07:01 -07:00

40 lines
521 B
Markdown

LÖVR
===
LÖVR is a framework for making VR games with Lua! Inspired heavily by [LÖVE](http://love2d.org). Still under heavy development.
Example
---
In a directory called `myGame`, create a file called `main.lua`:
```lua
function lovr.update(dt)
print(lovr.headset:getPosition())
end
```
Then, start the OSVR server and run your game:
```sh
$ cd path/to/myGame
$ lovr .
```
Dependencies
---
- LuaJIT
- GLFW (3.2) and OpenGL 4
- assimp
- OSVR
Compiling (CMake)
---
```sh
mkdir build
cd build
cmake ..
```