o, sorry to bother you all again,but i tried out that code in db classic and it worked fine, though when i tired it out in dbpro, and it flipr the image fine but didnt move so i put the sprite 1,x,y,1 command after the control bit and the sprite moved but didnt flip or miror. i supplied my code, please help. Thanks. Cartoon Monkey
UpDown=1
LeftRight=1
Load Image "homer.bmp",1
sprite 1,0,200,1
x=0
y=200
` Assume facing left initially
do
oldx=x
oldy=y
if leftkey() = 1
if LeftRight = 1 then mirror sprite 1 : LeftRight = 0
x=x-1
endif
if rightkey() = 1
if LeftRight = 0 then mirror sprite 1 : LeftRight = 1
x=x+1
endif
if upkey() = 1
if UpDown = 1 then flip sprite 1 : UpDown = 0
y=y-1
endif
if downkey() = 1
if UpDown = 0 then flip sprite 1 : UpDown = 1
y=y+1
endif
sprite 1,x,y,1
sync
loop