Path: chuka.playstation.co.uk!news From: "Rikki Prince" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Erasing sprites onscreen Date: Mon, 28 Jun 1999 23:50:04 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 29 Message-ID: <7l8u82$11113@chuka.playstation.co.uk> References: <3777B71A.442C@PO.NET> NNTP-Posting-Host: th-gt142-192.pool.dircon.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 All you need to do is not sort the sprite or background into the OT each loop. So to completely clear the screen, you should be clearing the OT each loop (I can't remember which command it is though), so you just don't sort any sprites into the OT, so nothing will be displayed. If you want to display new sprites after this you just sort the new sprite into the OT, probably in a different loop. To clear an individual sprite, you could set the visible bit, but you might as well not sort it, so you'd need to have a variable, and an if statement each time you goto display the sprites. HTH Rikki ABDULHAMID wrote in message news:3777B71A.442C@PO.NET... > Three quick questions (I'm really taking advantage of these newsgroups, > arent' I?: > > 1.) Thanks for all the help with my previous two messages. I was > wondering how to erase sprites onscreen then display a different screen > (like if I was to put a title screen)? What would I do? > ResetGraph(3)? clear the OT? > > 2.) And lets say I do clear the screen, would I have to initialie > graphics and OTs all over again? > > 3.) And how would I clear just an individual sprite, by using the > bitshift operators to make it invisible?