Buttons To Rotate Level

Discussion in 'How Can I...?' started by GrootRage, Mar 7, 2017.

Tags:
  1. GrootRage

    GrootRage Boxer

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    2
    How would i go about using two buttons to rotate the map in different directions? one to rotate left and one to rotrate right? i can make it so it rotates once 90 degrees but i cannot rotate again after that...

    Id like to be able to rotate a full 360 degrees in either direction!
     
  2. GrootRage

    GrootRage Boxer

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    2
    example.png

    This is actually my first BB project, so heres what im working on.. simple maze/puzzle game. i have a ton of questions because the engine still feels clunky to me.. if someone knowledgeable could PM me id be grateful.
     
  3. GrootRage

    GrootRage Boxer

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    2
    still no luck >.<
     
  4. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    Its very doable.
    Not sure what you have set up there,
    But i would go with a circle object, and centre it in the scene. Set it to a decoration.
    Then connect all the blocks to the circle, make sure you connect them all from the circle.
    Then on the circle object, add a advanced move, set your angular velocity to what ever speed you want it to rotate.
    One advanced move for left, then add another advanced move for right, so one angular velocity would be 30 and other -30 for example.
    Play around with the timeout on both movements, maybe 1 or 0.5. Just try a few to get what you want.
    When you get it all working set the circle opacity to zero.
    Goodluck
     
    parin sonani and GrootRage like this.
  5. GrootRage

    GrootRage Boxer

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    2
    THANKYOU! ill try it out.
     
  6. GrootRage

    GrootRage Boxer

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    2
    it doesnt give me the option to give the circle advanced move
     
  7. GrootRage

    GrootRage Boxer

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    2
    Nvm. found it..
     
  8. GrootRage

    GrootRage Boxer

    Joined:
    Mar 7, 2017
    Messages:
    18
    Likes Received:
    2
    how do i go about making my buttons activate the angular velocity movement?
     

Share This Page