Jump to content
  • Advertisement

Archived

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

timmay314

Release build is messing things up

This topic is 5302 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''m working on a game that works fine in debug mode, but when I change it to release build, billboarding ceases to function correctly. In debug mode, my explosion billboards always face the viewer like they are supposed to, but when I go to release version they always face forward no matter what. I''m not using the _DEBUG macro anywhere in my program, so I have no idea how anything could possibly be changed by going from debug to release. Any thoughts?

Share this post


Link to post
Share on other sites
Advertisement
are you using DXTimer at all? I have noticed sometimes the DXTimer does not work the same in release mode as it does in debug mode. Just a thought

~Guayton

Share this post


Link to post
Share on other sites
Well, i''m not certain what to say about it. But i do notices that in release mode somethings changes like:
- Liberieas (most of the time i forget to change them)
- vectors can act up (Still don''t know why)
- Error handeling changes (throw, etc. makes trouble sometimes)
- Classes-constructors are slow and some times they create trouble
- Some variables aren''t always available ( i wanted to pass a wHnd, but it didn''t work until i put a useless int between it:S)

Maybe you should try somethings like removing some object like Input, 3D, music and then check if billboarding works.

BTW: Did you get a error of somekind?

Share this post


Link to post
Share on other sites
I found the problem, and it was initializing something (or rather, copying it). I''d accidentally left a member variable out of the copy constructor that was telling it to use the billboarding. Debug apparently initialized it to true without me asking it to, and release didn''t. Thanks for the input.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!