madhurhtml5

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. Hi, i am trying the example of p2 physics i.e contact event . As i have develop complete game where i am loading all the game image and json file in loading screen. It load only image and giving error for json file . Error in console is : GET http://localhost/alphadefender/assests/physics/sprites.json 404 (Not Found) phaser.js:41968Uncaught SyntaxError: Unexpected token < I have provided correct path of json file and also running the file on localhost . Secondly , the syntax i have use for loading the json file is: game.load.physics('physicsData','assests/physics/sprites.json'); plz help me out ...
  2. Its running at 960*536 resolution, no not much , objects create and destroy in runtime
  3. Hello, I have developed a game in phaser(version 1.1.3) and has to run it basically over mobile devices using their own native web browsers. The game goes well and performs normally in the browsers such as chrome, firefox etc but when it is run on stock browser(default web browser) specially on samsung devices then it lags and slows down the performance. Kindly suggest me if i can make certain changes. and solve this as soon as possible. Thanks in advance.
  4. Hello, I am making a game consisting of a 2D array. The game concept is same as that of candy crush, (2 swap between 2 items from the group). For this i have to make a 2D array of sprites and so i have made a class and want to extend it with sprite so that i can create its objects to bring those sprites in 2D array on the screen. using object_name = new Class_name() is giving error. Please do suggest. Thanks in advance.
  5. I am making a game in phaser and have correctly implemented preload(), create() and update() functions int the game. Now i need to switch from my game's start screen to game screen or main menu screen....hence i want to navigate between the windows. Thanks in advance.