D3DXFont disappears

I thought I'd ask since I now know you use d3dxfont.

I made a quick test using it in roadclub from various tutorials online. When I start the game I see it for a second while it loads and then it never shows up again. I think I read somewhere that blendstates need to be handled or something. Does anyone have any experience with this?

users avatar

Handling resources

It sounds like your probably not handling lost / reset devices properly.

Most of the samples in the SDK are based on that DXUT stuff. In these samples you can check out how they handle lost / reset devices.

And check return values from all DX calls Smiling

/johno
"you can't stop the change"

users avatar

it find it weird if the

it find it weird if the device should be lost in that stage but its possible with the new code. i left it out for the moment because it was late. i know how to handle it so that shouldnt be any problems.

in the docs they didnt seem to tell me much but i guess i can see if anythings really off.

thanks.

btw did you see my response to your dualscreen problem in roadclub in the other thread?

---------------
Solid Core Entertainment
Developer of Roadclub

users avatar

To me it sounds like a

To me it sounds like a blending or some other dx state problem since the font renders fine for a while and then not. I don't have the code from TWTPB fresh in my head but I'll check it out asap.

users avatar

thanks. yeah thats exactly

thanks. yeah thats exactly what I suspect so I thought you may have some code handy.. i know I read somewhere that that could be a problem.

---------------
Solid Core Entertainment
Developer of Roadclub

users avatar

found the problem. i just

found the problem. i just got lost in old code. it seems it will be too much work to convert the current font. we'll have to wait for bigger demand to fix the resolution issue. we'll concentrate on getting the task switching and dual screen handling to work better instead.

---------------
Solid Core Entertainment
Developer of Roadclub

users avatar

As always prioritization is

As always prioritization is key to development Smiling

users avatar

Post new comment

Please solve the math problem above and type in the result. e.g. for 1+1, type 2.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <h1> <h2> <h3> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.
  • Images can be added to this post.

More information about formatting options