Forums

OverviewV-Play 1 SupportFlappy bird tilt mechanism › Reply To: Flappy bird tilt mechanism

OverviewV-Play 1 SupportFlappy bird tilt mechanism › Reply To: Flappy bird tilt mechanism
#7416

Lasse

alex.huber said:

Hi,

go to Player.qml and add this to the SpriteSequenceFromFile:

rotation: wabbleX.running ? 0 : collider.linearVelocity.y/10

This will change the rotation according to the vertical speed, but only if the bird is not “wabbling” (the random movement in the menu and ready screen).

Cheers,
Alex

You’re the man! Thanks a bunch.

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