@SkyTheCoder wow–that was my issue too!
Thanks you guys. You’ve been great.
I tweaked the code a little bit and I think it works now. I hope this helps.
-- Main
-- A Day of Choices
--basic settings
supportedOrientations(LANDSCAPE_ANY)
displayMode(FULLSCREEN)
icon = readImage("Documents:Choices Icon")
saveImage("Project:Icon", icon)
-- Our callback function
function didGetImage( theImage, status, head )
logoImage = theImage
saveImage("Documents:Victory",logoImage)
end
--[[function draw()
background(20,20,40)
if logoImage ~= nil then
sprite(logoImage, WIDTH/2,HEIGHT/2)
end
end ]]
function setup()
logoImage = nil
-- Request some data
http.request( 'https://dl.dropboxusercontent.com/s/r6wg8mn555l54n8/maxresdefault.jpg',
didGetImage )
-- used as needed to position things on screen
parameter.number("positionX",0,WIDTH)
parameter.number("positionY",0,HEIGHT)
parameter.number("widthX",0,WIDTH)
parameter.number("heightY",0,HEIGHT)
end
function draw()
-- modify and uncomment the following to use it for positioning
-- sprite("Documents:choices cup big", positionX, positionY)
if logoImage ~= nil then
sprite(logoImage, WIDTH/2,HEIGHT/2)
end
end
function touched(touch)
end