Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: Mantar on July 15, 2019, 05:18:53 PM

Title: Attract mode background/wallpaper?
Post by: Mantar on July 15, 2019, 05:18:53 PM
Hey, all. I've got the orbit theme setup for my systems menu. I like it. It looks lovely, but that blank background just feels a little empty. Anyone know of a wallpaper or background image or something I can throw behind it that says "attract mode"?
Title: Re: Attract mode background/wallpaper?
Post by: hermine.potter on July 19, 2019, 04:52:39 AM
@Mantar

see documentation / how to (section Image) (https://github.com/mickelson/attract/wiki/Introduction-to-Squirrel-Programming)

-close AM
-navigate to orbit layout folder. in my case : C:\attract\layouts\Orbit
-create a picture (or take the enclosed background.png)
-edit layout.nut
-change :
Code: [Select]
fe.layout.width = 800
fe.layout.height = 600

const MWIDTH = 280;
const MHEIGHT = 170;

to
Code: [Select]
fe.layout.width = 800
fe.layout.height = 600

local bg = fe.add_image( "background.png", 0, 0, fe.layout.width, fe.layout.height )

const MWIDTH = 280;
const MHEIGHT = 170;
-start AM
Title: Re: Attract mode background/wallpaper?
Post by: Mantar on August 19, 2019, 03:39:51 PM
I guess that image will work, I was hoping somebody had cooked up something a bit nicer.