Initial Commit
This commit is contained in:
commit
41f6c65a46
7 changed files with 141 additions and 0 deletions
14
games/test.lua
Normal file
14
games/test.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
local test = 1
|
||||
local delay = 0
|
||||
|
||||
function Update(dt, curTime)
|
||||
if (curTime > delay) then
|
||||
delay = curTime + 1
|
||||
test = test + 1
|
||||
end
|
||||
end
|
||||
|
||||
function Draw()
|
||||
print("Counter: " .. test, 10, 10)
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue