I'm new.
heres my code
sync on : hide mouse : sync rate 60
load image "player.png", 1
x = 0
y = 0
sprite 1, x, y, 1
do
sprite 1, x, y, 1
if upkey()
y = y – 4
endif
if downkey()
y = y + 4
endif
if leftkey()
x = x – 4
endif
if rightkey()
x = x + 4
endif
sync
loop
heres my error:
could not determine perameter type of 'y4' at line 19.
line 19 refers to the code: y = y – 4
if I erase that line, it does the same thing for each of the other 3 directions.
any ideas how to make the code work? tried on 2 computers
It is a profitable thing if one is wise, to seem foolish.