i'm trying this code now
xed=40:yed=28:plntc=0
Screen Open 0,xed*8,yed*8,64,0 : Curs Off : Flash Off:hide
screen display 0,((368-(xed*8))/2)+88,((288-(yed*8))/2)+29-(plntc*24),,
Load Iff "sprites4pl.ilbm",1 : Screen Hide 1
Screen 0 : Get Palette 1 :
For k=0 To 3
Screen 1 : Get Bob 1+K,k*16,0 To k*16+15,24 : Next k
Screen 0 : Cls 10
x1=100:y1=70
x2=120:y2=70
x3=100:y3=90
x4=120:y4=90
do
'print Key State($11)
ee1= (Key State($11)*-1)+(Key State($21)*-2)+(Key State($20)*-4)+(Key State($22)*-8)
ee2= (Key State($14)*-1)+(Key State($24)*-2)+(Key State($23)*-4)+(Key State($25)*-8)
ee3= (Key State($17)*-1)+(Key State($27)*-2)+(Key State($26)*-4)+(Key State($28)*-8)
ee4= (Key State($76)*-1)+(Key State($77)*-2)+(Key State($79)*-4)+(Key State($78)*-8)
locate 2,3: print ee1;ee2;ee3;ee4;" "
Bob 1,X1,Y1,1
Bob 2,X2,Y2,2
Bob 3,X3,Y3,3
Bob 4,X4,Y4,4
if (ee1 and 1)<>0 : y1=y1-1:end if
if (ee1 and 2)<>0 : y1=y1+1:end if
if (ee1 and 4)<>0 : x1=x1-1:end if
if (ee1 and 8)<>0 : x1=x1+1:end if
if (ee2 and 1)<>0 : y2=y2-1:end if
if (ee2 and 2)<>0 : y2=y2+1:end if
if (ee2 and 4)<>0 : x2=x2-1:end if
if (ee2 and 8)<>0 : x2=x2+1:end if
if (ee3 and 1)<>0 : y3=y3-1:end if
if (ee3 and 2)<>0 : y3=y3+1:end if
if (ee3 and 4)<>0 : x3=x3-1:end if
if (ee3 and 8)<>0 : x3=x3+1:end if
if (ee4 and 1)<>0 : y2=y4-1:end if
if (ee4 and 2)<>0 : y2=y4+1:end if
if (ee4 and 4)<>0 : x2=x4-1:end if
if (ee4 and 8)<>0 : x2=x4+1:end if
waitvbl
loop
[code]
the picture i used was sprites4pl.png from https://drive.google.com/#folders/0B7Iw8X7IB4-ndUlLa2h1YTk2bkk - converted to ilbm/iff