mirror of https://github.com/bjornbytes/lovr.git
Update README;
This commit is contained in:
parent
218c75897e
commit
cfeff830ab
|
@ -8,7 +8,7 @@ Example
|
||||||
|
|
||||||
In a directory called `myGame`, create a file called `main.lua`:
|
In a directory called `myGame`, create a file called `main.lua`:
|
||||||
|
|
||||||
```
|
```lua
|
||||||
function lovr.load()
|
function lovr.load()
|
||||||
headset = lovr.device.getHeadset()
|
headset = lovr.device.getHeadset()
|
||||||
end
|
end
|
||||||
|
@ -20,7 +20,7 @@ end
|
||||||
|
|
||||||
Then, run your game:
|
Then, run your game:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
$ cd path/to/myGame
|
$ cd path/to/myGame
|
||||||
$ lovr .
|
$ lovr .
|
||||||
```
|
```
|
||||||
|
@ -37,14 +37,14 @@ Dependencies
|
||||||
Compiling (Tupfile, OSX only)
|
Compiling (Tupfile, OSX only)
|
||||||
---
|
---
|
||||||
|
|
||||||
```
|
```sh
|
||||||
tup
|
tup
|
||||||
```
|
```
|
||||||
|
|
||||||
Compiling (CMake)
|
Compiling (CMake)
|
||||||
---
|
---
|
||||||
|
|
||||||
```
|
```sh
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
|
|
Loading…
Reference in New Issue