slysnivy / Soup_Arcade

A repository dedicated to showcasing games, visual aides, and other projects that I have cooked up 🧑‍🍳
Apache License 2.0
1 stars 0 forks source link

Botaneer patch 8 #12

Closed slysnivy closed 10 months ago

slysnivy commented 10 months ago
  1. I need to fix how a pot is detected going up from valid corners, such as excluding pot pieces not attached to a base. In this case, I would need to detect base connection from a corner (aka, rework how potential_gaps is collected)

  2. Instead of detecting multiple pots, I need to use what I have and alter the "find_area" method to take in the fixed x and y value on a click to detect only one pot

    • Then I need to find the closest base (detected vertically with y, must be within y region of area and detect the base with a fixed x) and make the soil area of everything below that y_value

For now since I've got side/base detection and managed to pair them together to create soil areas, this resolves #11. Now it's only a matter of fixing it.