Background image in attract mode ?

114 views
Skip to first unread message

Benny Rieger

unread,
Jul 2, 2021, 5:13:54 PM7/2/21
to MPF Users
How can I add a background image in attract mode. My attract mode has only a few text slides with a duration time. So I want that my slides playing in the foreground and my background image stays still in the backraound all the time. How to do that?

jabdoa

unread,
Jul 2, 2021, 8:18:12 PM7/2/21
to MPF Users
On normal slides this is kind of tricky because slides are similar to slides in powerpoint. They cover the complete display and are normally not transparent. In my opinion there are multiple ways to implement this:
- Render your slides to a separate display. Turn the background color of all your attract slides to transparent (background_color: 00000000). Show that display using a display widget (https://docs.missionpinball.org/en/dev/displays/widgets/display/index.html) on top of your background image. Probably not worth the effort for a static image but maybe for animated images or videos.
- Add the image to all slides.
- Convert attract to use widgets on top of one slide which has your image in the background.


Jan

Benny Rieger

unread,
Jul 3, 2021, 5:52:09 AM7/3/21
to MPF Users
Thanks Jan;-) Will try that  today in the evening. At the moment Im sitting on my Fast boards to get them flip for the first time;-). Had some problems with the firmware.....
Reply all
Reply to author
Forward
0 new messages