Author Topic: Attractmode Barcade "display-menu" Release.  (Read 14044 times)

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 863
    • View Profile
    • new projects
Re: Attractmode Barcade "display-menu" Release.
« Reply #15 on: March 10, 2017, 03:30:21 AM »
Looking good and more streamlined after the change - good job!

calle81

  • Sr. Member
  • ****
  • Posts: 184
    • View Profile
Re: Attractmode Barcade "display-menu" Release.
« Reply #16 on: March 11, 2017, 04:55:35 PM »
Thanks for the light version.  :)

I'm trying to mod this and have full screen system snaps playing in background but for some reason the playback is choppy on the pi with this theme.

Usually when video playback is choppy its because of surfaces being used to pinch the snaps on but this theme does not seem to use surfaces for the snap and still the playback is choppy.
Once snaps are working adding a fade out to the menu would be awesome.

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Attractmode Barcade "display-menu" Release.
« Reply #17 on: March 13, 2017, 12:27:01 PM »
I´m trying to make my own version based on grid-layout.
How can I add artworks or text?I mean there are two or three created like:

Code: [Select]
gridc.name_t =  fe.add_text("[Title]"...
But I have some problems if I want to add more , for example a "gridc.numnber_t"
Any help please?Thanks.


jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: Attractmode Barcade "display-menu" Release.
« Reply #18 on: March 13, 2017, 02:20:46 PM »
just add moore text...simple

Code: [Select]
gridc.name_t =  fe.add_text( "Barcade", flx*0.095, fly*0.085, flw*0.800, flh*0.280 );
gridc.name_t.set_rgb( 255, 0, 0);
gridc.name_t.font="yellow";
gridc.name_t.charsize = 120;

local text =  fe.add_text( "Barcade", flx*0.050, fly*0.085, flw*0.800, flh*0.280 );
text.set_rgb( 000, 255, 0);
text.font="yellow";
text.charsize = 120;
help a friend....

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Attractmode Barcade "display-menu" Release.
« Reply #19 on: March 13, 2017, 02:34:06 PM »
just add moore text...simple

Code: [Select]
gridc.name_t =  fe.add_text( "Barcade", flx*0.095, fly*0.085, flw*0.800, flh*0.280 );
gridc.name_t.set_rgb( 255, 0, 0);
gridc.name_t.font="yellow";
gridc.name_t.charsize = 120;

local text =  fe.add_text( "Barcade", flx*0.050, fly*0.085, flw*0.800, flh*0.280 );
text.set_rgb( 000, 255, 0);
text.font="yellow";
text.charsize = 120;

Thanks , but let me explain.

For example , if I make:

Code: [Select]
gridc.num_t = fe.add_artwork( "snap", 0, 0, 640, 480 );
and I add:

gridc.nam_t = fe.add_artwork( "title", 0, 0, 640, 480 );

The "title" doesnt change when I move by the grid.
I can just use the three "precreated" objects:

Code: [Select]
frame=null;
  name_t=null;
  num_t=null;

This works:
Code: [Select]
gridc.frame
gridc.name_t
gridc.num_t

This doesnt:
Code: [Select]
gridc.number_t

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: Attractmode Barcade "display-menu" Release.
« Reply #20 on: March 13, 2017, 02:46:25 PM »
ohh i think i see..

maybe it might be part of this...what do you think....

Code: [Select]
name_t.index_offset = year_t.index_offset = num_t.index_offset = wheel_t.index_offset = get_sel() - selection_index;
maybe just adding to this will index your new object...
help a friend....