Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Help about the some change

cmzcmz Posts: 46Member
edited March 2012 in Working with GS (Mac)
In software's template:Platformer Template(like mario jump&run etc)the player can run all the motion very well on scene's gravity Y setting 1500.
Now I change it to 0,and add a behaviour "Accelerate" in item named"Player",set direction:270 ,acceleration:1500.
Since that,it jumps/runs is OK, but state about standing becomes anomalous(face left&right,loop).
Why? and how to fix it? (I don't want to use scene's gravity set)

Best Answer

  • calvin9403calvin9403 Posts: 3,190Member
    Accepted Answer
    when hero overlap or collides with platform, constrain both its x and y will the simplest way to do(if you want better preformance then let your hero interpolate the same speed as the platform)
This discussion has been closed.