20 January 2019, 17:13 | #1 |
Registered User
Join Date: Jul 2010
Location: sthlm
Posts: 226
|
16c single playfield vs dual playfield for bobs n sprites
If you want to display lots of animated sprites and bobs what is best?
Dual playfield or single playfield with 16 colours. ocs hardware, everything else equal. |
20 January 2019, 17:24 | #2 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,411
|
This may surprise you, but it doesn't really matter (if both assume say a 320x256 screen).
The number of sprites you can show is equal regardless of screenmode* and the extra DMA cycles used by Dual Playfield mode (in 6 bitplane mode) is more or less cancelled out by the lower number of DMA cycles used by blitting Bobs in fewer bitplanes (i.e. 3 vs 4). If you like I could post the calculation results to show this is true, but for now I'll leave it here. Now, do note that while the above is true, Dual Playfield mode's extra cycle use does mean there is less CPU time available and this may impact the ability to keep all objects moving & animating. However, I don't really feel this is a problem simply by looking at Amiga games that already exist - competent Dual Playfield don't seem to be any less busy than competent 16 colour games. *) A caveat here is that reloading sprites with the copper takes more cycles, so fewer sprites can horizontally be reloaded. However, in practice horizontal reloading of sprites is almost never done for moving objects, usually this is limited to a background layer. Edit: I would like to add that I am assuming you want both layers to contains graphics other than just Bobs, if you use Dual Playfield mode and use one layer for Bobs and the other as the background layer, Dual Playfield is in fact the faster option. Last edited by roondar; 20 January 2019 at 21:53. Reason: Clarified what kind of Dual Playfield I was talking about |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dual Playfield 'Fast Bobs' example + source | roondar | Coders. Asm / Hardware | 10 | 12 July 2017 16:11 |
Dual Playfield Palette Assignments | LuMan | Coders. Blitz Basic | 1 | 24 February 2016 15:35 |
Help with Dual Playfield | Shatterhand | Coders. Blitz Basic | 15 | 14 December 2015 13:05 |
flimbo's quest dual playfield? | Raislin77it | Coders. General | 14 | 01 August 2015 16:53 |
Dual Playfield | BippyM | project.Maptapper | 6 | 03 July 2013 00:43 |
|
|