Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!olivea!oliveb!amiga!boing!dale From: dale@boing.UUCP (Dale Luck) Newsgroups: comp.sys.amiga.programmer Subject: Re: How to use BPLCON2? Message-ID: <947@boing.UUCP> Date: 17 Feb 91 02:54:14 GMT References: <12181@helios.TAMU.EDU> Reply-To: dale@boing.UUCP (Dale Luck) Organization: Boing, Milpitas, Ca. Lines: 16 In article <12181@helios.TAMU.EDU> aaron@stat.tamu.edu (Aaron Hightower) writes: > When the menu is pulled down, the sprite(s) overlap the menu. I >read in the RKM Hardware manual and found the chapter on how to set the >playfield-sprite priorities, and it mentions that you can use BPLCON2 to >I tried what the manual suggested, but nothing appeared >to change. The sprites still overlapped my menus. So how can I do this? You need to set the byte called "SpritePriorities" in the ViewPort structure. When the ViewPort is initialized, a value is put in there that means sprites on top. Change it to what you want. The next time the system needs to remake the copper list for your viewport, it will use this value. -- Dale Luck GfxBase/Boing, Inc. {uunet!cbmvax|pyramid}!amiga!boing!dale