Skip to content

MakeCode extension adding true pathfinding based on tilemaps

License

Notifications You must be signed in to change notification settings

King5232/pxt-pathfinding

Repository files navigation

This extension adds 2 blocks to use instead of the old follow block in Makecode Arcade. Instead of getting stuck on walls, sprites using the pathfinding blocks will walk around them in the shortest path to the target sprite! YOU MUST USE A TILEMAP FOR THIS EXTENSION TO FUNCTION.

Open this page at https://king5232.github.io/pxt-pathfinding/

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project Build status badge

To edit this repository in MakeCode.

Blocks preview

This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.

A rendered view of the blocks

Metadata (used for search, rendering)

  • for PXT/arcade
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>