Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(9 edits)

Topdown jumping TIC80

title: game title

author: game developer

desc: short description

script: lua

t=0

x=96

y=24

a = 0

function rotate(x,y,a)

return x math.cos(a)-ymath.sin(a),

xmath.sin(a)+ymath.cos(a)

end

function TIC()

local x1,y1 = rotate(3,8,a)

local dotx= x1+x

local doty= y1+y

if btn(5) then a = a+0.4

x = x +2

a = a+0.1

x = math.floor(x)

end

cls(13)

spr(1+t%60//30*2,dotx,doty,14,3,0,0,2,2)

print("HELLO WORLD!",84,84)

print(x)

t=t+1

end

markdown being weird