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!!!!!
What went wrong?! RESOLVED
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- WolfNinja2
- Party member
- Posts: 150
- Joined: Wed Oct 24, 2012 10:10 pm
What went wrong?! RESOLVED
Last edited by WolfNinja2 on Fri Nov 09, 2012 11:01 am, edited 1 time in total.
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: What went wrong?!
.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.
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
No, guys, this has potential, just wait!
I don't know how we're supposed to help you without a .love file, but we're happy to acknowledge your disposition!
"Bump." -CMFIend420
- WolfNinja2
- Party member
- Posts: 150
- Joined: Wed Oct 24, 2012 10:10 pm
Re: What went wrong?!
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
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
- Attachments
-
- MazeGuy.love
- (13.28 KiB) Downloaded 171 times
Last edited by WolfNinja2 on Wed Oct 31, 2012 8:54 pm, edited 1 time in total.
- WolfNinja2
- Party member
- Posts: 150
- Joined: Wed Oct 24, 2012 10:10 pm
Re: What went wrong?!
also next time i will just post the .love if i need help..... haha sorry im a newbie
Re: What went wrong?!
You made a .rar archive, you have to make a .zip archive
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
- WolfNinja2
- Party member
- Posts: 150
- Joined: Wed Oct 24, 2012 10:10 pm
Re: What went wrong?!
ohhhhhhhhhhhhhhhhhhhhhh (5 minutes later) hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh haha thanks, want me to reupload it as a working diddly do?Nixola wrote:You made a .rar archive, you have to make a .zip archive
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: What went wrong?!
Do you still have a question or problem? If not, you might as well finish your game before you show it off.
Help us help you: attach a .love.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests