now it looks like this but didn't work:

(...)
VECTOR speed;

(...)

speed.x += 5 * (key_a - key_d) * time_step;
speed.y += 5 * (key_s - key_w) * time_step;

c_move (my,speed,nullvector,IGNORE_PASSABLE | GLIDE)

(...)