Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Omar Metwally Newsgroups: scee.yaroze.programming.2d_graphics Subject: Boundaries still don't work Date: Sat, 31 Oct 1998 16:53:51 -0800 Organization: SCEA News Server Lines: 11 Message-ID: <363BB11F.2BD02604@aol.com> NNTP-Posting-Host: 174-24-221.ipt.aol.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.07 [en] (Win95; I) 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???