Skip to main content
gamedev.net
🔒 Locked

Problem with sprites

Started by jodynek Aug 30, 2011 at 6:26 AM 0 replies 700+ views
Original Post
jodynek
jodynek
Hi,
I have problem with my little DirectX sample project. There are 3 screens in my sample, which are changed after 3 seconds. First two screens has 6 vertices with textures, third screen is more complicated because of font sprites. On the third screen I'm trying to write some text from font sprites. First and second screen is displayed well, third screen is black only - without my text :-( Whole my project is included in this attachment.
I have spent a lot of time with finding mistake but I didn't find any.

I will be grateful for your any ideas...

Thanks a lot...

Petr
DJTN
DJTN

Hi,
I have problem with my little DirectX sample project. There are 3 screens in my sample, which are changed after 3 seconds. First two screens has 6 vertices with textures, third screen is more complicated because of font sprites. On the third screen I'm trying to write some text from font sprites. First and second screen is displayed well, third screen is black only - without my text :-( Whole my project is included in this attachment.
I have spent a lot of time with finding mistake but I didn't find any.

I will be grateful for your any ideas...

Thanks a lot...

Petr


You would probably get more help if you posted the code that renders the 3rd screen between code tags. Like this:



your code here

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.