Hi,
I am new to Codea, but enjoying what I have done so far. I have a question about STANDARD and FULLSCREEN when using displayMode(). In the code below both circles A and B appear as I would expect them to when in STANDARD mode. However, only circle A appears as a circle when using FULLSCREEN.
Thanks
-- Use this function to perform your initial setup
function setup()
-- displayMode(FULLSCREEN)
circleA = circleImage( 150,"A" )
circleB = circleImage( 150,"B" )
end
-- This function gets called once every frame
function draw()
background(0, 0, 0)
sprite(circleA,WIDTH/2,HEIGHT/2)
sprite(circleB,WIDTH*0.25,HEIGHT/2)
end
function circleImage( size,txt)
local i = image(size,size)
setContext(i)
fill(255)
ellipse( size/2, size/2,size)
fill(0)
fontSize(40)
text(txt,size/2,size/2)
setContext()
return(i)
end