Check out a youtube video:
Inheritance vs Composition
The main reason this video was made is because I wanted to separate a player’s ground detection from their hitbox (Where things like bullets ‘n stuff would hit them). Thus began a journey to break out these two detections in a clean, easy to reuse way, since having every entity implement their own health functionality was pain.
Or a project:
Did you say Super Mario 64?
Yeah! This is actually a mod of Super Mario 64. This was (at the time of writing) the furthest from Super Mario 64 I’ve ever taken a romhack.
It was created over a week (9 days, technically) as part of a romhacking competition with Mel from Team Cornersoft, where he handled the modeling and I was assigned to the depths of coding.