Wie erstelle ich ein jump-pad....... frown habe einen Code geändert den es hier im Forum gibt.. aber es tut sich nix.....




var jump_once;//var to make sure we only jump one time

function jumppad ()
{
if(jump_once){return;}//if we are jumping
jump_once = 1;//now we are jumping
var jump_force = 500;
var slow_down = .1;
while(jump_force > 1)//while we have some jump force left
{
c_move(me,vector(0,0,jump_force*time_step),nullvector,0);//up we go
jump_force -= slow_down;
slow_down += 1;//adjust this number to slow down this vaule
wait(1);
}
jump_once = 0;
return;
}

Last edited by Kapu; 03/24/09 20:54.

when it´s done