I'm new to Phaser and I want to ask about something that became a problem for me and sorry for my bad english.
So I have shape sprite that I add child to the background sprite. I want to make the background fit the screen size and it working. I also make the shape sprite anchored to middle (0.5, 0.0) so whatever the shape the position still in the middle. The problem came when I try to create collision. If the size is original size then the collision is correct but when I resize the background the collider start to not fit the sprites. I search for this and found out that if I comment out the anchor then the collider is fit to the sprite again. I also already do setting on body size.
Here is the list of code I use
//reset shape_sprite collision
I think maybe I'm doing it wrong.