Log In  

Here is a short implementation of a pathfinding algorithm (a*) in pico 8.

Your press Z (A button) and the S moves to the T. Press again once it reaches it's destination and it randomly picks two more locations and does it again.

Not necessarily the most performant- but works well enough at small scale.

Cart #34709 | 2017-01-02 | Code ▽ | Embed ▽ | No License
8

P#34710 2017-01-02 00:45 ( Edited 2017-01-02 05:45)


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-16 05:21:18 | 0.008s | Q:13