Is it possible to have background layer of the game? #1205
chengenzhao
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Hi, can't the same behavior be achieved using an appropriate z-index and adding an entity that represents background? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi:
Currently there are two layers in the game appllication: game world and ui
the problem is UI part is always on the top of game world
so if we want to have a background of the game world
we couldn't use addUINode method
so is it a good idea to have extra layer which behind the game world?
for now we use
to set the background image
but it is more like a hack of the framework
so is it possible to have an official background layer?
And expose method like addBackgroundNode?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions