ecsx-framework / ECSx

An Entity-Component-System framework for Elixir
GNU General Public License v3.0
206 stars 10 forks source link

Limit ship movement on tutorial guide #51

Closed ruan-brandao closed 1 year ago

ruan-brandao commented 1 year ago

Hello 👋

I followed the tutorial guide and noticed that the ship movement was not limited to happen only inside the limits of the world map. I made an update to the guide to fix this behavior and keep the ship inside the map whenever it moves.

APB9785 commented 1 year ago

Hi Ruan - thanks so much for your contribution to ECSx! This is something we've been meaning to implement for a while now, so I'm very happy to see your PR takes care of it. 🙂 Great work! 🎉

ruan-brandao commented 1 year ago

Thank you for the merge! I opened a PR for the ship project to reflect these changes to the guide.