Author Topic: Auto Wheel Creator Theme  (Read 634 times)

qqplayer

  • Sr. Member
  • ****
  • Posts: 243
    • View Profile
Auto Wheel Creator Theme
« on: April 22, 2018, 04:00:59 AM »


Video demo:

https://www.youtube.com/watch?v=zloX84nH4oM

Explanation:

conveyour_helper_mod.zip : extract inside "modules" folder, LITTLE MOD FROM ARCADEBLISS CONVEYOUR_HELPER , ALL CREDITS TO HIM FOR HIS WORK  :)

Three "border example wheels inside the zip" , credits to "Viking" from the launchbox forums.



Base wheel names has to be the "Emulator" names to work.

Basic_md.zip : extract inside layouts folder

Example for "Sega Mega Drive" emulator



Code: [Select]
fe.layout.font = fe.game_info(Info.Emulator); Needs to be alongside the layout.nut and with the same "Emulator" name

Code: [Select]
      // ----------- List Item Content: Text -----------
      spinList.text.message = "[Title]";
      spinList.text.alignment = Align.Centre;           // OPTIONS:left/right/center
      spinList.text.normal.font = fe.game_info(Info.Emulator);
      spinList.text.normal.size = 18;                // OPTIONS: text font size for every gameList item
      spinList.text.normal.color.red = 255;            // OPTIONS: text font red color channel 0 - 255
      spinList.text.normal.color.green = 255;         // OPTIONS: text font green color channel 0 - 255
      spinList.text.normal.color.blue = 255;            // OPTIONS: text font blue color channel 0 - 255
     
      spinList.text.currentlySelected.font = fe.game_info(Info.Emulator);
      spinList.text.currentlySelected.size = 18;       // OPTIONS: text font size for every gameList item
      spinList.text.currentlySelected.color.red = 255;   // OPTIONS: text font red color channel 0 - 255
      spinList.text.currentlySelected.color.green = 255; // OPTIONS: text font green color channel 0 - 255
      spinList.text.currentlySelected.color.blue = 255;  // OPTIONS: text font blue color channel 0 - 255

Customize text and color options when "logo wheel" is not found.

Code: [Select]
         temp = object.add_customGameItemContent("text", "[Title]", 5 ,30 ,190 ,120);
         temp.font = object.text.normal.font;
         temp.word_wrap = true;
         temp.charsize  = object.text.normal.size;
         temp.align = object.text.alignment;
         temp.set_rgb(object.text.normal.color.red, object.text.normal.color.green, object.text.normal.color.blue);

Text size and position.

Code: [Select]
         temp = object.add_customGameItemContent("artwork","wheel", 20 ,60 ,150 ,60 );
         temp.preserve_aspect_ratio = object.artwork.preserveAspect;
         temp.trigger = Transition.EndNavigation;
         object.gi_textFallback = true;

Base size and position.
« Last Edit: April 22, 2018, 04:03:01 AM by qqplayer »