mirror of https://github.com/bjornbytes/lovr.git
Update README;
This commit is contained in:
parent
9ae3ee566b
commit
cfdcb34f31
|
@ -29,7 +29,7 @@ should see a spinning purple cube!
|
||||||
|
|
||||||
Play an ogg file:
|
Play an ogg file:
|
||||||
|
|
||||||
```
|
```lua
|
||||||
function lovr.load()
|
function lovr.load()
|
||||||
local sound = lovr.audio.newSource('darudeSandstorm.ogg')
|
local sound = lovr.audio.newSource('darudeSandstorm.ogg')
|
||||||
sound:play()
|
sound:play()
|
||||||
|
|
Loading…
Reference in New Issue