Using composer with constant background image?

Is there a way to keep a consistent background image across scenes? In my main I’ve tied to add the background image but it overlays all the content from other scenes when I load them in. I can add the background image to each scene individually but is there a way to only have to do it once?

Thanks.

Composer Scenes are basically just view groups that are switched in and out on demand (I think !), so if you add a background image and send it to the bottom, it may just stay there underlying all the scenes as they switch in and out. It sounds from your description like your background is being pushed to the front all the time (as a side effect, I suppose ?) - is this what you mean by ‘overlay’ , so you could try pushing it back to the bottom of the stage again. It may need to be in its own view group. Don’t use Composer so guessing a bit here :slight_smile:

I’m newbie also, and I was looking for the same info.

Look at http://docs.coronalabs.com/api/library/composer/stage.html

The composer scenes are part of the stage, so you can insert first the background in the stage, after that the composer scenes. So the background will be always below composer scenes. Look the link, the example is really helpful.

Composer Scenes are basically just view groups that are switched in and out on demand (I think !), so if you add a background image and send it to the bottom, it may just stay there underlying all the scenes as they switch in and out. It sounds from your description like your background is being pushed to the front all the time (as a side effect, I suppose ?) - is this what you mean by ‘overlay’ , so you could try pushing it back to the bottom of the stage again. It may need to be in its own view group. Don’t use Composer so guessing a bit here :slight_smile:

I’m newbie also, and I was looking for the same info.

Look at http://docs.coronalabs.com/api/library/composer/stage.html

The composer scenes are part of the stage, so you can insert first the background in the stage, after that the composer scenes. So the background will be always below composer scenes. Look the link, the example is really helpful.