love.graphics.rectangle("line"....Dose not work
love.graphics.rectangle("line"....Dose not work
Hello I started using LOVE today and I'm having problems. I'm using the code from http://love2d.org/wiki/Tutorial:Gridlocked_Player but when I use "line" to draw the "walls" the are not draw. If I change it to "fill" the are drawn. Everything else is working fine.
Re: love.graphics.rectangle("line"....Dose not work
You mind uploading the .love so we could look at it.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: love.graphics.rectangle("line"....Dose not work
Try love.graphics.setLineStyle:
Code: Select all
love.graphics.setLineStyle("rough")
Help us help you: attach a .love.
Re: love.graphics.rectangle("line"....Dose not work
On my graphics card (Intel) with love 0.7.2 I get no lines if those are of width 1 and are vertical/horizontal. So either use love.graphics.setLinewidth(2) or use love 0.8 which fixes this bug.{coder} wrote:Hello I just started using love today and I'm having problems. I am using the code from http://love2d.org/wiki/Tutorial:Gridlocked_Player and it runs fine except is I draw the "walls" with "line" nothing is drawn but it is drawn with "fill"
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Re: love.graphics.rectangle("line"....Dose not work
Hello I think this may be the problem I will test it later when I get back from school. I have Intel Intagrated graphics too and I had no idea there was a newer version(arch linux AUR has 7.2 I will see if the mantainer will update the package)miko wrote:On my graphics card (Intel) with love 0.7.2 I get no lines if those are of width 1 and are vertical/horizontal. So either use love.graphics.setLinewidth(2) or use love 0.8 which fixes this bug.{coder} wrote:Hello I just started using love today and I'm having problems. I am using the code from http://love2d.org/wiki/Tutorial:Gridlocked_Player and it runs fine except is I draw the "walls" with "line" nothing is drawn but it is drawn with "fill"
Re: love.graphics.rectangle("line"....Dose not work
The AUR package has 0.7.2 because that's the current stable release. If you want 0.8.0, get love-hg.{coder} wrote: Hello I think this may be the problem I will test it later when I get back from school. I have Intel Intagrated graphics too and I had no idea there was a newer version(arch linux AUR has 7.2 I will see if the mantainer will update the package)
Re: love.graphics.rectangle("line"....Dose not work
Thanks upgrading to 0.8.0 fixed it. Is there any problems I should look out for with 0.8.0?
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: love.graphics.rectangle("line"....Dose not work
Most of the remaining known issues are related to love.physics (which has been upgraded from box2d 2.0 to 2.2, so the API is a bit different as well).
Re: love.graphics.rectangle("line"....Dose not work
So where can I find the documentation for 0.8.0?
Who is online
Users browsing this forum: Google [Bot] and 9 guests