erich

Members
  • Content count

    69
  • Joined

  • Last visited

1 Follower

About erich

  • Rank
    Advanced Member

Contact Methods

  • Twitter
    webdesigneire

Profile Information

  • Gender
  1. excellent work - well done !!
  2. great read ! I foung intelXDK quite easy to port to the Google store for Android in my experience, I might try phonegap again (I had no joy the 1st time round) I haven't tried the leaderboard stuff yet - its on my to do list...... Eric
  3. very nice game - well done
  4. very clever idea - well done
  5. was looking for the same - any good online examples ?
  6. have a look at: http://phaser.io/examples/v2/basics/01-load-an-image should be : create: function() { game.add.sprite( 0, 0, 'flag' ); },
  7. well done - thats really good ! Eric
  8. cheers @scheffgames !
  9. 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
  10. 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
  11. works fine this end, player is walking on the ground and input is working fine - did you clear the cache and try again ?
  12. thats really good ! well done Eric
  13. 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
  14. 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
  15. @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