MAMEWorld >> MAME Artwork: Official
View all threads Index   Threaded Mode Threaded  

Pages: 1

Nightvoice
MAME Fan
Reged: 03/19/10
Posts: 883
Loc: The Room Next To You
Send PM


Attn: Mr. Do or Vas Crabb = invaddlx question
#388214 - 10/18/20 03:43 AM


So I'm alphabetically up to the I's and I've hit my first snag. I've set up my invaddlx file with the following iterations, in order:
1. The backdrops.
2. The game screen using the "add" blend.
3. The overlay using the "multiply" blend.
4. The bezel.
Problem is, the overlay is affecting the backdrops as well as the game screen with this setup. Is this a result of the overlay being too complex (gradient) for the new setup or is there a syntax/method I'm missing? I haven't run into this with any of the other games with backdrops and overlays thus far.



----------------------
I have officially retired from sucking at everything I do. Life is much easier now.

My MAME/MESS artwork files: https://drive.google.com/open?id=1ABxeKgNIrKlIsyck7dx4V241NFQDWAF4
Related screen shots: https://drive.google.com/open?id=1U5IbvbVzYW97PuOOQuocvZFE_YJz7WIn



Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4876
Loc: California
Send PM


Re: Attn: Mr. Do or Vas Crabb = invaddlx question new [Re: Nightvoice]
#388215 - 10/18/20 05:36 AM Attachment: invaddlx.zip 2653 KB (15 downloads)


> So I'm alphabetically up to the I's and I've hit my first snag. I've set up my
> invaddlx file with the following iterations, in order:
> 1. The backdrops.
> 2. The game screen using the "add" blend.
> 3. The overlay using the "multiply" blend.
> 4. The bezel.
> Problem is, the overlay is affecting the backdrops as well as the game screen with
> this setup. Is this a result of the overlay being too complex (gradient) for the new
> setup or is there a syntax/method I'm missing? I haven't run into this with any of
> the other games with backdrops and overlays thus far.


See attached.




RELAX and just have fun. Remember, it's all about the games.




Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4464
Loc: Melbourne, Australia
Send PM


Re: Attn: Mr. Do or Vas Crabb = invaddlx question new [Re: Nightvoice]
#388218 - 10/18/20 10:08 AM


> So I'm alphabetically up to the I's and I've hit my first snag. I've set up my
> invaddlx file with the following iterations, in order:
> 1. The backdrops.
> 2. The game screen using the "add" blend.
> 3. The overlay using the "multiply" blend.
> 4. The bezel.
> Problem is, the overlay is affecting the backdrops as well as the game screen with
> this setup. Is this a result of the overlay being too complex (gradient) for the new
> setup or is there a syntax/method I'm missing? I haven't run into this with any of
> the other games with backdrops and overlays thus far.

See my post on Reddit here: https://www.reddit.com/r/MAME/comments/j...so_far/g7ujlrr/

In “Space Invaders” mode, the draw order was screens, overlays (multiply), backdrop (add), bezels, control panels, marquees. If you want more than one backdrop element, you need to use pre-matted bitmaps.



Nightvoice
MAME Fan
Reged: 03/19/10
Posts: 883
Loc: The Room Next To You
Send PM


Re: Attn: Mr. Do or Vas Crabb = invaddlx question new [Re: Mr. Do]
#388226 - 10/18/20 06:37 PM


Hugely helpful. I didn't see anything in the documentation about Space Invaders mode, but it obviously works with invaders and invaddlx. It's really freaky to have to iterate things in reverse order, but if it works, it works. Thanks to you both!



----------------------
I have officially retired from sucking at everything I do. Life is much easier now.

My MAME/MESS artwork files: https://drive.google.com/open?id=1ABxeKgNIrKlIsyck7dx4V241NFQDWAF4
Related screen shots: https://drive.google.com/open?id=1U5IbvbVzYW97PuOOQuocvZFE_YJz7WIn



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4464
Loc: Melbourne, Australia
Send PM


Re: Attn: Mr. Do or Vas Crabb = invaddlx question new [Re: Nightvoice]
#388232 - 10/19/20 01:23 AM


> Hugely helpful. I didn't see anything in the documentation about Space Invaders mode,
> but it obviously works with invaders and invaddlx. It's really freaky to have to
> iterate things in reverse order, but if it works, it works. Thanks to you both!

See this is one of the things that was really counter-intuitive about the old system. It magically changed behaviour depending on the contents of the view. Adding or removing overlay or backdrop items could change the order and blending modes. You had to actually read the code to work out what it was going to do. The new system requires you to be explicit about how you want stuff drawn, but it does exactly what you tell it to do.


Pages: 1

MAMEWorld >> MAME Artwork: Official
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Mr. Do 
0 registered and 842 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 818