Path: chuka.playstation.co.uk!ira.rainey From: ira.rainey@btinternet.com (Ira Rainey) Newsgroups: scea.yaroze.programming.2d_graphics Subject: Re: Big Sprite ? Date: Wed, 11 Mar 1998 00:23:13 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 23 Message-ID: References: <35047742.522A@hotmail.com> NNTP-Posting-Host: host5-99-55-41.btinternet.com X-Newsreader: MT-NewsWatcher 2.3.5 In article <35047742.522A@hotmail.com>, Alex wrote: > In my game i must set a big picture in the background (320*240)! > > I defined this as a Sprite set to position 0,0! > But at the edges the image was screwed up :( > > is there an other way to put this BIG picture in the background else > than to define it as a Sprite ?! Sprites can only be a maximum 256x256 so you will need two sprites to fill a 320x240 area, unless you scale one sprite which would look pretty crappy. Check out my site for some sample code on how to do this (Back.hqx) and look also at the code for A Dog Tale (dog2.hqx) as you can see various screen effects (scrolling, spinning etc) from usging multiple sprites as backgrounds. Ira http://www.netyaroze-europe.com/~shadow