How to rotate a part of a character

ashwinjainashwinjain Member Posts: 1
edited April 2012 in Working with GS (Mac)
As in the old snake games, how can I rotate just a portion of a character instead of the whole thing? I just want the first part of the guy to change direction when someone swipes a certain way....

Answers

  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    That can't be done, just rotating parts of an actor, you will have to make a number of different square actors and make them 'follow the leader'.

    Ace
  • ashwinjainashwinjain Member Posts: 1
    Thanks - any idea how to constrain a character to only exist in the context of following a leader?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    You can make a snake head actor that follows swipe controls and then a snake body actor that constrains its position and width (or height) to a value dependent on the time that elapsed since the snake head turned.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.