amethyst / evoli

An ecosystem-simulation game made with Amethyst
https://community.amethyst.rs/t/evoli-introduction/770
Other
217 stars 33 forks source link

Killed unit turns into carcass #103

Closed erlend-sh closed 4 years ago

erlend-sh commented 5 years ago

A simple feature to get us closer to life-like behaviors would be for killed units to not disappear instantaneously, instead turning into dead carcasses.

The predators in turn would remain in place to feed on these carcasses until there's no more meat to feed on. In our current system a unit gets fed at the moment when it terminates another unit. That will no longer be the case with the introduction of carcasses.

Upon changing from alive to dead, the herbivore unit's model should change. Something good might be found on http://quaternius.com/assets.html, but for the first take it might be best to just change its color to something like grey.

Relevant system backstory:


After implementing this for herbivores we should also look at applying the same method to plans, as they will behave very similarly to carcasses. Herbivores should munch on them for quite a while before they're completely removed.

Brainshack commented 5 years ago

New to learning rust and amethyst and I thought this might be a good learning experience, therefore i started a branch on this.

erlend-sh commented 5 years ago

Yay! Let us know on here or on the Discord chat if you have any questions.