Advertisement

boundaries problem

Started by December 24, 2002 03:58 PM
0 comments, last by nodoubt 21 years, 10 months ago
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
I'm a newbie, please don't hurt me!
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.

This topic is closed to new replies.

Advertisement