I'm looking for suggestions on tutorials. I'm pretty new to writing programs that require user-input (as in pressing left or right, not talking about inputting variables). I've done some decent animations as well.
For example, this is the best that I've been able to figure out on my own.
Code: Select all
CLS
SCREEN 12
LET x = 320
LET y = 240
PSET (x, y), 15
DO UNTIL INKEY$ = CHR$(27)
DO WHILE INKEY$ = "a"
PSET (x, y), 0
LET x = x - 15
PSET (x, y), 15
LOOP
DO WHILE INKEY$ = "s"
PSET (x, y), 0
LET y = y + 15
PSET (x, y), 15
LOOP
DO WHILE INKEY$ = "d"
PSET (x, y), 0
LET x = x + 15
PSET (x, y), 15
LOOP
DO WHILE INKEY$ = "w"
PSET (x, y), 0
LET y = y - 15
PSET (x, y), 15
LOOP
LOOP