Sounds like you'll want to use the ParallaxBackground
node and leave both backgrounds you have as children of it.
Basically, you add a ParallaxBackground
node to the scene, then a ParallaxLayer
. If you want the background to move at the same speed as the camera, leave the ParallaxLayer's Motion -> Scale values at 1. Lower numbers will make the background move slower, as if it was farther away.
The ParallaxBackground can have N ParallaxLayers, each with its own parameters and textures.
This video will probably help you understand it better: https://www.youtube.com/watch?v=7-zDftycdw8