I’m remaking a flash website that had a paralax home screen consisting of 3 different layers ;
-background - moving slowest
- middle ground - medium speed, also contained clickable objects that launched individual games
- foreground - fastest moving layer, containing some trees and foliage
This paralax scene reacted to mouse movementm and was scrolling horizontaly depending on mouse direction from the middle.
What would be the best / smartest approach to implement this in Phaser?
just take the old school approach and move those layers in different speeds on update() function , or maybe use groups or camera and have each layer in different Z depths or something like that?