Path: chuka.playstation.co.uk!tjs From: tjs@cs.monash.edu.au (Toby Sargeant) Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Sprite reversal Date: 20 Apr 1999 02:15:25 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 27 Message-ID: References: <371B7113.E43799D0@netcomuk.co.uk> <371B78F9.6E51B902@vmlabs.com> <7fg67d$dpk6@chuka.playstation.co.uk> NNTP-Posting-Host: longford.cs.monash.edu.au X-Newsreader: slrn (0.9.4.3 UNIX) On Mon, 19 Apr 1999 22:10:36 +0100, Richard wrote: >You can just make the width negative (i think), and still use >GsSortFastSprite() > >Richard Smithies > >Scott Cartier wrote in message <371B78F9.6E51B902@vmlabs.com>... >>> Is there anyway to reverse the direction that a sprite is >>> facing, without using two sprites? >> >>Yep. Simply negate the SCALEX and/or SCALEY attributes. >> >>Scott > The instant you change the sprite scale, however, the playstation starts using textured quads instead of sprites, which can be a bit of a performance hit, especially if the sprite doesn't fit inside the texture cache. That's not so much of a problem, however if you're not doing scaling/rotation as well. I'm pretty sure that this means that you _can't_ use GsSortFastSprite(). Also, the GPU packets for drawing the sprites will get larger, so if you're cutting it fine with your packet workspace, flipping a lot of sprites may well put you over the limit. Toby.