bunch of stuff

This commit is contained in:
Patrick Schwarzer 2025-04-12 10:04:38 +02:00
parent 77c93bf874
commit d220cfb9da
5 changed files with 93 additions and 42 deletions

View file

@ -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