Trying to display the title. But it comes up a black screen. Let me know how to fix it. Thanks!
[code]
module(…, package.seeall)
–Status bar, like power and such at top
display.setStatusBar( display.HiddenStatusBar ) – hide the status bar from the top
local director = require(“director”)
local ui = require(“ui”)
function new()
localGroup = display.newGroup(
local function spawn_images()
local menudisplay = display.newImage(“title.png”)
menudisplay.x = display.contentWidth/2
menudisplay.y = display.contentHeight/2
menudisplay.isVisible = true
menudisplay.isBodyActive = false
localGroup:insert(menudisplay)
–local localBackground = display.newGroup()
–local background = display.newImage(“bg2.png”)
–localBackground:insert(background)
–Put it behind other display groups
–localBackground:toBack()
return localGroup --you need this line for ALL your scence, this was missing
end
[/code] [import]uid: 19768 topic_id: 6933 reply_id: 306933[/import]
lol