UPLOADED:
http://game-editor.com/forum/viewtopic. ... 9042#19042
int weight;
weight = 10;
if(Alive == 1)
{
x = ((weight -1)*x + player.x) /weight;
y = ((weight -1)*y + player.y -25) /weight;
}
if(Alive == 0)
{
x = ((weight -1)*x + player_die_l.x) /weight;
y = ((weight -1)*y + player_die_l.y -25) /weight;
}
Users browsing this forum: No registered users and 1 guest