how to make player roll

diegocsdiegocs Member Posts: 531
edited April 2012 in Working with GS (Mac)
i want to have a player role and jump like in line runner, how can i do that so when the player roles its collision shape gets smaller, and then gets back to normal when it resets to normal?

Answers

  • calvin9403calvin9403 Member Posts: 3,186
    edited April 2012
    We don't have custom collision yet, so the only way to do it is make a different actor and change to it when the player rolls
  • diegocsdiegocs Member Posts: 531
    ...
  • xforcexforce Member Posts: 187
    dont need to change the collision shape/size. just have an attribute for Rolling and when its true make it that it can't be hurt by whatever obstacles it would normally run into
  • ZoytZoyt Member Posts: 374
    I believe we can't do that unless you have separate images with extra alpha space around them and scale it.
  • ZoytZoyt Member Posts: 374
    edited April 2012
    Hold it! :-t I wrote a blogpost on how to do it. Please read the entire blog post. Find it here:
    http://www.flurry.name/zoyt/gamesalad/blog/how-to-change-the-actor.html
Sign In or Register to comment.