And per my experience, it should take you about 1-1.5 years to implement a 2D game engine you can be proud of.30 may 2017
How long does it take to make a 2D Unity game?
Between a few weeks to a year. There are many factors which influence the length of a project: scope and quality being two which are most acknowledged.