Hi all!
I want to make a program with moving agent, that can follow the drawn line.
Here is the first version, you can just draw (vector) lines.
Line following
Line following
- Attachments
-
- line-following-01.love
- (918 Bytes) Downloaded 143 times
Re: Line following
Second version:
every drawn line has an agent, that follows that line and disappears on the end of it.
every drawn line has an agent, that follows that line and disappears on the end of it.
- Attachments
-
- line-following-02.love
- (1.48 KiB) Downloaded 143 times
Re: Line following
Third version: lines are smooth and line crossings are shown.
- Attachments
-
- line-following-03.love
- (2.01 KiB) Downloaded 125 times
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Line following
Things are getting heated! Nice! These agents don't have to only be used by line drawing, do they? They can be used for any other thing with paths, they use steering behaviour right?
Re: Line following
Yes, for example the path, that can be used by mobs. But it hasn't the backward direction right now. Just creating at the line's begin and teleports from the end to the start again.Gunroar:Cannon() wrote: ↑Sun Aug 01, 2021 9:35 pm Things are getting heated! Nice! These agents don't have to only be used by line drawing, do they? They can be used for any other thing with paths, they use steering behaviour right?
Also one line can have multiple agents.
Who is online
Users browsing this forum: No registered users and 0 guests