thanks for your comment I don't know why it is taking so much gpu I think their are like 5000 walls and 300 enemies and that is why it is taking that much gpu beside that I made the platforms for a purpose but the deadline was so near and I had to submit my game .