Jump to content
  • Advertisement


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



This topic is 6171 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 need help with framework. Well i m about developing a simple combat game. I use directx v6, and using the DirectD3DRM mode. Ok the code i try to write: lpD3DRM->CreateFrame(NULL,&1stFrame); lpD3DRM->CreateFrame(1stFrame,&MyHeroFrame); AddChild(MyHeroFrame); lpD3DRM->CreateFrame(1stFrame,&MyVilainFrame); AddChild(MyVilainFrame); the problem is when i try to move(translate,rotate,etc.) it move both frame. Why? wht i try to move is the child frame from 1stFrame,but why it move the other frame too? All i know if i move the 1stFrame and i will have all the frame of my view is move. But i move the child frame why its parent move too? Pls Help me.

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!