This thread says since 0.9 LÖVE supports bezier... How?
I want to draw bezier curves and want to place images along the curves.
Does LÖVE 0.9+ support bezier curves?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Does LÖVE 0.9+ support bezier curves?
macOS 10.14 Mojave | LÖVE 11.2
- Guard13007
- Party member
- Posts: 132
- Joined: Sat Oct 25, 2014 3:42 am
- Location: Internet, USA
- Contact:
Re: Does LÖVE 0.9+ support bezier curves?
From the wiki: https://love2d.org/wiki/love.math.newBezierCurve
Next time, try searching a little first. ;)
Next time, try searching a little first. ;)
Re: Does LÖVE 0.9+ support bezier curves?
Of cause I searched... that's how I get that link to the thread
But I always searched in love.graphics because I want to draw the bezier
Found a good sample now.
But I always searched in love.graphics because I want to draw the bezier
Found a good sample now.
macOS 10.14 Mojave | LÖVE 11.2
- Guard13007
- Party member
- Posts: 132
- Joined: Sat Oct 25, 2014 3:42 am
- Location: Internet, USA
- Contact:
Re: Does LÖVE 0.9+ support bezier curves?
I'm sorry if this is rude, but you didn't really search that far, did you? I can understand expecting it to be the graphics module since that's what you want to use it for, but I'm saying that your reaction to not finding it there should've been to search the wiki or do a google search, then come to the forums.
Just something to think about next time. Honestly, I'm just trying to help, please don't take this the wrong way.
Just something to think about next time. Honestly, I'm just trying to help, please don't take this the wrong way.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Does LÖVE 0.9+ support bezier curves?
Who cares if he didnt search that much? You should be a little bit friendlier, and if you dont wanna answer (because the question is stupid or whatever), leave it there... Dont be aggressive. Anyway issue solved, let's move on!Guard13007 wrote:-snip-
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
- Guard13007
- Party member
- Posts: 132
- Joined: Sat Oct 25, 2014 3:42 am
- Location: Internet, USA
- Contact:
Re: Does LÖVE 0.9+ support bezier curves?
I'm trying to make the point that one shouldn't just give up and ask for help when they hit the first snag, and put a little more effort in. Like I said, sometimes people take it the wrong way, but I'm just trying to help. I state things matter-of-factly, and that can seem aggressive, but I don't mean to be. I apologize if I made anyone upset with that reply..or this one.Positive07 wrote:Who cares if he didnt search that much? You should be a little bit friendlier, and if you dont wanna answer (because the question is stupid or whatever), leave it there... Dont be aggressive. Anyway issue solved, let's move on!
Re: Does LÖVE 0.9+ support bezier curves?
Not sure this is what you want the Bezier curves for but I prefer to use Catmull splines for animation paths.Ratchet wrote:This thread says since 0.9 LÖVE supports bezier... How?
I want to draw bezier curves and want to place images along the curves.
I find they have two advantages (for me):
- better control of path generated
- ability of having uniform step sizes between control point for smooth movement
If this is what you are looking for.
Best!
- Attachments
-
- CatMullPath.love
- car on moveable path
- (5.31 KiB) Downloaded 68 times
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 65 guests