Page 1 of 1

What went wrong?! RESOLVED

Posted: Thu Oct 25, 2012 2:06 am
by WolfNinja2
I followed the gridlock player tutorial on this website, added my own map, even a character! I wa very excited (as I'm new to programming and never knew how to make a user movable player) I was so excited in fact, I wanted it to be better! So, I made a new state (i know how to do this) menu. the menu works fine, but now everything in the maze state is broke. I've figured out a lot of the bugs but the map function no longer works, it says 'attempt to get length of global "map"(a nil value)' PLEASE HELP!!!!!
:x

Re: What went wrong?!

Posted: Thu Oct 25, 2012 3:12 am
by paritybit
Might want to post a love file.

Re: What went wrong?!

Posted: Thu Oct 25, 2012 3:26 am
by substitute541
.Love file please? Or just post the code in your post. Lot's of possibilities. One is that you probably called the map variable, BEFORE it was set.

No, guys, this has potential, just wait!

Posted: Thu Oct 25, 2012 3:46 am
by Helvecta
Image I don't know how we're supposed to help you without a .love file, but we're happy to acknowledge your disposition!

Re: What went wrong?!

Posted: Wed Oct 31, 2012 8:31 pm
by WolfNinja2
I already scrapped this project, these bugs i managed to fix but then, player movement stopped working, also buttons cant be pushed on the title screen util you click spacebar :p help with that would also be nice, i can post that .love...
when i try to run the .love i get a rubber piggeh, so you might need to make a .bat or drag the files onto love unsure about that, all the files are there though.

EDIT:: the .love is fixed! haha

Re: What went wrong?!

Posted: Wed Oct 31, 2012 8:32 pm
by WolfNinja2
also next time i will just post the .love if i need help..... haha sorry im a newbie

Re: What went wrong?!

Posted: Wed Oct 31, 2012 8:32 pm
by Nixola
You made a .rar archive, you have to make a .zip archive

Re: What went wrong?!

Posted: Wed Oct 31, 2012 8:52 pm
by WolfNinja2
Nixola wrote:You made a .rar archive, you have to make a .zip archive
ohhhhhhhhhhhhhhhhhhhhhh (5 minutes later) hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh haha thanks, want me to reupload it as a working diddly do?

Re: What went wrong?!

Posted: Wed Oct 31, 2012 8:56 pm
by Robin
Do you still have a question or problem? If not, you might as well finish your game before you show it off. ;)