what the easiest way to make the game start with a random back ground image and how would i change background base on the score for example when a 100 points is reached
score = 0
local scoreTxt = display.newText(‘0’, 290, 10, native.systemFont, 15)
local function onGlobalCollision (event)
audio.play(bounceSnd)
score = score + 5 – just a timer so you can keep track…
scoreTxt.text = string.format("%d", score )
end
Runtime:addEventListener( “collision”, onGlobalCollision )