Loading Game Issue in Safari browser

  • Gurudath
    Likes 0

    Problem Description

    Hello,

    I have created sample project using cocos2dx Js-2.2.3. 
    From the sample project, When i open index.html in safari browser. Game is loading fine.

    I have created project using cocos2dx Js version 3. 
    From the sample project, When i open index.html in safari browser. Getting error.

    I have attached screenshot for the error message.

    https://www.dropbox.com/s/4b1jm4vgs0vrxwu/GameLoadingErrorOnV3.png?dl=0

    I have debug for some time. This error occurs when loading any Json and Plist file. While reading value from Plist or Json file will be null.

    Guys can anyone help me out. This issue was not happening cocos2dx JS version 2.2.3.
    And everything works fine if i load game with localhost(server) SetUp

    Thanks in advance.
    Gurudath

     

     

  • Sonar Systems admin
    Likes 0

    You need localhost, that is the only way.

  • Gurudath
    Likes 0

    Okay

     

Login to reply