Search found 3 matches

by bigmac
Sun Jun 03, 2012 10:26 am
Forum: Support and Development
Topic: Error message: attempt to perform arithmetic on field...
Replies: 7
Views: 7245

Re: Error message: attempt to perform arithmetic on field...

You're right guys, thanks alot for your help, really helped. And yeah, i'll probably be doing my own code now and follow some tutorials. But i got the player to be able to jump :)
by bigmac
Sat Jun 02, 2012 11:28 pm
Forum: Support and Development
Topic: Error message: attempt to perform arithmetic on field...
Replies: 7
Views: 7245

Re: Error message: attempt to perform arithmetic on field...

Bannana97 that didn't help very much :/ Coffee Yeah, realised it was really messed so i cleaned it up and got the player variables right, atleast i think so. anyhow. this is how it looks now function love.load() player = {} player.x = 270 player.ySpeed = 0 player.y = 380 player.gravSecond = 1.5 play...
by bigmac
Sat Jun 02, 2012 6:36 pm
Forum: Support and Development
Topic: Error message: attempt to perform arithmetic on field...
Replies: 7
Views: 7245

Error message: attempt to perform arithmetic on field...

Hello guys. So i've decided to pick up on lua again after some time and i have just been trying to put a simple 2d sidescroller togheter, but i got stuck on jumping as many others, but no, not really the jumping part.Its an error i get all the time. : attempt to perform arithmetic on field 'gravSeco...