Path: chuka.playstation.co.uk!news From: "Ben James" Newsgroups: scee.yaroze.freetalk.english Subject: Re: How to stretch a sprite? Date: Fri, 31 Aug 2001 19:10:36 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 22 Message-ID: <9mok74$kum2@www.netyaroze-europe.com> References: <01c131ab$9b9841e0$8409e4d5@pal-s-omnibook> <9mmunt$ijv7@www.netyaroze-europe.com> NNTP-Posting-Host: du-013-0031.claranet.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Don't forget to use GsSortSprite rather the GsSortFastSprite which ignores mx,my,scalex,scaley and rotate. Ben "Omar" wrote in message news:9mmunt$ijv7@www.netyaroze-europe.com... change the 'scalex' and 'scaley' members to stretch your sprite. 'mx' and 'my' are the rotation/expansion central coordinates. set them to width/2, height/2 so that the sprite is scaled from the center of your sprite instead of the upper left corner. example: if your GsSPRITE is declared as 'sprite', optionally set sprite.mx and sprite.my to the center point, then contract/expand the sprite by changing sprite.scalex and sprite.scaley -Omar