x=player.x+(view.width/2);
jman wrote:make a keydown event, change parent to none and make a collision event for your player against the ground so it changes back
Game A Gogo wrote:easiest way around this would be in the view's draw actor
- Code: Select all
x=player.x+(view.width/2);
double weight = 10;
x = ((weight - 1)*x + (player.x - width/2))/weight;
y = ((weight - 1)*x + (player.y - hight/2))/weight;
Users browsing this forum: No registered users and 1 guest