Posted May 12, 2025 by SUNYCoder444
I made it so the anteater bounces around the screen in a random direction, making it's movements more emergent and suspenseful. The ants will all attempt to take the bread back to their home but if the anteater gets one of them they become the toast. I also added some graphics that make the ant and anteaters move in the direction they are facing. I added breadcrumbs that the ants can carry, indicating if they have obtained the bread.
Here is the code:https://editor.p5js.org/SunyCoder444/sketches/V5cvzxPxx