|
Register or have you forgotten your password?
|
|
|
| Amiga OS -- Development This particular forum deals with issues regarding development for all versions of AmigaOS. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Defender of the Faith
![]()
Join Date: Mar 2009
Posts: 1,266
|
I just started messing with vSprites and i can't seem to find any way to set the priority over the background so that the sprites only appear behind bitmap data. I know there was a way to do it on the C= 64 but maybe this is a hardware limitation on the Amiga. I can't figure out how to do it on regular sprites either. Maybe i'm just not searching using the right terminology...
I was going to make a starfield(how original, i know) but its going to be awfully strange to have the stars appear over objects... thanks for the help. nate |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Defender of the Faith
![]()
Join Date: Jun 2002
Posts: 1,380
|
I do not know what are vSprites but you can set priority of the Amiga's hardware sprites using bits 0-5 of BPLCON2 ($DFF104), as shown in this document
http://amigadev.elowar.com/read/ADCD.../node0159.html |
||||||||
|
|
|
|
|
#3 | |||||||||
|
Defender of the Faith
![]()
Join Date: Mar 2009
Posts: 1,266
|
Quote:
vSprites are just the normal hardware sprites just the OS will masquerade them around using the copper for you so you can have more than 8. thanks! |
|||||||||
|
|
|
|
|
#4 | |||||||||
|
Defender of the Faith
![]()
Join Date: Mar 2009
Posts: 1,266
|
Quote:
I ended up needing to use a copper list to set it. |
|||||||||
|
|
|
|
|
#5 | ||||||||
|
Premium Member
|
|
||||||||
|
|
|
|
|
#6 | ||||||||
|
Defender of the Faith
![]()
Join Date: Mar 2009
Posts: 1,266
|
|
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| background , priority , sprites , vsprites |
| Thread Tools | |
| Display Modes | |
|
|