shohan4556

Members
  • Content count

    118
  • Joined

  • Last visited

About shohan4556

  • Rank
    Advanced Member
  • Birthday 01/15/1993

Contact Methods

  • Website URL
    http://naivedev.blogspot.com
  • Twitter
    shohan4556
  • Skype
    shohan4556

Profile Information

  • Gender
    Male
  • Location
    Dhaka
  • Interests
    Game Develop

Recent Profile Visitors

2,069 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. shohan4556

    MainMenu

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

    Phaser Facebook integration

    I am also following this post curious to know the solution
  4. shohan4556

    bar life in phaser

    Hi, I have made this just now , please have a look making health bar
  5. shohan4556

    collideCallback objects being passed are undefined

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

    How to delay between loops by using tween?

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

    I finished something!?

    Hi, how to play this game.
  9. shohan4556

    images don't collide in the rigth place

    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);
  10. shohan4556

    performance issue using arcade physics on mobile

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

    crisp image when scale down

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

    [Phaser] Rocket Racer

    what is the control to play this game no instruction here and there also.
  13. shohan4556

    4square

    what is rule to play this game.
  14. 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.game.add.tilemap('tilemap'); this.map.addTilesetImage('sheet','tileset'); // create the layer this.layer = this.map.createLayer(0); this.layer.resizeWorld(); this.map.setCollisionBetween(0, 133); }, update: function () { this.game.physics.arcade.collide(this.player, this.layer); }, the first image is overlapping and the second image is colliding with the tile. it happens randomly when I move my player around.