Jump to content

Phaser Game Looks 'Weird'/Faded on iPhone


Recommended Posts

Hey everyone,


So if I run my game on my phone then the game is almost impossible to look at it, it is so faded and light. - image attachedpost-11159-0-75932300-1415748463.jpg


However, If I run it on my laptop everyone looks fine,


I do not understand why it is doing this? Has anyone had this problem and know how to fix it?


The Dimensions are fine so it not to do with scaling  :S

Link to comment
Share on other sites

my index file looks like this: 

<!DOCTYPE html>
  body {background-color:black}
    <meta charset="utf-8" />
    <style> body { margin: 0; background: #B4D9E7; } </style>
    <script src="phaser.min.js"></script>
    <script src="Boot.js"></script>
    <script src="Preloader.js"></script>
    <script src="MainMenu.js"></script>
    <script src="Game.js"></script>
(function() {
    var game = new Phaser.Game(500, 340, Phaser.AUTO, 'game');
    game.state.add('Boot', myGame.Boot);
    game.state.add('Preloader', myGame.Preloader);
    game.state.add('MainMenu', myGame.MainMenu);
    game.state.add('Game', myGame.Game);
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...