Search found 4 matches

by kcilds
Sat May 02, 2020 2:14 pm
Forum: Support and Development
Topic: [SOLVED] Nested For loop not iterating properly
Replies: 3
Views: 2471

Re: Nested For loop not iterating properly

The symptoms sound like you've run into the gotcha of references vs copies: Don't think so cause i'm not using references. I'm directly getting from the rooms table the X/Y values and assigning them to the map coordinate (and the first iteration works I get only the first room digged). I first toug...
by kcilds
Sat May 02, 2020 4:36 am
Forum: Support and Development
Topic: [SOLVED] Nested For loop not iterating properly
Replies: 3
Views: 2471

[SOLVED] Nested For loop not iterating properly

SORRYYYYY haha just found out that the rooms were getting sliced in a way that made the top-left and bottom-right points (that i use to draw the square) go crazy. I was getting a room with leftX 35 and rightX 30 so it was reversed and the loop couldnt iterate. I was tired so my fault here! (Will lea...
by kcilds
Wed Feb 11, 2015 10:22 pm
Forum: General
Topic: [SupaSOLVED]Newbie Text Wrap
Replies: 5
Views: 4355

Re: Newbie Text Wrap

ENLIGHTENMENT is the word that defines your two simple answers! huehuehue I'm VERY thankful! (i was affraid of getting one go to google or go to UI lib) Muris just gave me the logic that i was missing![and the \n that i wasn't reminding... some day i explain why(just at the end of this reply)] (that...
by kcilds
Wed Feb 11, 2015 4:37 pm
Forum: General
Topic: [SupaSOLVED]Newbie Text Wrap
Replies: 5
Views: 4355

[SupaSOLVED]Newbie Text Wrap

Hi guys, I've been holding my self back on writing this topic... but i didn't found anything that helped me (in Google and Forum Search). Probably it already exists somewhere but i didn't managed to find it. So.. i'm learning Lua and LÖVE and to acomplish that im working on the simplest kind of game...