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

P#78150 2020-06-16 16:07 ( Edited 2020-06-16 17:10)

:: jeb

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

P#78151 2020-06-16 16:21
:: Fe

oof, i didn't notice, thanks :)

P#78154 2020-06-16 17:10

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-05-04 03:50:03 | 0.004s | Q:9