Jump to content


  • Content Count

  • Joined

  • Last visited

About shohan4556

  • Rank
    Advanced Member
  • Birthday 01/15/1993

Contact Methods

  • Website URL
  • Twitter
  • Skype

Profile Information

  • Gender
  • Location
  • Interests
    Game Develop

Recent Profile Visitors

3434 profile views
  1. Hi, I just open sourced my game "Fuzzle" the game I made with PhaserJs and published on play store, hope the source code may help somebody. github repo
  2. I think your code is ok, your state is changed, every state by default has a black background color. try to print which state it after clicking console.log(game.state.getCurrentState()); // it will print the current state.
  3. I am also following this post curious to know the solution
  4. Hi, I have made this just now , please have a look making health bar
  5. I think your platforms group did not have any arcade physics. So that its didn't found the body property. try this , var platforms = game.add.group(); platforms.enablebody = true; then try again.
  6. you can try something like this, var mychild = myGroup.getRandom(); if(mychild.attackZone==true){ // do stuff } or try this Phaser.ArrayUtils.shuffle(myGroup); // shuffle group here myGroup.updateZ(); // apply the changes myGroup.forEach(function(enemy){ if(enemy.attaxkZone==true){ // dostuff // break } }); Hope this helps.
  7. I think tween have the delay property. tween.to(properties, duration, ease, autoStart, delay, repeat, yoyo) : and tween have the method tween.repeatDelay(duration); you can use this.
  8. your code seems ok I think you need to set cloud anchor point 0.5. like this this.clouds.setAll('anchor.x', 0.5); this.clouds.setAll('anchor.y', 0.5);
  9. I have used arcade physics so many times and it works fine for mobile devices. you can try crosswalk to wrap your game its good.
  10. may be this size of the image is not power of two if it is 529px then make it 512px and now it should work fine.
  11. what is the control to play this game no instruction here and there also.
  12. what is rule to play this game.
  13. Hi, I have create a simple tilemap using tiled editor the map has just single layer but when I tried to collide my player with tilemap then this wired problem happened. Sometimes my player collide correctly sometime it overlapping. pic more more details understanding. here is the minimal code for full project https://github.com/shohan4556/Cowboy-Shooter/tree/master/script MyGame.playState.prototype = { create: function () { console.log(game.state.getCurrentState()); this.game.physics.startSystem(Phaser.Physics.ARCADE); this.map = this.gam
  • Create New...