Iam doing a game where i want to rotate the whole canvas to 90degrees for portrait version.
When i want to rotate the canvas, (app.renderer.view, this is how Pixi names canvas), I used the below code
app.renderer.view.style.transform = "rotate(90deg) translate(-190px,335px)"
Good thing is i can see the app rotated successfully. But the mouse or corordinate system still follows the landscape mouse coordinates.
I tried with many CSS and Pixi tricks. Nothing works. I tried with style.transformOrigin etc., in CSS. Does it anything involves that relate to PIXI code.