Path: chuka.playstation.co.uk!news From: "David \"DM\" Treay" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Combining multiple images in TIMs for frame animation Date: Thu, 23 Jul 1998 09:56:21 +1000 Organization: PlayStation Net Yaroze (SCEE) Lines: 16 Message-ID: <35B67C25.42A6@cadgraphics.com.au> NNTP-Posting-Host: MA-A01-pool-139.tmns.net.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.04Gold (WinNT; I) I'm trying to get some sprites up that animate nicely when you control them with the pad (ie. say a stick figure - press right and his legs move, etc.). My initial idea of loading all the frames into memory and then switching between them when needed was clunky and hard to program, now having looked at some tutorials on Yaroze pages, I've discovered that you can combine multiple frames into one .TIM file (and then combine all the necessary .TIMs into one big .PAK file or something for easier downloads), and then use the GsSPRITE members u and v to change between frames on the fly. Unfortunately, none of the tutorials I've found actually tell you how to set up this big .TIM. Can somebody please answer a confused newbie's cries and give me a quick rundown on how to achieve the said animation? -- - David "DM" Treay (the tribe that hides from Man) dmtreay@cadgraphics.com.au