Jump to content

Search the Community

Showing results for tags 'change sprite'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi there, I´m having a problem with an emitter, I´m trying to change the particles sprite and it seem´s it´s no working... I have a normal code for the emitter this.emitter= this.game.add.emitter(this.hero.x, this.hero.y, 400); this.emitter.makeParticles('sprite1'); this.emitter.minParticleSpeed.setTo(0,200); this.emitter.maxParticleSpeed.setTo(0, 200); this.emitter.gravity = 500; this.emitter.minRotation = 0; this.emitter.maxRotation = 0; this.emitter.minParticleScale = 3; this.emitter.maxParticleScale = 3; this.emitter.start(false, 4000, 20);And I was trying to change the particles this way, I also tried stopping, changing and starting again but it´s not working. How should I do that? I guess it´s possible with the same emitter. Thanks. this.emitter.makeParticles('sprite2');
×
×
  • Create New...