amethyst / evoli

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

Nushi character preliminary implementation with ricochet movement #72

Closed orhanbalci closed 5 years ago

orhanbalci commented 5 years ago

This is a preliminary implementation for nushi character described in #61. New behavior ricochet is added. Characters with ricochet behavior bounces off the world bounds. Initialization of singleton Nushi character is done in game initialization. Maybe this can be moved into a SingletonSpawner system.

erlend-sh commented 5 years ago

Thanks for the PR! We’re on the verge of shipping our v0.1.0 MVP release so it might be a few days until we can merge this in.

Was there anything about implementing a new creature that was particularly painful?

orhanbalci commented 5 years ago

Actually this was the first time I worked with ECS based framework. It enables developer to only focus on the real behavior your want. The only think that I missed was to insert new component into CreaturePrefabData struct in order to be able to use it in prefab definition (.ron) files. This was due to my lack of knowledge. I needed to head back to documentation.