For a 2d platformer, how would you make it so when you reach a specific point it triggers a boss battle and when the boss is dead a door to the next area opens?
Develop games in your browser. Powerful, performant & highly capable.
Pot a blank sprite where you want the Boss to be triggered and when your player collides with that sprite set the Boss in motion.
On Boss Destroyed set Door to Animation Open.