How do I do this? My background displayImage is covering over everything, and I can’t click the items on the screen like I need to. How do I reorder the players. Thanks folks!
P.S. Rob Haney is awesome if you want advice from him, real nice guy! [import]uid: 19768 topic_id: 6884 reply_id: 306884[/import]
jmp909
February 20, 2011, 10:34am
2
have you tried this?
http://developer.anscamobile.com/reference/index/objecttoback [import]uid: 6645 topic_id: 6884 reply_id: 24055[/import]
Yup. Produces an error. Here’s the coding that I need to be in the background.
local background = display.newImage("bg2.png")
localBackground:insert(background)
[import]uid: 19768 topic_id: 6884 reply_id: 24067[/import]
And still doesn’t work. [import]uid: 19768 topic_id: 6884 reply_id: 24068[/import]
jmp909
February 20, 2011, 12:11pm
5
you’ve got this?
[lua]local localBackground = display.newGroup()
local background = display.newImage(“bg2.png”)
localBackground:insert(background)
– put it behind other display groups
localBackground:toBack() [/lua]
[import]uid: 6645 topic_id: 6884 reply_id: 24073[/import]
No errors that time. Let me go test it out on my Mac. See if if it works! [import]uid: 19768 topic_id: 6884 reply_id: 24075[/import]
Yay that works! Thanks for helping me out! [import]uid: 19768 topic_id: 6884 reply_id: 24078[/import]