Search found 7 matches

by RileySunshine
Fri Aug 05, 2016 11:32 pm
Forum: Support and Development
Topic: More ipairs Confusion
Replies: 12
Views: 6534

Re: More ipairs Confusion

Dear Zorg & 4aiman, Thank you both so much for your help, really appreciate it. To be fair, I have read PiL a bit.(Haven't read all of it, tables section still confuses me) To 4aimain: Thank you so much for your help yet again, you always are able to phrase things in a way that are easy to under...
by RileySunshine
Fri Aug 05, 2016 8:27 pm
Forum: Support and Development
Topic: More ipairs Confusion
Replies: 12
Views: 6534

Re: More ipairs Confusion

Heya Zorg, Sorry for my confusing code, your response has me confused as well. "Also, your code kinda confuses the two tables you're using; you're actually trying to use textLine[l].tag, which doesn't even exist," You are correct, textLine[1].tag does not exist, and it was never supposed t...
by RileySunshine
Fri Aug 05, 2016 6:38 pm
Forum: Support and Development
Topic: More ipairs Confusion
Replies: 12
Views: 6534

Re: More ipairs Confusion

Hello Janzo, Thanks for trying to help me out with this problem, unfortunately this solution will not work with what I am going for. I should probably have mentioned in my post that signText variables are static and will never change. On the other hand, textLine variables are not static. textLine.li...
by RileySunshine
Fri Aug 05, 2016 5:38 pm
Forum: Support and Development
Topic: More ipairs Confusion
Replies: 12
Views: 6534

More ipairs Confusion

I ran into another development problem that Im having a hard time wrapping my head around. I was working on a couple functions to create an ingame sign with some text on it. I have seen a couple of differrent ways to do it, but Im mostly wondering why what I have written doesnt work. I think the pro...
by RileySunshine
Thu Jun 16, 2016 2:48 pm
Forum: Support and Development
Topic: I'm having a problem with tables/ipairs.
Replies: 4
Views: 2782

Re: I'm having a problem with tables/ipairs.

Thank you very much 4aiman. I think the crux of my misunderstanding was in the way that the update function executes. I was under the impression that there was no heirarchy in the function, as in every bit of code is constantly running completely independent of any other code. I see now that this is...
by RileySunshine
Wed Jun 15, 2016 5:14 pm
Forum: Support and Development
Topic: I'm having a problem with tables/ipairs.
Replies: 4
Views: 2782

Re: I'm having a problem with tables/ipairs.

Oh you wonderful, wonderful person! Thank you Trebgarta, that was exactly what was wrong with it. If you wouldn't mind, can you explain why this works the way it does? I didn't try this originally because I was convinced that setting the results to true once in the update would mean that all collisi...
by RileySunshine
Tue Jun 14, 2016 4:56 pm
Forum: Support and Development
Topic: I'm having a problem with tables/ipairs.
Replies: 4
Views: 2782

I'm having a problem with tables/ipairs.

Hey LÖVErs, I'm having a stupid problem with ipairs, or maybe the problem is tables. Im testing a super minimalistic algorithm for collisions to go with a top down simplistic game. I can add and display walls in a table, but the collision function is only working on the last wall added to the table....