Path: chuka.playstation.co.uk!news From: Nick Slaven Newsgroups: scee.yaroze.beginners,scee.yaroze.programming.codewarrior,scee.yaroze.programming.2d_graphics Subject: Re: Still strugglin' with the basics: broken sprite code (long) Date: Wed, 15 Jul 1998 21:27:34 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 16 Message-ID: <35AD10B6.153EE9C5@compuserve.com> References: <35AC71D4.AA79EB4A@easynet.co.uk> NNTP-Posting-Host: ld53-013.lon.compuserve.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; I) Xref: chuka.playstation.co.uk scee.yaroze.beginners:412 scee.yaroze.programming.codewarrior:300 scee.yaroze.programming.2d_graphics:439 Philip Gooch wrote: > What happens is that when I run the program I get the Yaroze boot-up > screen, then the screen flashes briefly before returning to the boot-up > screen. I've had crashes like this when I made the packet area too big, and when its too small. Try making PACKET GpuPacketArea[2][MAX_SPRITES*24]; bigger - you are sorting a clear screen command in here as well as the sprite. Also I noticed that you've got OTTags as local in one of your functions - try making it global - or static. cheers Nick (S)