Forums

OverviewV-Play 1 Support › Z-Ordering Problem for SpriteSheets and Text

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7962

    Maulana

    Hi, I’m trying to draw some text on top of my spritesheets but it didn’t work.

    The text always drawn below my sprite even after changing the Z-value for both of these.

    Do you have any solution for this?

    #7963

    Christian
    V-Play Team

    This has something to do with the position where you place your SpriteBatchContainer.

    We would recommend using V-Play 2 which creates sprite sheets at runtime and does not have this issue.

    Cheers, Chris

    #7964

    Maulana

    I’ve tried V-Play 2 but it doesn’t have all the features that I need like in-app purchase, particles, etc.

    Do you have any work around regarding this issue for V-Play 1?

    #7972

    Christian
    V-Play Team

    Particles are now fully supported in V-Play 2, and in-app purchases will be released soon as well (until end of August latest).

    If you still prefer V-Play 1, you can use the SpriteBatchContainer and change its z value – if you put a Text element on top of the SpriteBatchContainer, the text will be rendered on top of it. You can also see the demos how we did this in the sample games.

    Cheers, Chris

    #7975

    Maulana

    Thanks for the response, I’ve tried to use SpriteBatchContainer and changing it’s Z value without much success.

    Could you let me know which demo or sample game which I can take a look so I can fix this issue asap?

    #7977

    Christian
    V-Play Team

    You can have a look at the Squaby demo. And search all qml files in the demos and examples folder for “SpriteBatchContainer”. :)

    Cheers, Chris

Viewing 6 posts - 1 through 6 (of 6 total)

RSS feed for this thread

You must be logged in to reply to this topic.

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