Jump to content

problems with responsive


Recommended Posts

Hi my devfriends ?

I make an experiment to try Phaser 3 and Angular 6. My game is about a tic tac toe online online, I finished the game play but the responsive doesn't work. I dont used resize function, I just modify the displayHeight and displayWidth attributes of sprites. The width and height in game config is the same width and height of user screen obtained with window.innerHeight and innerWidth. 

In my screen it see very well. But in other resolutions it see terrible. You can see the code here https://github.com/jlbousing/tictaconline/blob/master/src/app/app.component.ts

After this I want make a server with socketIo and share with you :D

Link to comment
Share on other sites


  • Recently Browsing   0 members

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