This updates the examples to reflect the API change
that was done in commit
f0dc82305eb9c9297d73cba67634e9e4bc4f3b84
Change-Id: Id08896cbe3a47adc0b02797faddf50281a24c625
Reviewed-on: http://codereview.qt-project.org/5702
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
running: true
triggeredOnStart: true
repeat: true
- onTriggered:startingEmitter.pulse(0.1);
+ onTriggered:startingEmitter.pulse(100);
}
Emitter {
id: startingEmitter
alertItem = alertDelegate.createObject(root);
alertItem.x = root.width/2 - alertItem.width/2
alertItem.y = root.height/2 - alertItem.height/2
- spawnFireworks.pulse(0.2);
+ spawnFireworks.pulse(200);
stopAlert.start();
}
focus: true
offset = Math.random() * 100;
}
target = container.mapFromItem(targetArg, offset + targetArg.width/2, offset + targetArg.height/2);
- emitter.pulse(0.10);
+ emitter.pulse(100);
// console.log("Fire box: " + Math.min(container.width/2, target.x) + "," + Math.min(container.height/2, target.y) + " " + (Math.max(container.width/2, target.x) - Math.min(container.width/2, target.x)) + "," + (Math.max(container.height/2, target.y) - Math.min(container.height/2, target.y)));
}
Emitter {
State {
name: "DeathState"; when: dying == true
- StateChangeScript { script: particles.pulse(0.1); }
+ StateChangeScript { script: particles.pulse(100); }
PropertyChanges { target: img; opacity: 0 }
StateChangeScript { script: block.destroy(1000); }
}