action ball { var ball_move[3]; var ball_gravity; wait(1); c_setminmax(me); while(1) { ball_move.x = (key_d - key_a) * 5 * time; if(trace_hit) { ball_gravity = 0; } else { ball_gravity = -5; } c_move(me,ball_move.x,vector(0,0,ball_gravity*time),glide | ignore_passable); wait(1); } } action platform { wait(1); c_setminmax(me); }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de