Premium Only Content

Implementing field of view on a hexagonal grid
This is a continuation of map visibility that was started in the video on fog of war:
https://rumble.com/v3xrzvn-a-simple-implementation-of-fog-of-war-on-a-turn-based-grid.html
Insights on how to implement the field of view algorithm were taken from here:
https://forums.roguetemple.com/index.php?topic=3675.0
How to determine whether two circle sectors overlap:
https://stackoverflow.com/questions/11775473/check-if-two-segments-on-the-same-circle-overlap-intersect
How to merge overlapping circle sectors:
https://stackoverflow.com/questions/23618704/merge-all-overlapping-sectors-on-the-same-circle
I adapted the above merge algorithm to do intersections, which turned out to be similar to this solution that I found afterwards:
https://stackoverflow.com/questions/9800829/intersection-between-two-arcs-arc-distance-between-pair-of-angles
Commit: implement field of view on the adventure map (2023-11-29 23:12:54)
-
13:51
Adam Does Movies
20 hours ago $0.98 earnedPeople On Their Phones At The Movies Are SCUM! - RANT!
4.3K9 -
46:07
The Rich Dad Channel
17 hours agoThis Coach Will Change How You Think About Success - Andy Tanner, Matthew Mitchell
1.66K1 -
6:06
Dr. Nick Zyrowski
21 hours agoHigh Dose Glutathione Treats Incurable Disease - (Real Anti-Aging)
5.66K1 -
14:09
IsaacButterfield
1 day ago $0.87 earnedRaygun’s Family in Court | Woke School Bans Sports | The American Wombat Thief Update!
11K2 -
18:19
Tactical Considerations
17 hours ago $0.58 earnedUnbeatable!! NEW BUL Ultralite Double Stack 1911
8.38K1 -
14:57
BEK TV
1 day agoEP 4 - MINOT SHOOTING SURVIVOR JENNI BABCOCK BREAKS HER SILENCE ON DEADLY BETRAYAL
17.1K1 -
3:10:32
Price of Reason
15 hours agoTrump vs NPR & PBS! Kash REMOVES Cartel Members! Death of a Unicorn EARLY Review! Ubisoft is DOOMED!
77.7K46 -
3:57:21
Alex Zedra
10 hours agoLIVE! Scary Games with the Girls
41.2K7 -
6:50:04
The Why Files
6 days agoCOMPILATION: Blorpus & Chill with the Beavers Sleepy Time
83.1K89 -
3:07:53
TimcastIRL
11 hours agoGOP To ABOLISH The TSA, Defund NPR & PBS, Already ENDED Education Department w/Sargon | Timcast IRL
267K184