hey. i tried this:Zitat:
Zitat von youresam
but it only ADDS 1 to speed when i move RIGHT, and does nothing when i move left. wtf?? sry, i know im really n00bish, and ty for being patient with me, but i have no idea how to make this work.:(:(Code:if math.abs(dx) > 32 then
cursorx = cursorx + dx / 64
dudex = dudex + dx/64
speed = speed+math.ceil(1/dx)
end
if math.abs(dy) > 32 then
cursory = cursory + dy / 64
dudey = dudey + dy/64
end
end
BTW: i have deifned all my variables.
