How do i make skill unlock the door like in metroidvania and have multiple applications?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mc1996

Hello

I want to make metroidvania, but found lack of some parts of tutorials. I can pass with platforming tutorials.
But they lack on this certain thing.
Its about when in metroidvania when you obtain skill you can attack enemies, do certain puzzles and open doors.

I have this problem like how do i code skill to open doors and do other stuff.

So any help will be appreciated. Like to say what should i look up or how should i code it.

Thanks for reading.

Cheers