Character rotation when you tap

Discussion in 'How Can I...?' started by art1ka, Oct 23, 2015.

  1. art1ka

    art1ka Boxer

    Joined:
    Oct 23, 2015
    Messages:
    3
    Likes Received:
    0
    Hi everybody!)

    Tell me please, can I make a rotation of character like in a flappy bird game? That is, when you tap, a character turns in the air.
     
  2. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
    make the character as png frames where it rotate and imported it into buildbox
     
  3. art1ka

    art1ka Boxer

    Joined:
    Oct 23, 2015
    Messages:
    3
    Likes Received:
    0
    Thanks for reply! But if I'm not mistaken , it will rotate all the time , even if I do not tap or press jump button...
     
  4. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    I think he asks if the bird can dive (looking down) when going down and go up (looking up) when "jumping". Like wesam says: you could achieve it with animation. Just make a jump animation (or even just one png in a row for a certain time) that makes the bird appear to look up. And the default animation a png looking down. This should make it appear that the bird looks up when "jumping" and flying down when doing nothing. The jump animation is only played once, so it does not repeat.
     
    art1ka likes this.
  5. art1ka

    art1ka Boxer

    Joined:
    Oct 23, 2015
    Messages:
    3
    Likes Received:
    0
    Thanks for the helpful advice!)
     

Share This Page