erich

Members
  • Content count

    64
  • Joined

  • Last visited

1 Follower

About erich

  • Rank
    Advanced Member
  • Birthday

Contact Methods

  • Twitter
    webdesigneire

Profile Information

  • Gender
  1. have a look at: http://phaser.io/examples/v2/basics/01-load-an-image should be : create: function() { game.add.sprite( 0, 0, 'flag' ); },
  2. well done - thats really good ! Eric
  3. cheers @scheffgames !
  4. Hi Quick question - is it possible to tint a spritesheet, I know you can use eg sprite.tint = 0xff00ff; but tint doesn't seem to work on an animation, is it possible or am I just better just photoshopping a new spritesheet? Thanks in advance Eric
  5. I find emitters very handy, this is a basic script snippet I modify as I see fit : var emitter = this.game.add.emitter(this.player.x, this.player.y, 15); emitter.makeParticles('star'); emitter.minParticleSpeed.setTo(-300, -300); emitter.maxParticleSpeed.setTo(300, 300); emitter.gravity = 0; emitter.start(true, 750, null, 15); this emitter is from my player sprite with a star png, you could easily modify this for your own needs hope it helps you Eric
  6. works fine this end, player is walking on the ground and input is working fine - did you clear the cache and try again ?
  7. thats really good ! well done Eric
  8. you could use : this.spaceKey = this.game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR); // spacebar this.actionButton = this.add.button(this.game.width - 200, this.game.height - 200, 'actionButton'); // show a jump buttn on screen this.actionButton.events.onInputDown.add(function(){ this.player.customParams.mustJump = true; }, this); this.actionButton.events.onInputUp.add(function(){ this.player.customParams.mustJump = false; }, this); and in the update function : if((this.spaceKey.isDown || this.player.customParams.mustJump) && this.player.body.touching.down) { //put your jump info here } Eric
  9. Hi Everyone A new game I created for a bit of fun with Phaser - see how long you can survive ! Use the arrow keys to move and space bar to reverse your jump, just dodge the saw blades for as long as you can. http://html5gamer.mobi/phaser2/gravity/ It will be up on the play store shortly https://play.google.com/store/apps/dev?id=6610143282478185428 Let me know what you think Eric
  10. @jopcode if you are using intel xdk, you need to show the .ogg first (its a a bug in xdk), if its the mp3 fierst it won't play the audio in android for some reason eg: this.load.audio('music', ['assets/audio/music.ogg', 'assets/audio/music.mp3']); Eric
  11. your game is INCREDIBLE !! well done Eric
  12. Thanks @1pixelarmy for the feedback, I will have a look at the navigation area to see if I can make it easier for the end user They are all native, once made I wrap them in the intelXDK for the App store for publishing I had a few subs so far, early days Greatly appreciated Eric
  13. thats really good ! Eric
  14. Thanks @mickeyren Yep just coding by myself in the spare time that I get, I'm really enjoying phaser, I really need to start polish the games more though I saw your tutorials they are great, well done ! Eric
  15. Thanks Matt ! Yep 12 months so far, I am a web designer by trade so I have learnt Phaser in my spare time through online books and especially the zenva course. At present I'm still just learning but my overall aim will be to licence games as I get better tthroughout the year. Eric