|Main » Files » Editables|
Freestyle Parkour Physics
|[ Download from this server (15.7Kb) · Screenshot ]||26.02.2010, 17:06|
Freestyle Parkour Physics|
Example by YellowAfterlife
This nice example shows you proper gml physics (superior to about 98% of platform physics in gamemaker).
This means that character x\y are always integers and there are no collision bugs.
On ground: Left\Right = move, Up = jump
Mid air, near wall: Left\Right (direction towards the wall) + Up = walljump \ + Down = walljump down
Ground friction and air friction are different, as in real life (for maximum realism, you should set air friction to 0.01, but that would not make your game player's happy)
Player will never collides with obj_solid while jumping around. Don't try to use collision event.
Configure variables to suit your game physics.
|Views: 811 | Downloads: 3021 | Rating: 0.0/0|
|Total comments: 0|