Sign in to follow this  

Problema no navegador Safari

Recommended Posts

Hi! I'm having this problem only in the Safari browser. 
Phaser does not work. 

Phaser.Loader - audio[hit]: error loading asset from URL null (no supported audio URL specified)
phaser.min.js:7Phaser.StateManager - No state found with the key: Game

In other browsers everything is fine. Here is the index code.


<!DOCTYPE html>

<html lang="en">
    <meta charset="utf-8" />
    <title>Recicle Game</title>
    <script src="build/phaser.min.js"></script>

    <script type="text/javascript">
    BasicGame = {};
    var game;

    <script src="build/Boot.js"></script>
    <script src="build/Preloader.js"></script>
    <script src="build/Game.js"></script>

<script type="text/javascript">
(function () {

  game = new Phaser.Game(1000, 600, Phaser.CANVAS, '');

  game.state.add('Boot', BasicGame.Boot);
  game.state.add('Preloader', BasicGame.Preloader);
  game.state.add('Game', BasicGame.Game);





What can it be?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.