Effect day night in game

i want to code effect “day, night” in game cocos2dx.

but i don’t want how to do that:(

add half transparent black layer on top of your scene?

I know a game “Chaos Fighter” who uses different full-screen background image.

dear dawid,

If you already have night background layer. please send me