TaleSpire Dev Log 351

Hey again folks,

With AOEs shipped, I’ve returned to the lasso tool for the group-movement feature.

PreviouslyI worked on decomposing the lasso path into simple polygons[0]. This was required for the next step, which is using a technique called “ear clipping” to make a mesh of the selected area.

If you are interested in how it works, then this video is an excellent place to start. It’s very simple, but I still managed to make it take a day :P

I made a separate project for the experiment to speed up compile times. This video shows the test code in action:

lasso meshing

An additional requirement for ear-clipping to work is that no three consecutive vertices are colinear. It’s a bit faint, but this clip shows that when the verts are in a line, the result is one triangle rather than two.

colinear vertex removal

Now I have this working, I will clean up the code, so it is ready to combine with the previous lasso work. I’ve been careful to write the code in a fashion that lends itself to porting to Burst. As a single lasso path can result in multiple polygons, I will use Unity’s job system to mesh them concurrently.

That’s the lot for today. It’s been wonderful seeing the response to AOEs. Hopefully, it won’t be too long until I can get this into Beta.


Ciao.


[0] I am not yet satisfied with my approach, but it’s good enough to allow me to write the rest of the lasso implementation.


Disclaimer: This DevLog is from the perspective of one developer. It doesn’t reflect everything going on with the team




G
G
Guest
User
eskan137
eskan137
·
Keep up the truly spectacular work, AOE markers was a highly anticipated feature for our group and group movement even more so!! We've been using TaleSpire for our 5e campaign since December. I feel like once group movement and creature tinting are live, it will feel like a finished and wonderful product to us. Keep it up!
B
Baggers
Baggers
·
That's wonderful to hear! Cheers
kingworks
kingworks
·
Echoing the kudos. I've been using Tale Spire since the Alpha and my 3 biggest wants as a GM were: AoE markers (can we get a cube, too?), group movement, and saving the initiative tracker between game sessions (it's a HUGE pain to set up massive battles over and over and over again). Two out of three so far - keep up the good work!
B
Baggers
Baggers
·
Ooo since the alpha? Man it's sure come a ways since then.
The cube/box will definitely come. There are a few ways to implement a box ruler and each approach is the correct one for some people. So we need to make some experiments for that.
Funnily enough I was working out what we needed for persisting the initiative tracker just two days ago! It'll take some work but it will come.
Thanks for the kind words