Author Topic: (solved) I am creating a personal theme, I need a little help  (Read 3249 times)

manzarek

  • Sr. Member
  • ****
  • Posts: 147
    • View Profile
    • YouTube
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
Code: [Select]
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;
}
« Last Edit: July 28, 2020, 03:33:45 PM by manzarek »
Mame Fighting

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: I am creating a personal theme, I need a little help
« Reply #1 on: July 28, 2020, 11:15:45 AM »
Have the background image load after the marquee, in the script.

manzarek

  • Sr. Member
  • ****
  • Posts: 147
    • View Profile
    • YouTube
Re: I am creating a personal theme, I need a little help
« Reply #2 on: July 28, 2020, 11:36:02 AM »
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.
« Last Edit: July 28, 2020, 11:45:49 AM by manzarek »
Mame Fighting

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: I am creating a personal theme, I need a little help
« Reply #3 on: July 28, 2020, 12:21:22 PM »
Try this....no guarantee

manzarek

  • Sr. Member
  • ****
  • Posts: 147
    • View Profile
    • YouTube
Re: I am creating a personal theme, I need a little help
« Reply #4 on: July 28, 2020, 12:29:43 PM »
no unfortunately the default background image disappears, i only see videos, thank you very much for your help friend.
Mame Fighting

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: I am creating a personal theme, I need a little help
« Reply #5 on: July 28, 2020, 12:37:26 PM »
Objects created in your squirrel script will be layered in order from bottom to top, unless you change the z index.

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: I am creating a personal theme, I need a little help
« Reply #6 on: July 28, 2020, 12:40:02 PM »
Is the background image the image with the transparency for the marquee?

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: I am creating a personal theme, I need a little help
« Reply #7 on: July 28, 2020, 12:41:32 PM »
One more attempt.

manzarek

  • Sr. Member
  • ****
  • Posts: 147
    • View Profile
    • YouTube
Re: I am creating a personal theme, I need a little help
« Reply #8 on: July 28, 2020, 12:49:29 PM »
Is the background image the image with the transparency for the marquee?
no the background image is separate from the marquee image
« Last Edit: July 28, 2020, 02:01:52 PM by manzarek »
Mame Fighting

manzarek

  • Sr. Member
  • ****
  • Posts: 147
    • View Profile
    • YouTube
Re: I am creating a personal theme, I need a little help
« Reply #9 on: July 28, 2020, 12:53:03 PM »
One more attempt.
Same result as before.
Mame Fighting

manzarek

  • Sr. Member
  • ****
  • Posts: 147
    • View Profile
    • YouTube
Re: I am creating a personal theme, I need a little help
« Reply #10 on: July 28, 2020, 03:32:54 PM »
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.  :)
Mame Fighting