shohan4556

Members
  • Content Count

    118
  • Joined

  • Last visited

Everything posted by shohan4556

  1. So Whats the solution of the problem ? Should I use SHOW_ALL or USER_SCALE to solve the problem. please share your thought.
  2. Hello, I have noticed that my sprite position is not constant its differ for different mobile device please take a look at the image. BasicGame.Game.prototype = { init: function () { // also tried RESIZ not working this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.scale.pageAlignHorizontally = true; this.scale.pageAlignVertically = true; this.scale.setResizeCallback(this.gameResized, this); this.scale.updateLayout(true); this.scale.refresh(); }, preload: function () { this.load.image('cake','asset/cake-color.png'); }, create: function () { this.image1 = this.add.sprite(this.game.world.centerX,this.game.height-150,'cake'); this.image1.anchor.setTo(0.5, 0.5); this.image1.scale.setTo(this.game.global.scaleRation); }, gameResized: function (width, height) { // this.image1.x = Math.round(width/2); //this.image1.y = Math.round( height-120 ); } }; I have tried Scale Manager SHOW_ALL AND RESIZE but no result. is there any way to fix the problem, please help me.
  3. http://kvazars.com/littera/ this is I used to generate bitmap font.
  4. I think the previous one good for production, if the latest version is 2.4.6 then choose 2.4.5. I usually do this because the previous is more mature than the latest one.
  5. http://kvazars.com/littera/ here you can play with bitmap text, upload a bold font font and you are done.
  6. Hello everybody I am making a jigsaw puzzle, I wanted to split up my images like this, but I did not found any idea how to do it. If you have any experience please share. Thanks.
  7. var game = new Phaser(800,600,Phaser.AUTO); game.global = { score : 0, sound : false } // you can access these variable anywhere in your project no need to pass them via state to state
  8. Hello devs, I have published my first game on play store the game is completely made in Phaser. The gameplay is very simple - player have to tap the ball which represent the text(not text color). Here is game thelink fuzzle - play here If possible give me a feedback. Thanks.
  9. I have build a very simple game with crosswalk but when I run the game on my android device its showing an error popup like 'The connection to the server was unseccessfu.(file:///android_asset/www/index.html) '.
  10. I used intel xdk and build my very simple game but it is very slow. have you suggestion to make it better.
  11. Looks nice what is the rule to play the game.
  12. If in the game world the two object is not colliding then its shows false if collide then its true. check the in the game world the two objects is colliding then its will result true.
  13. Hello everybody, I making a game with Phaser, but the problem is when I tested my game in different screen size then the assets coordinate is different. Is there any magic way to resolve this. Thanks.
  14. var game = new Phaser.Game(window.innerWidth * window.devicePixelRatio, window.innerHeight * window.devicePixelRatio, Phaser.CANVAS, 'game'); Try this.
  15. I think tween is cleared when its done. you set a timer loop to call the tween many times.
  16. looks great which algorithm did you used to the game to generate sequence ?
  17. Very good game, which physics did you used here ?
  18. Did you solve the problem ? I have the same problem.please share how you solve this issue.
  19. Your idea is great but its not helpful until more indies are not registered in this site and active. have you any plan for this ?
  20. This is how I use global variable var game = new Phaser.Game(640, 960, Phaser.AUTO, 'game'); game.global = { score: 0, sound: false }