Hope this helps:
SYNC ON:SYNC RATE 0
Randomize Timer()
Hide Mouse
DO
Gosub Defaults
Gosub InputStuff
SYNC
LOOP
Defaults:
CLS
Radius = 10
acc# = 0.2
TRUE = 1
CIRCLE xspeed#,yspeed#,Radius
Return
InputStuff:
If Upkey() = TRUE then yspeed# = yspeed# - acc#
If Downkey() = TRUE then yspeed# = yspeed# + acc#
If Leftkey() = TRUE then xspeed# = xspeed# - acc#
If Rightkey() = TRUE then xspeed# = xspeed# + acc#
Return
I trimmed it a bit to show only the essential parts. You have a very strange coding style
, I don't think I've ever seen anyone use IF UPKEY() = TRUE instead of IF UPKEY() = 1.
Incidentally you need to use the brackets for key inputs "UPKEY()". And you couldn't move the circle because you kept resetting the
xspeed# and
yspeed# positions to zero. You also needed to put it all into a DO/LOOP to make it work properly.
Lastly I don't know what you were planning to do with
Blue = RGB(0,0,255) but that won't work with the INK command. INK requires the RGB or colour value to work, so you wouldn't be able to use "INK Blue" like that.
http://www.canceriannewmedia.com