Help (Need Help For My Module)

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
KyleFlores1014
Citizen
Posts: 73
Joined: Thu May 25, 2017 1:43 pm

Re: Help (Need Help For My Module)

Post by KyleFlores1014 »

Ok I fixed my code but the collision wont work in the module unless I cut that code and put it in level1 how do I fix this or is there no way how?
Game.love
(26.3 KiB) Downloaded 164 times
User avatar
Sir_Silver
Party member
Posts: 286
Joined: Mon Aug 22, 2016 2:25 pm
Contact:

Re: Help (Need Help For My Module)

Post by Sir_Silver »

I don't understand what your question is or how to assist you with it. Downloaded it, ran it, doesn't crash (unless you click settings).

http://www.catb.org/esr/faqs/smart-questions.html#code
KyleFlores1014
Citizen
Posts: 73
Joined: Thu May 25, 2017 1:43 pm

Re: Help (Need Help For My Module)

Post by KyleFlores1014 »

The collision is the problem it doesnt work and thats the point of my module
User avatar
Sir_Silver
Party member
Posts: 286
Joined: Mon Aug 22, 2016 2:25 pm
Contact:

Re: Help (Need Help For My Module)

Post by Sir_Silver »

"When asking about code

Don't ask others to debug your broken code without giving a hint what sort of problem they should be searching for. Posting a few hundred lines of code, saying "it doesn't work", will get you ignored."

Going to have to be a bit more specific still, friend.
KyleFlores1014
Citizen
Posts: 73
Joined: Thu May 25, 2017 1:43 pm

Re: Help (Need Help For My Module)

Post by KyleFlores1014 »

Sorry. The main problem now is that I made the module then there was a problem which then I fixed today but now I put another lines of code in object.lua which is the module Im trying to fix collision to be exact instead of making individual bounding boxes Ill put them in one module I used the function for i,v in ipairs but now the function, I added some I dont know what they you call it but its like this
(x,y,w,h) I added in the players but when I add this code in the for i,v "x = x + 1" it doesnt work or is it supposed to work like that?
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 5 guests