summaryrefslogtreecommitdiff
path: root/build/test.lua
blob: fbb062fbd3fb67c94b5b1bb9860a01519133cfc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
tpt.register_step("do_step")
numberthing = 0
increment = 2
function do_step()
	numberthing = numberthing + increment;
	if numberthing >= 400 then
		increment = -2
	elseif numberthing < 4 then
		increment = 2
	end
	tpt.drawtext(numberthing, 50, "Oh my god, this is amazing", 255, 255, 255, 255)
	tpt.drawtext(mousex, mousey, "Oh my god, this is amazing", 255, 255, 255, 255)
	return true
end