• Content Count

  • Joined

  • Last visited

Everything posted by shohan4556

  1. 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(,,'cake'); this.image1.anchor.setTo(0.5, 0.5); this.image1.scale.setTo(; }, 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.
  2. I tried your code but I dont know why its not working. The scaling method you showed here I had used my project before it just scale game objects but the position problem is still happening.
  3. So Whats the solution of the problem ? Should I use SHOW_ALL or USER_SCALE to solve the problem. please share your thought.
  4. shohan4556

    Phaser+Crosswalk Error

    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) '.
  5. shohan4556

    generating bitmap font xml this is I used to generate bitmap font.
  6. shohan4556

    Free Music Resource

    great effort I just bookmarked
  7. shohan4556

    Best version of Phaser to use?

    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.
  8. shohan4556

    How to make bold BitMapText? here you can play with bitmap text, upload a bold font font and you are done.
  9. shohan4556


    the art work looks great
  10. Is it a kickstarter project ?
  11. 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.
  12. shohan4556

    Global variables?

    var game = new Phaser(800,600,Phaser.AUTO); = { score : 0, sound : false } // you can access these variable anywhere in your project no need to pass them via state to state
  13. 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.
  14. shohan4556

    Which framework is better for mobile

    I used intel xdk and build my very simple game but it is very slow. have you suggestion to make it better.
  15. shohan4556

    [WIP] Planet Boom

    Looks nice what is the rule to play the game.
  16. shohan4556

    "Phaser.Arcade" Collision

    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.
  17. 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.
  18. shohan4556

    Scaling my entire game to fit window size?

    var game = new Phaser.Game(window.innerWidth * window.devicePixelRatio, window.innerHeight * window.devicePixelRatio, Phaser.CANVAS, 'game'); Try this.
  19. shohan4556

    Why can't I call start on a tween object twice?

    I think tween is cleared when its done. you set a timer loop to call the tween many times.
  20. shohan4556

    Sticky Tiles

    looks great which algorithm did you used to the game to generate sequence ?
  21. shohan4556

    [Phaser] The Pinball of Oz

    Very good game, which physics did you used here ?
  22. shohan4556

    Sprite Atlas Issue

    Did you solve the problem ? I have the same problem.please share how you solve this issue.
  23. 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 ?
  24. shohan4556

    Forum Banner Contest

    It looks great