How to pinch open and close Help Please

kajutokajuto Member Posts: 314
edited November -1 in Working with GS (Mac)
Hi there everyone, I'm making the game and I want to know how can I pinch open and close(zoom in and out) like angry bird instead of create a button to touch and zoom out.. Please help
Thanks

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    youll have to find the magnitude between the first touch and the second touch to determine the distance,and have that constrained to a attirubte. Then have all your zoom based off that attirubres. If the magnitude attribute is to small for you to work with then you can multiply it.

    Never actually tried this myself, gonna have to play around with this later
Sign In or Register to comment.