Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@Moon @Arwalk it's best to avoid falling into the trap of trying to explicitly express cause and effect as code. Usually the way it works is you want to have a set of mechanics defined on actors and the real science behind the game is how those mechanics happen to interact with each other. Eg: you don't program hotboxes colliding together explicitly, you say "my actor has a set of hithoxes that applies some effect to whatever it touches" and the enemy actor will normally handle the hit reaction himself.