0 Members and 1 Guest are viewing this topic.
Nice, it looks better and better. By the way what do you use for the ground and circle? Is it an image or is it rectangle and circle routines? I am curious how large an image is in Lua...
function drawBackground(gc) gc:setColorRGB(255,150,80) gc:fillRect(0,165,pww(),165) gc:setColorRGB(255,255,255) gc:drawArc(pww()*0.5-60,pwh()-30, 120,80,0,180)end
Ah I see, this seems cool. I would probably need to check the wiki to figure out what pww and pwh are, though
function pww() return platform.window:width()endfunction pwh() return platform.window:height()end