SHOW:
|
|
- or go back to the newest paste.
1 | - | function lelcontrols() |
1 | + | Global playerX = 0; |
2 | gloval playerY = 0; | |
3 | ||
4 | ;main loop and stuff | |
5 | controlls(playerX,playerY) | |
6 | ;end of mainloop and stuff | |
7 | ||
8 | function lelcontrols(x,y) | |
9 | ||
10 | if keyDown(keything) then x = x + 5 | |
11 | ||
12 | end function |