Search found 4 matches
- Fri May 30, 2014 5:45 pm
- Forum: Support and Development
- Topic: Lines and Tables?
- Replies: 9
- Views: 2745
Re: Lines and Tables?
Well I rather like learning while doing a project, so by doing this line project I was hoping to learn more lua, but thanks everyone for all the help, with all this I am sure I can complete what I wanted to do~!
- Thu May 29, 2014 9:18 pm
- Forum: Support and Development
- Topic: Lines and Tables?
- Replies: 9
- Views: 2745
Re: Lines and Tables?
OH Ok I see, the number signs make sense, but now the only part I am confused on is doing the "for" function. Are there any proper/good tutorials for them? Or do you think you could explain them? Sorry for all the hassle >.<
- Thu May 29, 2014 2:57 pm
- Forum: Support and Development
- Topic: Lines and Tables?
- Replies: 9
- Views: 2745
Re: Lines and Tables?
Thank you for all the replies, but sadly I am getting nowhere, because I can not understand some parts of the code, for example this stuff: for k, v in ipairs(line) do love.graphics.setColor(255,255,255,255) love.graphics.setLineWidth(10) love.graphics.line(v.x, v.y, v.x2, v.y2) end or this stuff: (...
- Thu May 29, 2014 1:42 pm
- Forum: Support and Development
- Topic: Lines and Tables?
- Replies: 9
- Views: 2745
Lines and Tables?
Hello~ I am a beginner to love2d and lua in general. I am trying to make it so the user will be able to click with the left mouse button to create and drag a line to make their own custom line. I have this working fine (sort of) but I was wondering how would I make it so the user could do this with ...