Author Topic: one place to preview/ download themes?  (Read 5123 times)

cherwilco

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
one place to preview/ download themes?
« on: October 12, 2014, 02:28:48 PM »
can we get a forum category just for theme sharing?

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 389
    • View Profile
Re: one place to preview/ download themes?
« Reply #1 on: October 16, 2014, 05:40:25 PM »
I'm happy to set up whatever works best for people.  There is a page on the wiki currently that is open to being updated with links to people's layouts.  Would a dedicated forum be better?

cherwilco

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: one place to preview/ download themes?
« Reply #2 on: October 18, 2014, 12:44:56 PM »
aw heck if its already on the wiki then that's probably good enough. sorry I didn't check there before creating a thread!  ;D

Svampson

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: one place to preview/ download themes?
« Reply #3 on: October 20, 2014, 12:55:32 AM »
I would actually prefer a forum section devoted to layouts over the wiki, then you could have a thread per layout and it would be easier to share improvements, feedback etc :) I don't know if that is considered a little overkill but that's my five cents!

cools

  • Full Member
  • ***
  • Posts: 61
    • View Profile
Re: one place to preview/ download themes?
« Reply #4 on: October 20, 2014, 04:50:22 AM »
Since we've got the
Code: [Select]
[code] format, it'd make sense to have a dedicated forum as Svampson describes. I like that idea.

cherwilco

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: one place to preview/ download themes?
« Reply #5 on: October 20, 2014, 04:53:42 PM »
I think the filesize limit might need to be upped a bit to really facilitate this, any zipped layouts that include graphics can easily blow past the 192kb limit. and it would be nice if submissions had a screenshot included and maybe a youtube link of the layout in action.

also a list of needed graphics for the layout to work correctly would be awesome ie:

needed artworks: flyer, marquee, wheel, snap

that might help people setup just as they see in the preview video that i hope people include!

cherwilco

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: one place to preview/ download themes?
« Reply #6 on: October 20, 2014, 05:10:48 PM »
EDIT: I should include credit to Omegaman for parts from his hyperspin layout and the creators of the orbit and mediav (who are you guys?) layouts for the parts I scavanged to hobble this together (I am not a smart man)

sample of what i had in mind for a template layout share (I'm waaaaay open to suggestion)

ps2 layout (rar is attached)

preview video here:
https://www.youtube.com/watch?v=aY5KXdPbOfM&feature=youtu.be

needed artworks not included in zip:
flyer
marquee
snap

code for layout.nut file:
Code: [Select]
//
// Attract-Mode Front-End - "mediaV" sample layout
//
fe.layout.width=800;
fe.layout.height=600;

fe.layout.font="coolvetica";

fe.add_image( "Background.jpg", 0, 0, 800, 600 );
fe.add_artwork( "snap", 470, 135, 295, 225 );
fe.add_image( "frame.jpg", 465, 130, 310, 235 );
fe.add_image("select.png", 18, 475, 220,9 );
fe.add_image("ps2box.png", 578, 377, 128, 212 );

// fill an entire surface with our snap at a resolution of 124x204
//
local surface = fe.add_surface( 124, 204 );
local snap = surface.add_artwork( "flyer", 0, 0, 124, 204 );
snap.preserve_aspect_ratio = false;

// position and pinch the surface
//
surface.set_pos( 588, 380, 115, 206 );
surface.pinch_y = 11;


local title = fe.add_text( "[Title]", 10, 660, 320, 20 );
title.set_rgb( 255, 255, 255 );
title.align = Align.Left;

local man = fe.add_text( " ([Category]) [Manufacturer] [Year] ", 10, 690, 320, 20 );
man.set_rgb( 255, 255, 255 );
man.align = Align.Left;

local name = fe.add_text( " [ListTitle] ", 02, 02, 320, 20 );
name.set_rgb( 255, 255, 255 );
name.align = Align.Left;

local entry = fe.add_text( "[ListEntry]/[ListSize]", 350, 610, 320, 18 );
entry.set_rgb( 255, 255, 255 );
entry.align = Align.Right;


// Create 10 artworks.
local title_p2 = fe.add_artwork( "marquee", 20, 00, 190, 75);
local title_p3 = fe.add_artwork( "marquee", 20, 80, 190, 75 );
local title_n1 = fe.add_artwork( "marquee", 20, 160, 190, 75 );
local title_n2 = fe.add_artwork( "marquee", 20, 240, 190, 75 );
local title_n3 = fe.add_artwork( "marquee", 20, 320, 190, 75 );
local title_n0 = fe.add_artwork( "marquee", 20, 400, 190, 75 );
local title_n5 = fe.add_artwork( "marquee", 20, 480, 190, 75 );
local title_n6 = fe.add_artwork( "marquee", 20, 560, 190, 75 );
local title_n7 = fe.add_artwork( "marquee", 20, 640, 190, 75 );
local title_n8 = fe.add_artwork( "marquee", 20, 720, 190, 75 );

// Set index_offset for these 5 artworks.
title_p2.index_offset = -5;
title_p3.index_offset = -4;
title_n1.index_offset = -3;
title_n2.index_offset = -2;
title_n3.index_offset = -1;
title_n0.index_offset = 0;
title_n5.index_offset = 1;
title_n6.index_offset = 2;
title_n7.index_offset = 3;
title_n8.index_offset = 4;
// Add transition callback function.
fe.add_transition_callback( "orbit_transition" );
// Fill in orbit_transition function, as below:
local SPIN_MS=160; // Duration of transition effect (in msec)
function orbit_transition( ttype, var, ttime ) {
switch ( ttype )
{
case Transition.ToNewSelection:
if ( ttime < SPIN_MS ) {
local direction = -1;
if (var < 0) direction = 1;
local increment = (ttime * direction * 80) / SPIN_MS;
title_p2.y = 00 + increment;
title_p3.y = 80 + increment;
title_n1.y = 160 + increment;
title_n2.y = 240 + increment;
title_n3.y = 320 + increment;
title_n0.y = 400 + increment;
title_n5.y = 480 + increment;
title_n6.y = 560 + increment;
title_n7.y = 640 + increment;
title_n8.y = 720 + increment;

return true;
}

else {
title_p2.y = 00;
title_p3.y = 80;
title_n1.y = 160;
title_n2.y = 240;
title_n3.y = 320;
title_n0.y = 400;
title_n5.y = 480;
title_n6.y = 560;
title_n7.y = 640;
title_n8.y = 720;
return false;
}
}
return false;
}

// Gives us a nice high random number for the RGB levels
function brightrand() {
 return 255-(rand()/255);
}

local red = brightrand();
local green = brightrand();
local blue = brightrand();

// Transitions
fe.add_transition_callback( "fancy_transitions" );

function fancy_transitions( ttype, var, ttime ) {
 switch ( ttype )
 {
 case Transition.StartLayout:
 case Transition.ToNewList:
 case Transition.ToNewSelection:
 case Transition.EndLayout:
  //gametitleshadow.msg = trimmed_title( var );
  //gametitle.msg = trimmed_title( var );
  //man.msg = trimmed_man ( var );
  red = brightrand();
  green = brightrand();
  blue = brightrand();
  //year.set_rgb (red,green,blue);
  //copy.set_rgb (red,green,blue);
  //man.set_rgb (red,green,blue);
  //romlist.set_rgb (red,green,blue);
  //screen.set_rgb (red,green,blue);
  //frame3.set_rgb (red,green,blue);
  //cat.set_rgb (red,green,blue);
  //title.set_rgb (red,green,blue);
  break;

 case Transition.FromGame:
  if ( ttime < 255 )
  {
   foreach (o in fe.obj)
    o.alpha = ttime;
   //message.alpha = 0;     
   return true;
  }
  else
  {
   foreach (o in fe.obj)
    o.alpha = 255;
   //message.alpha = 0;
  }
  break;
   
 case Transition.EndLayout:
  if ( ttime < 255 )
  {
   foreach (o in fe.obj)
    o.alpha = 255 - ttime;
   //message.alpha = 0;
   return true;
  }
  else
  {
   foreach (o in fe.obj)
    o.alpha = 255;
   //message.alpha = 0;
  }
  break;
     
 case Transition.ToGame:
  if ( ttime < 255 )
  {
   foreach (o in fe.obj)
    o.alpha = 255 - ttime;
   message.alpha = ttime;
   return true;
  }   
  break;
 }
 return false;
}
« Last Edit: October 20, 2014, 06:38:50 PM by cherwilco »

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 873
    • View Profile
Re: one place to preview/ download themes?
« Reply #7 on: October 20, 2014, 08:06:30 PM »
I like the idea of showing different consoles for each emulator. Nice job ^__^

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 389
    • View Profile
Re: one place to preview/ download themes?
« Reply #8 on: October 20, 2014, 11:03:06 PM »
Ok a new board it is!

I've added a 'themes' board and upped the attachment limit.  Let me know if there are any issues...

Edit: Oh and nice work on the theme cherwilco, looks good!
« Last Edit: October 20, 2014, 11:20:12 PM by raygun »

cherwilco

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: one place to preview/ download themes?
« Reply #9 on: October 21, 2014, 05:33:11 AM »
that is pretty awesome raygun thanks, Ill move this one to that board to kickstart it. and thanks for the compliments guys  ;D