Jump to content

How to rotate canvas


Hoad
 Share

Recommended Posts

Greetings everyone,

I always wanted to create my own game but I never took a time to learn how to do it.

Today, I find myself on a college project where I have to create a game then I've chosen Phaser to help me.

So... I'm creating a game of a spaceship that must dodge from falling rocks.

This game must run on a tablet and on a smartphone properly.

I want it to be displayed always in a portrait orientation. 

This is how its looking on the browser

5.thumb.png.dd06c79ba3bc3fad3de9c67ffaa51f52.png

 

How to rotate the canvas to the right when the game is open on a screen that has its width greater than its height?

 

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...