I need help with a very specific mechanic

Hello! So, I’m working on a platformer game.
One of the “enemies” is a chicken.
I was thinking of making a mechanic in which you have to beat the chicken, and it becomes
a fried chicken, which lies on the floor, waiting to be consumed.
After getting consumed, the sprite of player changes (the player starts as beaten up, and regenerates health with eating).

So, any tips on how to complete that?
(if someone would write the entire thing, I’d be even willing to pay…)

1 Like

you could use a variable for object chickem to know if it is defeated
If defeated and collision then eat it :sunglasses:

1 Like

Good idea, but I think I’d rather let player decide if he wants to eat it or not. Also, thanks!