Forums

OverviewV-Play 2 Support (Qt 5)Particle Question › Reply To: Particle Question

OverviewV-Play 2 Support (Qt 5)Particle Question › Reply To: Particle Question
#8809

Martin

It works for me.   The appended emmitter works fine…

 

  ParticleVPlay {
      id: hotfootEmitter

      running: hasHotfoot

      anchors.horizontalCenter: parent.horizontalCenter
      anchors.top: parent.bottom

      // Particle configuration properties
      maxParticles: 32
      particleLifespan: 0.9
      particleLifespanVariance: 0.2
      startParticleSize: 7
      startParticleSizeVariance: 2
      finishParticleSize: 0
      angle: 90
      angleVariance: 132

      // Emitter Behavior
      emitterType: ParticleVPlayBase.Gravity
      duration: 0
      positionType: ParticleVPlayBase.Free
      target: parent
      sourcePositionVariance: Qt.point(0,10)

      gravity: Qt.point(0,1)
      speed: 85
      speedVariance: 2

      // Appearance
      startColor: "#fcfb13"
      finishColor: "#ce0b0b"
      textureFileName: "../../assets/img/particleFire_32.png"
    }

 

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support