Corona Lua Background Image. Get the Dimensions and Types of Images in your Corona SDK app using LUA. Tutorial on how to make a scrolling background in Corona SDK.
As part of its declaration, background is assigned a reference to a table object that describes a loaded image based on the contents of JPEG file world.jpg. Tutorial on how to make a scrolling background in Corona SDK. This Lua module was ported from the Perl Image::Size module by Geoff Richards.
It's not difficult but luckily there is already a module on Code Exchange.
I'm sure you've seen this effect in many games and most likely the time has come to implement.
All Corona applications have a main.lua file, which is the starting point for the application. Actually Corona uses feature called dynamic scaling so it let you working within same virtual size Its a weird gotcha. I made a new project in corona sdk and wrote the following code. local background = display.newImage("background.png"). this code give a small pic in upper left corner of the screen like.