Forums

OverviewV-Play 1 SupportChange Z-Position of QML Items at run time › Re: Change Z-Position of QML Items at run time

OverviewV-Play 1 SupportChange Z-Position of QML Items at run time › Re: Change Z-Position of QML Items at run time
#4051

Christian
V-Play Team

This sounds good, but on first try it did not solve my problem.

Does vertexZ work with property binding?

Because generally it works when i use vertexZ instead of z like this:

property real vertexZ: row + level * 0.1

But when the value of row changes, this doesn’t seem to change, because the moving blocks move underneath other items.
So it seems that dynamically changing vertexZ also doesn’t work that easily. (in the Squaby project, they are also always just constants)

EDIT/PS: I am currently not using an EntityManager / EntityBase objects in my game, only normal Items. Could that be any problem?

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