void JumpPlayer() { if (GetAsyncKeyState(VK_UP) & 1) { py -= 70; } if (!GetAsyncKeyState(VK_UP) & 1) { py = py; } }
void JumpPlayer() { if (GetAsyncKeyState(VK_UP) ) { py =py + 70; } else { py = py; } }