i7 7700k with a gtx 1060 or i5 7500 with a gtx 1070

hello, im building a pc for gaming and ue4.
My budget is €1180, and i can choose between 1060 i7 7700k and a 1070 i5 7500 i realy dont know what i should choose…

For games GPU is more important, for UE4 development its CPU. imo go for i7-7820x + gtx 1060

GPU’s are easily upgradable, CPU’s are not.
You should definitely go for the i7.

Yes to upgrade processor, you have to change motherboard and possibly RAM sticks. Old GPU can easily be slotted out. And yes, more processor is needed for development.