I have had Corona for half a day, and the display object code is not working. Everything seems to be correct, but in the stimulator, the object/image does not show up.
Here is the code:
local alien = display.newImage( “greenguy.png” )
Is there anything wrong with this code? [import]uid: 30901 topic_id: 5690 reply_id: 305690[/import]
nothing wrong with the code. “stimulator no object” what about treminal output? (You’ll find the forum full of extremely knowledgeable and helpful people. The more information you can give, exactly the behavior and results you see, the quicker and more relevant will be the response) [import]uid: 12635 topic_id: 5690 reply_id: 19488[/import]
That code is fine. Do you have the image in the same directory as your main.lua? Did you even save it as main.lua? The simulator can only simulate main.lua-files [import]uid: 30185 topic_id: 5690 reply_id: 19497[/import]
And to top it off, give that image some coordinates in the world… [import]uid: 13720 topic_id: 5690 reply_id: 19532[/import]