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 .
Yell0w
Prole
Posts: 28 Joined: Wed Nov 21, 2012 7:40 am
Location: Norway
Contact:
Post
by Yell0w » Thu Jan 10, 2013 11:04 am
Hi,
is it possible to specify the width of the line when drawing shapes?
I have increased the radius etc when creating thicker borders for circles and i could do the same for rectangles, but i was wondering if there was a property for the width of a given line/circle. Here is my bloated way of doing it
Code: Select all
love.graphics.circle("line", gfxCircles[key].x, gfxCircles[key].y, gfxCircles[key].r)
love.graphics.circle("line", gfxCircles[key].x, gfxCircles[key].y, gfxCircles[key].r+1)
love.graphics.circle("line", gfxCircles[key].x, gfxCircles[key].y, gfxCircles[key].r+2)
You can learn anything, but you cannot learn everything!
kikito
Inner party member
Posts: 3153 Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:
Post
by kikito » Thu Jan 10, 2013 11:27 am
When I write def I mean function .
Yell0w
Prole
Posts: 28 Joined: Wed Nov 21, 2012 7:40 am
Location: Norway
Contact:
Post
by Yell0w » Thu Jan 10, 2013 11:50 am
Thanks kikito, i feel like the worlds dumbest lover right now
You can learn anything, but you cannot learn everything!
Users browsing this forum: Bing [Bot] , Google [Bot] and 203 guests