I'm working on a "split pieces" boss where you have to engage the enemy four times (once for each quarter of hp) but after each round (or if you don't engage within a second and a half) the boss splits and you have to chase its pieces before you get another crack at doing damage. (+1 if you get what the boss is built against.)
Anyway, I have tried like two different approaches to the split - one at player level (but that only extends the fight due to roadblocked pieces) and the other above the player. Now to really nail the homage that I'm going for I want to check in my logic for the X and Y of a given piece (for movement only the X is important) and if the player is standing under the piece at the wrong moment incurs a set amount of damage for the collision. Any ideas?
Anyway, I have tried like two different approaches to the split - one at player level (but that only extends the fight due to roadblocked pieces) and the other above the player. Now to really nail the homage that I'm going for I want to check in my logic for the X and Y of a given piece (for movement only the X is important) and if the player is standing under the piece at the wrong moment incurs a set amount of damage for the collision. Any ideas?