Path: chuka.playstation.co.uk!news From: "Omar" Newsgroups: scee.yaroze.freetalk.english Subject: Re: How to stretch a sprite? Date: Thu, 30 Aug 2001 23:01:25 -0400 Organization: PlayStation Net Yaroze (SCEE) Lines: 13 Message-ID: <9mmunt$ijv7@www.netyaroze-europe.com> References: <01c131ab$9b9841e0$8409e4d5@pal-s-omnibook> NNTP-Posting-Host: ACA6FA4E.ipt.aol.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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