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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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