The duration of making a 2D game totally depends on your requirements, and which 2D game art style you have selected. Also, your game development team plays a big role; if your team is huge, the game will be designed in a lesser period of time and vice versa.