How to make videos of you playing games on the computer?

I've seen on YouTube lots of videos that people make from their computer screen. For example, videos posted about people playing Minecraft. I'm just wondering how you do that? Because I want to make some of them videos too.

With this app!
I use it myself too!
its the Best.
http://mirillis.com/en/products/action.html

FRAPS…