Skip to content

Conversation

michaeltintiuc
Copy link
Member

This is the eighth step of refactoring:

  • Implement events
  • Connect Lever and CellarDoor through events
  • Remove component state from top-level App component
  • Add custom hook - useChangeEffect
  • Add ability to scale Rects
  • Add new collision type and ability to interact with objects
  • Added generic types

We've introduced a new event system that allows components sharing the same context to communicate freely. In order to achieve that we've also created a custom hook that will only fire when inputs are changed in contrast to also executing when a component mounts.
We've been able to implement object interaction by building on our existing collision system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant