Jump to content

Search the Community

Showing results for tags 'ShaderParticleEngine'.

  • 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 everybody, I have read many tutorials and I start programming with this assistance. Despite this help, I can't make the engine run properly particles. I have a ship. Currently, it has 1 "reactor" at 0,0,0 and it works very well (view my upload 3.jpg). The SPE is linked with the scene : reactorGroup = new SPE.Group({ texture: THREE.ImageUtils.loadTexture('./img/smokeparticle.png'), maxAge: 1 }); reactorEmitter = new SPE.Emitter({ type: 'cube', position: ship.position, positionSpread: new THREE.Vector3(1, 1, 1), sizeStart: 2, sizeEnd: 1, colorStart: new THREE.Color( 'white' ), colorMiddle: new THREE.Color( 'red' ), colorEnd: new THREE.Color( 'blue' ), opacityStart: 0.05, opacityMiddle: 1, opacityEnd: 0, particleCount: 1000 }); reactorGroup.addEmitter(reactorEmitter); scene.add( reactorGroup.mesh ); Now I would like to shift the engine on the x axis and y (view my upload 4.jpg). If I attach the particles to the scene, the position is incorrect when moving (view my upload 1.jpg). So the problem is that if I attach the particles to the ship with ship.add( reactorGroup.mesh ); the particle has no effect. And if I attach the particles to the scene, the position is incorrect when moving. Can you help me please ?thanks.
×
×
  • Create New...