If i were you, i rather learn 2D before going to 3D, 3D has some complicated shit while 2D Is basic, thats why theres a lot of shitty games that are made of 2D.
If you think your good to go and you already mastered 2D you can continue 3D and learn Blender and learn how 3D works.