fb:porticula NoPaste
Das mein ich..
Uploader: | ytwinky |
Datum/Zeit: | 01.09.2007 17:47:28 |
Const CursorUp=CHR(255,72), CursorDown=chr(255,80), CursorLeft=chr(255,75), CursorRight=chr(255,77), Esc=!"\27"
dim as integer x,y
dim as string key
screenres 800,600
do
do:key = inkey:sleep 1:loop until key <>""
select case key
case CursorUp
y -= 5
if y < 5 then y = 600
case CursorDown
y += 5
if y > 595 then y = 0
case CursorLeft
x -= 5
if x < 5 then x = 800
case CursorRight
x += 5
if x > 795 then x = 0
end select
circle (x,y),15, 15
loop until key = Esc