I'm looking to add a parallax background (clouds) on top of a fixed background (sky) in a match 3 game. The camera is fixed and does not move around the level. This is the layout I have in mind:
Control -- Camera2D -- Sprite (sky) -- ParallaxBackground ---- ParallaxLayer ------ Sprite (cloud) ---- ParallaxLayer ------ Sprite (cloud)
For a fixed camera game like a match 3 does it make more sense to not use a parallax background and simply animate the clouds in code? That layout would look like:
Control -- Camera2D -- Sprite (sky) -- Sprite (cloud, animated in code) -- Sprite (cloud, animated in code)
All of the parallax background tutorials that I have found are for games where the player is moving in the level and the camera follows them. Is a moving camera a requirement for a parallax background?