Flappy bird flying effect

ahmadoweda

  • Posts: 310
guys I'm trying to make a bird fly like the flappy bird, when I hit the space button it pushes the, bird sharply to -1 yDir with force 45 but how can I make the bird rotates gradually and points toward 90 degree  if I didn't hit space button to push it up? how can I do that rotation effect, is my question clear?

ggiersdorf

  • Posts: 52
Turn Actor by command comes to mind. - Actor, Position
Also you can add a turning speed option as well in under the motion tab of Actor..


You may also try messing with the Spin command as you can assign time values for the rotation inline..



« Last Edit: March 16, 2014, 11:54:35 am by ggiersdorf »

ahmadoweda

  • Posts: 310
hmmm sorry but i'm newbie, can you provide more details?


Tuo

  • *
  • Posts: 2469
To clarify his post, in the actor palette, click on tweening and you can find the spin code. If you click on the "by" within the code, you can change it to "to" so that you can turn the actor to whatever angle you want over the desired seconds.
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)