Can I have some custom event in my game?

Hi, I’m trying to write some game with cocos2d-x, and I’m trying to define some custom event like ‘on_game_start’, ‘on_game_end’ etc. I searched the forum and googled the web, there seems to be no too much mentions about this. So, anyone please give me some tips on this? Thanks.