29 September 2018, 23:27 | #1 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Multiple Copperlists and Sprites
New question of the day!
If I set up a screen with 4 copperlists on top of each other with the required gap will each copperlist have it's own sprites or will the sprites be copperlist independent? I ask because I am writing a game with parallax scrolling and there are separated areas of the screen (that don't overlap) that I am scrolling at different speeds but software scrolling is quite slow and CPU intensive and it would be great to hardware scroll different sections of the screen. The only way I can see to do this is to have separate copperlists and hardware scroll each one. is this even possible and how does this affect sprites? Or is there a better way that I am not aware of? Hope this all makes sense??? |
01 October 2018, 22:44 | #2 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Sprites are per-CopList, so each CopList will have 8 independent sprites available. This means that you could have 32 sprites on screen with 4 CopLists, but each sprite will be confined to its CopList and unable to move to another (or onto the blank gap between them).
|
02 October 2018, 19:33 | #3 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
That's what I thought - shame.
So what's the best way to do multiple scrolling zones for a parallax effect? |
03 October 2018, 00:16 | #4 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Hmmm, well without resorting to a lot of poking around in the chipset registers, the DisplayScroll command might be worth investigating. I haven't used it myself, but it allows you to position a bitmap at different positions per line. I've never used it myself, but I would suspect that it could help you with some creative bitmap arranging.
|
03 October 2018, 21:10 | #5 |
Registered User
Join Date: Mar 2012
Location: UK
Posts: 1,893
|
Thanks - will have a look at this and report back.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple devices | virtualnut | support.Hardware | 1 | 30 September 2012 15:35 |
multiple screenshots | otro | support.WinUAE | 6 | 25 November 2005 20:56 |
multiple HDFs | BippyM | request.UAE Wishlist | 1 | 24 September 2005 23:12 |
Multiple Harddrives | Unknown_K | support.Hardware | 3 | 25 March 2005 12:28 |
Multiple Mice | foxtwo | support.WinUAE | 3 | 17 April 2002 11:24 |
|
|