Path: chuka.playstation.co.uk!news From: Andrew Partington Newsgroups: scee.yaroze.freetalk.english Subject: Re: Flip it! Date: Tue, 07 Aug 2001 10:13:58 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 38 Message-ID: <3B6FB156.84186B4@peregrine.com> References: <9kne8a$qtb4@www.netyaroze-europe.com> <9kne9m$qtb5@www.netyaroze-europe.com> NNTP-Posting-Host: manuk97.harbinger.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en Hi Kenny You can turn on scaling/rotation in the attribute of the sprite, then use: scalex = -ONE; to flip the sprite left->right or scaley = -ONE; to flip the sprite up->down Hope this helps Andy Kenny Millar wrote: > > Whoops! Forgot the attachment, here it is now.... > > "Kenny Millar" wrote in message > news:9kne8a$qtb4@www.netyaroze-europe.com... > > I'm working on my first real game for my NY, having recently brought it > out > > of retirement. > > > > Anyhoo, can anyone tell me the best way to 'flip' a sprite (IE, mirror it > > left-to-right) to show it traveling in the opposite direction? > > > > I can't just rotate it 180 degrees as then it will be upside down. > > I have attached the demo (in it's very early stages!!!) so you can see > what > > I mean. > > > > -Kenny > > > > > > Name: KACMEN.zip > KACMEN.zip Type: WinZip File (application/x-unknown-content-type-WinZip) > Encoding: x-uuencode