I'm using the following if statement in my game, but I can only move the player to the left, not to the right....what is wrong??
PHP Code:if (KEY_DOWN(VK_LEFT))
if (!paddle.x <=0)
paddle.x = paddle.x -10;
Move_BOB(&paddle);
if(KEY_DOWN(VK_RIGHT))
if(!paddle.x > SCREEN_WIDTH)
paddle.x = paddle.x +10;
Move_BOB(&paddle);




Reply With Quote