Fglayer?

Skull Kingz

Active member
Could someone explain the fglayer function for me?
I checked the manual and I can only find bglayer.
Do they work exactly the same? Like what's written below with transparency, alpha, etc?

bglayer {path} {xratio} {zratio} {xposition} {zposition} {xspacing} {zspacing} {xrepeat} {zrepeat} {transparency} {alpha}
 
fglayer {path} {z} {xratio} {zratio} {xposition} {zposition} {xspacing} {zspacing} {xrepeat} {zrepeat} {transparency} {alpha} {watermode} {amplitude} {wavelength} {wavespeed} {bgspeedratio}

~This is for setting custom foreground layer in current level.
~{path} is the location relative to data folder where the graphic is
~Just like any image used by OpenBoR, fglayers must use paletted images. In 8 bit colourdepth (default), it must use same palette as 'background' (see above). In 16/32 bit, it can use different palette
~Beware though, if bglayers use different palette than background, 'palette' command (see below) won't work
~{z} sets location of the layer. Give positive value to make it closer to screen or negative value to make it farther from screen.
~Other parameters ( {xratio}, {zratio}, {xposition}, {zposition}, {xspacing}, {zspacing}, {xrepeat}, {zrepeat}, {transparency}, {alpha} and {bgspeedratio} ) have same effect like in 'bglayer' above.
~Currently {watermode}, {amplitude}, {wavelength} and {wavespeed} aren't working. Still, you need to fill them if you want to set {bgspeedratio}.
 
Back
Top Bottom