aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtquick
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtquick')
-rw-r--r--examples/qtquick/imageelements/spriteimage.qml12
-rw-r--r--examples/qtquick/touchinteraction/multipointtouch/content/BearWhackParticleSystem.qml6
2 files changed, 9 insertions, 9 deletions
diff --git a/examples/qtquick/imageelements/spriteimage.qml b/examples/qtquick/imageelements/spriteimage.qml
index 559bb10a50..372970d1d6 100644
--- a/examples/qtquick/imageelements/spriteimage.qml
+++ b/examples/qtquick/imageelements/spriteimage.qml
@@ -53,7 +53,7 @@ Item {
ScriptAction { script: {image.goalSprite = ""; image.jumpTo("still");} }
PropertyAction { target: image; property: "y"; value: 0 }
}
- SpriteImage {
+ SpriteSequence {
id: image
width: 256
height: 256
@@ -63,7 +63,7 @@ Item {
Sprite{
name: "still"
source: "content/BearSheet.png"
- frames: 1
+ frameCount: 1
frameWidth: 256
frameHeight: 256
frameDuration: 100
@@ -72,7 +72,7 @@ Item {
Sprite{
name: "blink"
source: "content/BearSheet.png"
- frames: 3
+ frameCount: 3
frameX: 256
frameY: 1536
frameWidth: 256
@@ -83,7 +83,7 @@ Item {
Sprite{
name: "floating"
source: "content/BearSheet.png"
- frames: 9
+ frameCount: 9
frameX: 0
frameY: 0
frameWidth: 256
@@ -94,7 +94,7 @@ Item {
Sprite{
name: "flailing"
source: "content/BearSheet.png"
- frames: 8
+ frameCount: 8
frameX: 0
frameY: 768
frameWidth: 256
@@ -105,7 +105,7 @@ Item {
Sprite{
name: "falling"
source: "content/BearSheet.png"
- frames: 5
+ frameCount: 5
frameY: 1280
frameWidth: 256
frameHeight: 256
diff --git a/examples/qtquick/touchinteraction/multipointtouch/content/BearWhackParticleSystem.qml b/examples/qtquick/touchinteraction/multipointtouch/content/BearWhackParticleSystem.qml
index 05d74ab0ea..bed03e99aa 100644
--- a/examples/qtquick/touchinteraction/multipointtouch/content/BearWhackParticleSystem.qml
+++ b/examples/qtquick/touchinteraction/multipointtouch/content/BearWhackParticleSystem.qml
@@ -151,7 +151,7 @@ ParticleSystem {
Sprite{
name: "floating"
source: "Bear1.png"
- frames: 9
+ frameCount: 9
frameWidth: 256
frameHeight: 256
frameDuration: 80
@@ -160,7 +160,7 @@ ParticleSystem {
Sprite{
name: "flailing"
source: "Bear2.png"
- frames: 8
+ frameCount: 8
frameWidth: 256
frameHeight: 256
frameDuration: 80
@@ -169,7 +169,7 @@ ParticleSystem {
Sprite{
name: "falling"
source: "Bear3.png"
- frames: 5
+ frameCount: 5
frameWidth: 256
frameHeight: 256
frameDuration: 80