//=time() ?>
I finally added movement to the boat in my game! And ripples 😁
#pixelart #indiegames #indiegame
How flocking works in my game!
1. Each boat checks for other boats that are too close.
2. An average direction is calculated from all nearby boats.
3. This direction is then used to steer away from other boats!
See book: Nature of Code
#indiedev #gamedev #indiegame #pixelart https://t.co/eTHb0YQiiy