Hi,
I have problem with the TexturePacker:
GameWindow {
id: gameWindow
//licenseKey: "<generate one from http://felgo.com/licenseKey>"
activeScene: scene
screenWidth: 320
screenHeight: 480
Scene {
id: scene
width: 320
height: 480
// TexturePackerAnimatedSpriteVPlay {
// id: image
// source: "../assets/img/image.json"
// frameNames: "image"
// running: false
// paused: true
// anchors.top: parent.top
// visible: false
// }
MultiResolutionImage {
id: image2
source: "../assets/img/image.png"
anchors.bottom: parent.bottom
}
}
}
The performance worsens when I insert the TexturePackerAnimatedSpriteVPlay item, even if it’s hidden. Here are screens from my profiler:
Without TexturePackerAnimatedSpriteVPlay
With TexturePackerAnimatedSpriteVPlay
I am using the v-play logo image:
sd 64×64
hd 128×128
hd2 256×256
One of my image.json files:
{
"frames": {
"image": {
"frame": {
"x": 0,
"y": 0,
"w": 128,
"h": 128
},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {
"x": 0,
"y": 0,
"w": 128,
"h": 128
},
"sourceSize": {
"w": 128,
"h": 128
}
}
},
"meta": {
"app": "http://www.krk-dev.com",
"version": "1.0",
"image": "image.png",
"format": "RGBA8888",
"size": {
"w": 128,
"h": 128
},
"scale": "0.5"
}
}
I have the latest 2.8.5 VPlay lib.