Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / 2D Problems

Author
Message
Lightwar siX
20
Years of Service
User Offline
Joined: 24th Jun 2004
Location:
Posted: 25th Jun 2004 00:34
Hello, for some mysterious reason i cant seem to get a 2D scene to work. Ive tried various codebase examples and even some code snippetes here on the board but with the same result - a black screen with nothing ! Its odd since i can get 3d to work just fine? I have the leatest DX and nvidia drivers so i am at a loss here. Can anyone help?

Thanks

Bah
Lightwar siX
20
Years of Service
User Offline
Joined: 24th Jun 2004
Location:
Posted: 25th Jun 2004 05:06
OK it seems that the 'sync on' command is for some reason blacking the screen out when working with text, sprites, and images. Is there no way to sync the screen then in 2D ?

Bah
zenassem
22
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 25th Jun 2004 10:01 Edited at: 25th Jun 2004 10:02
lightwar six,
Here is simple code template, that might help you.



If you need to sync your main loop to your sync rate add this


If you still have problems post your code, and I should be able to help you further.

~Zen


Lightwar siX
20
Years of Service
User Offline
Joined: 24th Jun 2004
Location:
Posted: 25th Jun 2004 22:36
Thanks alot ! You have been most helpful !

Bah

Login to post a reply

Server time is: 2025-05-15 20:09:41
Your offset time is: 2025-05-15 20:09:41