Forums

OverviewV-Play 1 SupportProblem with resolution › Reply To: Problem with resolution

OverviewV-Play 1 SupportProblem with resolution › Reply To: Problem with resolution
#4262

Peter

Thanks for your quick response,

we took the template project as a starting point and everything you mentioned above seems to be that way. There’s only the Scene and the EntityManager in the GameWindow, all other objects are loaded in the Scene and the Level (only Level01 as we don’t have more by now).

We change the position of our player by using a mouse area, when stopping and releasing the player a snowball is shot depending on the current position of the player, see the code below.

onReleased: {
                entityManager.createEntityFromUrlWithProperties(Qt.resolvedUrl("entities/SnowballLeft.qml"),{x: playerLeft.x + 32, y: playerLeft.y + 5, width: 32, height: 32});
            }

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