coder_for_life22

Members
  • Content count

    5
  • Joined

  • Last visited

  1. Phaser and Facebook Instant Games scaling

    Hmm. Not sure what the issue is but this is how I do mine and works well for instant games. //Resolution I use Tanx.game = new Phaser.Game(640, 960, Phaser.CANVAS); //Scale mode I use this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
  2. Cobalt Dungeon

    Installing the game right now! Thanks for writing this up and sharing! I learned a few tips from it with the chrome responsive feature and also Mixpanel. Definitely going to be using this.
  3. Coding Slither.io in One Week

    This is awesome!! Thanks for sharing
  4. Looks great! Gonna check this out tonight
  5. Making Particle Color Match Sprite Color

    Hey Everyone, Pretty new here but glad to be a part of the community. Question, I have a game with sprites that are all of the same prefab but the only difference is the actually image of the sprites. The issue is, when one of these objects are destroyed in my game I would like to show particles for each sprite being destroyed. Currently, I have the particles working but I would like to somehow make the particles match the color of the sprite it represents. Does anyone know how I can do this when I create each sprite or maybe somehow detect the color of each sprite? All of these sprites are being pooled using groups, if that makes a difference. Thanks guys