Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: manzarek on July 28, 2020, 10:27:48 AM
-
Hi everyone, I'm creating a personal theme, but I can't put the marquee behind the image of the cabinet, the images below better explain what I want to achieve, you can help me to do so thank you in advance.
this is the code concerned, the theme taken and Robospin
if ( my_config["enable_marquee"] == "marquee" )
{
local marquee = fe.add_artwork("marquee", flx*0.0840, fly*0.0214, flw*0.415, flh*0.180 );
marquee.trigger = Transition.EndNavigation;
marquee.skew_y = 0;
marquee.skew_x = 0;
marquee.pinch_x = 0;
marquee.pinch_y = 0;
marquee.rotation = 0;
if ( my_config["enable_Lmarquee"] == "Yes" )
{
local shader = fe.add_shader( Shader.Fragment "bloom_shader.frag" );
shader.set_texture_param("bgl_RenderedTexture");
marquee.shader = shader;
}
-
Have the background image load after the marquee, in the script.
-
thanks for the answer, please can you do it for me in the script, I don't know how to do it, I tried to tweak the code a little but without success.
-
Try this....no guarantee
-
no unfortunately the default background image disappears, i only see videos, thank you very much for your help friend.
-
Objects created in your squirrel script will be layered in order from bottom to top, unless you change the z index.
-
Is the background image the image with the transparency for the marquee?
-
One more attempt.
-
Is the background image the image with the transparency for the marquee?
no the background image is separate from the marquee image
-
One more attempt.
Same result as before.
-
Objects created in your squirrel script will be layered in order from bottom to top, unless you change the z index.
Yes you were right I solved thanks. :)