resources and layer for game end
commit again