65-Boss Pickup Powerup

In this post, the boss will detect if there is a positive powerup traveling below it. If yes, it will suck it towards itself and destroys it in its center, so that the player can no longer pick up the positive powerup, as shown below.

First, the positive powerups are assigned with a corresponding tag, so that the boss can detect their presence;

Second, once the positive powerup is within a certain range below the boss, the powerup will move towards the boss and then destroy itself after staying in the center for a short amount of time.

--

--