Does it have to be 2d only, not 3d?
Yes and no. Yes: games have to have 2D environments (Hollow Knight, Zelda) but you can make 2.5D games as well. (No: the environments do not have to be 2D.)
- agb64