Archived

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

nodoubt

boundaries problem

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
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