Jump to content
  • Advertisement

Archived

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

nodoubt

boundaries problem

This topic is 5751 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

Hi, I was working on a little demo in DirectX, and came across a problem. I already initialized all the directx stuff (one primary with a backbuffer) and blitted a bmp (a little spaceship) on it. The spaceship is bounded at the top and left side of the screen (meaning when the spaceship moves to the topmost or leftmost area, it just stops there, and won''t be able to move beyond the screen). however when the spaceship moves to the right or bottom, and when it moves beyond the screen, the spaceship disappears.. it is not bounded like it is on the top/left.. can someone suggest a solution? i didnt include any code because I didn''t want to confuse people

Share this post


Link to post
Share on other sites
Advertisement
How do you expect anyone to help without any code?

Obviously, the problem is a simple bug with the part of your code that keeps the spaceship on the screen. If you don''t post code, nobody can tell you what''s wrong.

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!