Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.56 KB | None | 0 0
  1. if ( GetAsyncKeyState(VK_UP) )
  2.                {
  3.                     if(y2 > 1)
  4.                     {
  5.                           y2--;
  6.                           WyswietlPaletki(paletka_lewa, y1, paletka_prawa,y2, 80, 24);
  7.                     }
  8.                }
  9.                
  10.                if ( GetAsyncKeyState(VK_DOWN) )
  11.                {
  12.                     if(y2 < (24-7))
  13.                     {
  14.                           y2++;
  15.                           WyswietlPaletki(paletka_lewa, y1, paletka_prawa,y2, 80, 24);
  16.                     }
  17.                }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement