Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!versatc!ubvax!ardent!peck!rap From: rap@peck.ardent.com (Rob Peck) Newsgroups: comp.sys.amiga.tech Subject: Re: VSprites don't show Message-ID: <7162@ardent.UUCP> Date: 7 Jul 89 21:26:18 GMT References: <866@manta.NOSC.MIL> Sender: news@ardent.UUCP Reply-To: rap@peck.ardent.com (Rob Peck) Organization: Ardent Computer Corp., Sunnyvale, CA Lines: 27 In article <866@manta.NOSC.MIL> dwi@manta.nosc.mil.UUCP (Roger Uzun) writes: >I am using the standard Amiga GEL system to animate 3 BOB's > [other details omitted] >and 1 VSprite on a 320X200 64 color ExtraHalfbrite, double >with SortGList()DrawGList()MakeScreen()RethinkDisplay() since >ON_SPRITE is the default for the system). > >Any ideas why a VSprite could be added to the GEL List and not >drawn? > See the sample program in the Programmer's Guide To The Amiga on VSprites. If I remember right, it does the DrawGList, (which creates a sprite copper list) and a MrgCop among other things. But then, RethinkDisplay I believe does a MrgCop too. HMMM. (Programmer's Guide To The Amiga is from SYBEX, author: ME.) The other thing that would DEFINITELY prevent vsprites from being allocated is the sprite-reserved fields (I forget their names) in the GfxBase and the GelsInfo structures. If these fields say there are no sprites available to the vsprite engine, no vsprites are drawn. Hope this helps Rob Peck