View shaking problem
Posted: Sat Mar 10, 2012 6:00 pm
Hello everyone. Me again xD I've came across a shake issue, the view will stutter and shake sometimes, and its rather annoying o-o
the code is:
Any ideas on solving it? Thanks.
It only shakes when my player lands on the ground and the view is moving vertically, instead of stopping, it moves pass the player and back up again, making a shaking appear.
the code is:
- Code: Select all
angle=direction(x+576/2,y+432/2,COLL.x,COLL.y);
directional_velocity=distance(x+576/2,y+432/2,COLL.x,COLL.y)/5;
Any ideas on solving it? Thanks.
It only shakes when my player lands on the ground and the view is moving vertically, instead of stopping, it moves pass the player and back up again, making a shaking appear.