so i already posted three months ago and only reviwed my coded recently , still dotn know what is wrong . the code is quite simple however something keeps going wrong.

a possible flaw is the FPS clock which would expain why its black screen but the visible when i close t/he window.

if anyone knows what may be the problem please reply and ill send the code if neccesary , thnaks

We'd really need to see more of the code than you've posted, with the code for rendering and refreshing the window. As things stand, we don't even know what windowing toolkit you are using; I would assume that you are using the standard Tk library, but if so, we'd need to see when and how you are refreshing the display.

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.