is it possible with Phaser to somehow turn the whole game upside down as if the phone had turned 180 degrees?
I am not sure if Phaser has a functionality to do it by itself.
But you can try rotate the HTMLCanvasElement, canvas, that Phaser renders 180 degrees with:
const canvas = document.querySelector("canvas");
canvas.style.transform = "rotate(180deg)";
or just add the corresponding css for canvas in your html:
canvas {
transform: rotate(180deg);
}
Demo: https://jsfiddle.net/fselcukcan/71b2uo53/
At the end of the they that would be one of the ways that framework itself would be doing.
Thanks, it works!