<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>A* | Dencho</title><link>https://www.dencho.dev/tag/a/</link><atom:link href="https://www.dencho.dev/tag/a/index.xml" rel="self" type="application/rss+xml"/><description>A*</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Wed, 20 Jan 2021 00:00:00 +0000</lastBuildDate><image><url>https://www.dencho.dev/media/icon_hu1b14c2ed69a2f89c06f5de8cc0bd5fd1_301795_512x512_fill_lanczos_center_3.png</url><title>A*</title><link>https://www.dencho.dev/tag/a/</link></image><item><title>A* Map System</title><link>https://www.dencho.dev/projects/contracts/2021/astarmapsystem/</link><pubDate>Wed, 20 Jan 2021 00:00:00 +0000</pubDate><guid>https://www.dencho.dev/projects/contracts/2021/astarmapsystem/</guid><description>&lt;p>Contracted to make a Custom A* Map System.&lt;/p>
&lt;div class="video_thing">
&lt;video muted autoplay="" name="media" loop="">&lt;source src="https://raw.githack.com/Denchyaknow/GitSite_Dencho/Develop/assets/media/projects/AStarMapSystem/XRLog_2021_683.webm" type="video/mp4">&lt;/video>
&lt;/div>
&lt;!--Link To Repo Here-->
&lt;p>The client requested a Custom Hex Tile Map System that had Methods to calculate the best path to take. It needed to be modular and flexible with any map size, and calculate pathing using an asynchronous pattern.&lt;/p>
&lt;h3 id="the-a-algorithm">The A* Algorithm&lt;/h3>
&lt;p>The A* (pronounced “A-star”) algorithm is a powerful pathfinding technique used in various fields of computer science. It offers completeness, optimality, and optimal efficiency.&lt;/p>
&lt;ul>
&lt;li>A* is a graph traversal and pathfinding algorithm.&lt;/li>
&lt;li>Given a weighted graph, a source node, and a goal node, A* finds the shortest path (with respect to the given weights) from the source to the goal.&lt;/li>
&lt;li>It evaluates points using a heuristic value (also known as the H score), which estimates the distance from a node to the goal.&lt;/li>
&lt;li>A* combines both the movement cost (from the current point to its neighbors) and the heuristic value to guide its search.&lt;/li>
&lt;/ul>
&lt;div class="video_thing">
&lt;video muted autoplay="" name="media" loop="">&lt;source src="https://raw.githack.com/Denchyaknow/GitSite_Dencho/Develop/assets/media/projects/AStarMapSystem/XRLog_2021_685.webm" type="video/mp4">&lt;/video>
&lt;/div>
&lt;p>It even came with a Custom Editor Tool I made to help simulate the pathing in and outside of PlayMode.&lt;/p>
&lt;div class="video_thing">
&lt;video muted autoplay="" name="media" loop="">&lt;source src="https://raw.githack.com/Denchyaknow/GitSite_Dencho/Develop/assets/media/projects/AStarMapSystem/XRLog_2021_687.webm" type="video/mp4">&lt;/video>
&lt;/div></description></item></channel></rss>