Log In  

Cart #astar_flowerpicker-0 | 2021-02-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6
This is a self playing game, intended to demonstrate the A* algorithm. The character will perpetually go outside to pick flowers, then put them in planters in their house. It's probably something I'll build on later but it's fun to watch the algorithm work. It sometimes (rarely) hits a bug where it won't go to put down the flower. I haven't tracked it down yet.

P#87095 2021-02-01 19:49 ( Edited 2021-02-01 19:51)

Cool, AI in PICO-8.
I'm going to make another thing based off of this too!

P#87113 2021-02-02 04:33

Hmm, feel free to remix this, but keep in mind I intentionally made the search slow in order to display it looking square by square :P you can easily remove that stuff and it'll just run instantly. You can probably just remove this

     if step>maxstep then
          return
      end

      step+=1
P#87115 2021-02-02 08:51

Okay, thanks for the information!
Probably not going to delete that bit of data though because I kind of like seeing it find a path.

P#87180 2021-02-03 23:06 ( Edited 2021-02-03 23:07)

Cart #mariocoincollector-1 | 2021-07-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

BOOM (explosion noise) I made a remix

P#87182 2021-02-04 00:05 ( Edited 2021-07-12 02:14)

Wow that's so cool! That makes me so happy that you built something off my experiment :)

P#92114 2021-05-18 08:40

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-11-26 08:49:55 | 0.007s | Q:21