-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: small fixtures before 0.0.4 (#47)
* docs: update platform support on README.md * fix: missing module http in repl * docs: upgrade version in doxygen * docs: add example hello world
- Loading branch information
1 parent
8b8f1d7
commit 439fb44
Showing
4 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
local function init(std, game) | ||
end | ||
|
||
local function loop(std, game) | ||
end | ||
|
||
local function draw(std, game) | ||
std.draw.clear(std.color.black) | ||
std.draw.color(std.color.white) | ||
std.draw.text(8 , 8, 'Hello world!') | ||
end | ||
|
||
local function exit(std, game) | ||
end | ||
|
||
local P = { | ||
meta={ | ||
title='Hello world', | ||
author='RodrigoDornelles', | ||
description='say hello to the world!', | ||
version='1.0.0' | ||
}, | ||
callbacks={ | ||
init=init, | ||
loop=loop, | ||
draw=draw, | ||
exit=exit | ||
} | ||
} | ||
|
||
return P; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters