Just click the flag and watch it work. The green square only moves in the 4 cardinal directions, similar to a retro game like snake, or in 8 directions. This can be toggled on and off in the top left corner. ---Version LOG--- v. 1.1 -added score counter at bottom right -added "move more randomly" mode at top left v. 1.0 - released ----------------------- #test #pathfinding #target #goto
A simple pathfinding thing I made. All by me. There is probably better code that exists, but I wanted to try making it myself. If you want 360 degree movement, just use a "glide to" block or a combination of the "point towards" and "move x steps" blocks.