Search found 3 matches

by nicksystem
Sun Jun 14, 2015 9:17 am
Forum: Support and Development
Topic: Help with 'attempt to index global a nil value'
Replies: 4
Views: 3456

Help with 'attempt to index global a nil value'

Hey all, I'm trying to cap the speed of a moving object moving in my game. I'm very new to Love2d. I keep getting an "attempt to index global a nil value" every method i try. I've looked at a lot of forum posts on this topic and i'm having trouble understanding the underlying concept. Atta...
by nicksystem
Thu Jun 11, 2015 9:47 am
Forum: Support and Development
Topic: Newbie Help
Replies: 2
Views: 1911

Re: Newbie Help

Ah perfect!

I did some research into delta time, thanks for showing me that. I'll remember that in future.

The player.direction is an excellent idea, it all works.

Thanks for your help. I appreciate it!
by nicksystem
Thu Jun 11, 2015 8:00 am
Forum: Support and Development
Topic: Newbie Help
Replies: 2
Views: 1911

Newbie Help

Hi, Very new to Love. Have played around with Processing a bit though. I'm just trying to get a rectangle bouncing around the screen at this point as a test. Can't figure out what's wrong with my code. :? Any assistance would be greatly appreciated. Using 3 files (main, conf & player) so i've zi...