Log In  


could someone help me figure out what did wrong?

the error happens in this line:
if self.xspeed>self.topspeed then
self.xspeed-=self.xaccel
end
thanks in advance :D



You declare "xtopspeed" but not "topspeed" is my guess :)


oof, i didn't notice, thanks :)



[Please log in to post a comment]