Log In  

Cart #12023 | 2015-07-29 | Code ▽ | Embed ▽ | No License

This is a really basic test of a supercover algorithm (for determining which grids in a square a line from square 1 to square 2 crosses). Potentially useful for collision detection or line of sight.

Algorithm is cribbed from online (with minor tweaks), and this is otherwise quite simple. Mostly a proof of concept, and to see how well it performed within PICO 8.

Up / Down / Left / Right: move the end point.
Z: change which end point you're moving

P#12024 2015-07-29 19:02 ( Edited 2015-07-29 23:03)

[Please log in to post a comment]