mirror of
https://github.com/keharriso/love-nuklear.git
synced 2025-09-11 00:27:48 -04:00
Updated Home (markdown)
parent
1b5d9e86ae
commit
725971d88c
1 changed files with 2 additions and 2 deletions
4
Home.md
4
Home.md
|
@ -7,14 +7,14 @@
|
||||||
The library uses CMake to build, and requires [LuaJIT](http://luajit.org/index.html) headers and libraries.
|
The library uses CMake to build, and requires [LuaJIT](http://luajit.org/index.html) headers and libraries.
|
||||||
|
|
||||||
When fetching the code, you must also pull the required Nuklear code as a submodule. The simplest way to do this is to use:
|
When fetching the code, you must also pull the required Nuklear code as a submodule. The simplest way to do this is to use:
|
||||||
```
|
```sh
|
||||||
$ git clone --recursive git@github.com:keharriso/love-nuklear.git
|
$ git clone --recursive git@github.com:keharriso/love-nuklear.git
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
The following program shows the basic code to set up and use the library, including initialization and event handling:
|
The following program shows the basic code to set up and use the library, including initialization and event handling:
|
||||||
```
|
```lua
|
||||||
local nk = require 'nuklear'
|
local nk = require 'nuklear'
|
||||||
|
|
||||||
function love.load()
|
function love.load()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue