Climbing walls and spin dashing.

Firstly, u want to know how to get my character to be able to climb up and down walls and being able to stick onto them. Also, u want to learn how to make my character spin dash, like sonic, where they run fast and whatever they hit is deystroyed Also, how do i make things such as levels and characters unlock able? Anyone who helps gets their name in the credits!
Sincerely,
Temmie