Hi all,
I just wandering of how to make a loading bar in corona sdk?
if anyone know - or where can i find the tut,
i really apprieciated
thanks in advance
Keat
Hi all,
I just wandering of how to make a loading bar in corona sdk?
if anyone know - or where can i find the tut,
i really apprieciated
thanks in advance
Keat
There are many ways you could do it.
You could use a progress view:
http://www.coronalabs.com/blog/2013/03/05/new-widgets-part-3/
You could take an image and scale it up as progress increases:
local loadingBar = display.newImageRect("loadingbar.png", 32, 32) local function updateProgress(percentage) loadingBar.xScale = percentage end updateProgress(10) updateProgress(20) ... ... updateProgress(100)
There are many ways you could do it.
You could use a progress view:
http://www.coronalabs.com/blog/2013/03/05/new-widgets-part-3/
You could take an image and scale it up as progress increases:
local loadingBar = display.newImageRect("loadingbar.png", 32, 32) local function updateProgress(percentage) loadingBar.xScale = percentage end updateProgress(10) updateProgress(20) ... ... updateProgress(100)