Scroll a scene like Angry birds...

sebmacflysebmacfly Member Posts: 1,018
edited November -1 in Working with GS (Mac)
Hi there :)

How can i scroll a scene in the X or Y axis with my finger? (like in the angry birds game)

Thank you so much guys!

Comments

  • FloridaGamesFloridaGames Member Posts: 328
    create an invisible actor and give it these rules:
    *constrain att: self.position.x to touch1 x
    *constrain att: self position y to touch1 y
    *control camera.
  • sebmacflysebmacfly Member Posts: 1,018
    Thanks man, but when i clik on the transparent actor, that actor is positionning to the center, so i can't scroll... Do i have to adjust something using magnitude for example?
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934


    this should help. the video says its a menu but its really a great way to do swiping for anything.
  • jimthedudejimthedude Member Posts: 25
    hey guys I try this but in angry birds after you lunch any bird the camera changes to the birds, so how do i change it back to the "Cam actor" in order to scroll in the scene?
  • jimthedudejimthedude Member Posts: 25
    Ok great, i will do that thanks :)
  • jimthedudejimthedude Member Posts: 25
    ohh ok great Tshirtbooth I've all ready send you the email just let me know :)

    I really appreciated :)
Sign In or Register to comment.