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


  • Recently Browsing   0 members

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