So i have recently started using Codea.
I have a 32 by 32 sprite which is about 1 cm big on my iPad screen, and i want to enlarge it so it looks 4cm bi. I look through some of the code and couldn’t find anything useful.
I am taking a guess that i would need to use scale except i am not sure, can someone help me?
I’d think scale(4) would do it. It’ll get blurier, of course. using noSmooth() may help.
Example:
function draw()
background(0,0,0,0)
translate(WIDTH/2, HEIGHT/2) -- move to center of screen
scale(4) -- comment this line to see it without scaling
noSmooth() -- comment this line to see if it helps with blur or not
sprite("Pick some sprite")
end