Archived

This topic is now archived and is closed to further replies.

Question About Zelda....

This topic is 5829 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I recently downloaded to OpenGL Zelda on the NeHe website. I was curious as to how they were doing AI (as I wanted to update that) and I also wanted to work on the UI. But I have run into a slight problem. When I start the program, fresh build or the packaged EXE, the program starts, asking me if I want to go into fullscreen mode or not, then, when I choose either, I get nothing. The Overword.mid file play''s, but I just get an empty window (Well, not completely empty, see my Window(Bool Anything) below). So now, its impossible (well, not impossible, but not probable) for me to make my changes and updates. Void Window(Bool Anything) { See, what happens, is when the window loads, it seams to capture the pixels of the window area (lets say my desktop or MSVC++) and uses these pixels in the MiniZelda window. Now this is frustrating. } So does anyone have any idea? |==========================| Think Before Your Act, I''''m Getting Tired For Thinking For All 250 Million Of Us.

Share this post


Link to post
Share on other sites
This usually happens when the window is created but not drawn inititially. If it is this then try moving it - when the ''empty'' window is moved to call the resize function it will usually be drawn then, but it is still a problem...

Of course, I''m probably very wrong and haven''t looked at the code and am just a beginner myself, but it sounds like the problem could be along those lines

Share this post


Link to post
Share on other sites
Yeah, this usually means that glSwapBuffers() is not being called (I might be wrong on the exact function call; I''ve been using too much glut lately). In windows, the window will resemble its background until the pixel buffer is refreshed. I''d probably try what the other poster said; resize the window or possible even just move it.

Share this post


Link to post
Share on other sites
Sadly, resize and moving does nothing. Hum, I will continue to troubleshoot the problem, but any suggestion would be nice.

|==========================|
Think Before Your Act, I''''m
Getting Tired For Thinking For
All 250 Million Of Us.

Share this post


Link to post
Share on other sites