I would like the player after he/her makes it to the end of the map to go to the next level.
Here is an example of a code that I would like you to change so the player will close and open another level... blah = unimportant coding and whatever is inside * and * is the code I want you to edit

 a = 0
 while a == 0:
     blah
     balh
     if player crashes into wall:
         print"HA"
         a = 1
while a == 1:
    *make new box*

Looks like you you are having unterminating while if you do not change the value of a in other loops. For me the a variable looks without purpose, why not just break out of while, no need for sentinel variable, it only confuses the issue.

LIES ALL LIES!!!!!!!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.