// .-------------------------------.
// | Check Cursor Keys |
// '-------------------------------'
dx = KEY(205)-KEY(203)
dy = KEY(208)-KEY(200)
INC x,dx ; INC y,dy
Nice, lots of directions from only 3 lines! :D
Fantastic! :good:
Old, but still good. =D
http://www.glbasic.com/forum/index.php?topic=1019.0
Btw i like the 2-line version more.
Quote from: kanonet on 2011-Oct-11
Old, but still good. =D
http://www.glbasic.com/forum/index.php?topic=1019.0
Btw i like the 2-line version more.
Haha love it too :) Uber Optimisation :D