Path: chuka.playstation.co.uk!news From: Craig Graham Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Boundaries still don't work Date: Mon, 02 Nov 1998 09:53:01 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 22 Message-ID: <363D80FD.64293A02@hinge.mistral.co.uk> References: <363BB11F.2BD02604@aol.com> NNTP-Posting-Host: d1-s44-76-telehouse.mistral.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) Omar Metwally wrote: > I tried to put boundaries to the screen, and it failed. Craig told me to > put: > > if (TestSprite.x > (320-17) > TestSprite.x=320-17; > if(TestSprite.y > (240-17)) > TestSprite.y = 240-17; > > Well, this worked, but only for the bottom and the right side of the > screen. What about the top and left side of the screen??? I really do worry sometimes about some of the people sony sold NY's to.......if people like this find out where you live, it could be a real worry (nutters, the lot of them). Craig.