I make an .mfa with a simple way to make our player bounce against the enemy when they collide. It uses the platform movement object. In the file I try to explain everything. English is not my mother tongue, so I'm sorry if there are errors in the explanations.
I hope you find it is useful.

Bounce example.mfa