Poszukaj na gogle
[b][size=2]if[/b] [/size][size=2][color="#000080"][size=2][color="#000080"]keyboard_check[/color][/size][/color][/size][size=2]([/size][size=2][color="#800000"][size=2][color="#800000"]vk_left[/color][/size][/color][/size][size=2]) [/size][size=2][color="#0000ff"][size=2][color="#0000ff"]x[/color][/size][/color][/size][size=2]-=3;
[b]if[/b] [/size][size=2][color="#000080"][size=2][color="#000080"]keyboard_check[/color][/size][/color][/size][size=2]([/size][size=2][color="#800000"][size=2][color="#800000"]vk_right[/color][/size][/color][/size][size=2]) [/size][size=2][color="#0000ff"][size=2][color="#0000ff"]x[/color][/size][/color][/size][size=2]+=3;
[b]if[/b] [/size][size=2][color="#000080"][size=2][color="#000080"]keyboard_check[/color][/size][/color][/size][size=2]([/size][size=2][color="#800000"][size=2][color="#800000"]vk_up[/color][/size][/color][/size][size=2]) && ! [/size][size=2][color="#000080"][size=2][color="#000080"]place_free[/color][/size][/color][/size][size=2]([/size][size=2][color="#0000ff"][size=2][color="#0000ff"]x[/color][/size][/color][/size][size=2],[/size][size=2][color="#0000ff"][size=2][color="#0000ff"]y[/color][/size][/color][/size][size=2]+1) [/size][size=2][color="#0000ff"][size=2][color="#0000ff"]vspeed[/color][/size][/color][/size][size=2]=-10;
[b]if[/b] [/size][size=2][color="#000080"][size=2][color="#000080"]place_free[/color][/size][/color][/size][size=2]([/size][size=2][color="#0000ff"][size=2][color="#0000ff"]x[/color][/size][/color][/size][size=2],[/size][size=2][color="#0000ff"][size=2][color="#0000ff"]y[/color][/size][/color][/size][size=2]+1) [b]then[/b] [/size][size=2][color="#0000ff"][size=2][color="#0000ff"]gravity[/color][/size][/color][/size][size=2] = 0.4; [b]else[/b] [/size][size=2][color="#0000ff"][size=2][color="#0000ff"]gravity[/color][/size][/color][/size][size=2] = 0;
[/size]