Social Distancing Implemented


Edit: Linked the Wrong Build! Apologies if you grabbed it last night.


Have been tinkering after work on this feature and I’m really pleased with how it works out. Unfortunately this has limited the debug diagnostic a bit. It now can only show you info on what the largest (probably) entity in a tile is.

Several tweaks to how movement and positioning was done were needed.

Notable new features are:

  • Critter Stomachs now properly impact their total size and mass.

  • Critter overall mass now contributes to energy cost for movement.

  • Entities now can occupy the same tile and this properly effects path finding. More crowded tiles will be avoided in favor of less crowded tiles.

  • Tiles can now be rendered Full which triggers a blocked state for path finding.

  • Reproduction, Eating and other behaviors now will check an entity’s occupied tiles as well as the adjacent ones.

  • Fixed infinite breeding urge on buns.

Build is Available Here

Controls are Still:

  • WASD or Arrow Keys to move camera.

  • Mousewheel or + and - keys to zoom in and out.

  • Left click to place a selected Critter.

  • Right click to setup links (these are now invisible due to removing the debug display)

  • C & H for controlling temperature (now invisible without debug display.

  • Escape key to quit the application.

SocialDistancing.gif

Clover Now Becomes Floor

The Clover is Watching You.