OK,
Pacman Gfx from the Pack man Tutor,
I had a problem when I run the code at work, it displayed the incorrect sprite wehn moving left, but now Im home, when I compile the Code, I get:
Undefined Parser Error
Compilation Failed (syntax Error)
I havent changed it, other than the PC work is WinXP home is Win 7
SET DISPLAY MODE 640,480,16
SYNC RATE 60
sync on
create animated sprite 1, "media\pac-man.png", 2,4,1
x=200
do
sprite 1, x, 200, 1
sync
ink rgb(rnd(255),rnd(255),rnd(255)),0
text 10,10,"Left / Right Arrows to Move"
ink rgb(255,255,255),0
text 10,25, "X: " + str$(x)
if rightkey()=1 `and leftkey()=0
play sprite 1, 1, 2, 100
x=x+5
endif
if leftkey()=1 `and rightkey()=0
play sprite 1, 5,6, 100
x=x-5
endif
if x <=10 then x=10
if x >=600 then x=600
loop
end
Can anyone Tell me whats going on ?