bunch of stuff
This commit is contained in:
parent
77c93bf874
commit
d220cfb9da
5 changed files with 93 additions and 42 deletions
|
@ -1,14 +1,24 @@
|
|||
|
||||
local test = 1
|
||||
NAME = "Test"
|
||||
AUTHOR = "Tarion"
|
||||
VERSION = 0
|
||||
|
||||
local test = 0
|
||||
local delay = 0
|
||||
|
||||
function Load()
|
||||
end
|
||||
|
||||
function Update(dt, curTime)
|
||||
if (curTime > delay) then
|
||||
delay = curTime + 1
|
||||
end
|
||||
|
||||
function KeyPressed(key)
|
||||
if (key == "f5") then
|
||||
test = test + 1
|
||||
end
|
||||
Sprite("testSprites.png")
|
||||
end
|
||||
end
|
||||
|
||||
function Draw()
|
||||
print("Counter: " .. test, 10, 10)
|
||||
print("Loaded Sprites: " .. test, 10, 10)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue