|
-
Dec 10th, 2002, 08:32 AM
#1
Thread Starter
Frenzied Member
C++ Game Question
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:
PHP:--------------------------------------------------------------------------------
LoadLevel(2); // Load level 2
--------------------------------------------------------------------------------
And then in an a header file write 1000 lines of code to change the position of the blokcs???
Or is there an easier way??(please say there is )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|