Corona - Display Groups
Kamis, 24 Oktober 2013
0
komentar
This creates a new display group by the name of Group1. You can then add display objects to it.You should declare them near the top of your Lua document.You should create display groups in a specific order. The first declared group will actually reside behind the next group in visually layered order.
local Group1 = display.newGroup()
local farBackground = display.newGroup()
local nearBackground = display.newGroup() --this will overlay 'farBackground'
local foreground = display.newGroup() --and this will overlay 'nearBackground'
Baca Selengkapnya ....