Hi
I have just finished programming my Breakout game in C++ using DirectX, but the game only has one level....I need some advice in doing the level loading....Should I just create a funtion called LoadLevel and have it take an integer as parameter?? for instance if the user have finished level 1:
And then in an a header file write 1000 lines of code to change the position of the blokcs???PHP Code:LoadLevel(2); // Load level 2
Or is there an easier way??(please say there is)





)
Reply With Quote