10 May 2021, 20:36 | #1 |
Registered User
Join Date: Apr 2018
Location: Germany
Posts: 189
|
Overlapping BOBs
I've just created a simple, basic bob engine that works on a static, non-moving screen.
The bob engine knows about the background imagery, so every frame when a bob has moved the following is done: 1) Restore background on the Bobs current location with a single A->D blit 2) Do a cookie-cut blit to paint the bob to its new location Now from time to time it is needed that some bobs overlap each other. This is not possible with my current solution. I have no idea how to fix this. How is this topic generally handled in Amiga games when using the blitter? (I know that the graphics.library / GELs bobs can do it properly but that comes at the price of being very slow..) |
10 May 2021, 20:53 | #2 |
Registered User
Join Date: Jun 2020
Location: Druidia
Posts: 387
|
Sounds like you just need to restore all the bob backgrounds in one first pass.
Then cookie cut all the bobs after that in a second pass. |
10 May 2021, 21:09 | #3 |
Registered User
Join Date: Apr 2018
Location: Germany
Posts: 189
|
Yeah this could do it. Thank you:-)
I'll look at my bob engine and see if it can be changed into a two-pass behavior. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bits n Bobs | Kin Hell | MarketPlace | 12 | 28 May 2020 13:09 |
New tutorial on BOBs | Yragael | Coders. Tutorials | 9 | 15 August 2018 00:00 |
Clipping bobs | roondar | Coders. General | 18 | 24 September 2015 09:54 |
FS: Various bits n bobs | jujasi | MarketPlace | 0 | 12 July 2009 19:13 |
Bobs Garden | Big-Byte | Amiga scene | 7 | 26 October 2002 11:24 |
|
|