Author Topic: Smooth theme for scrolling Overview game descriptions  (Read 6064 times)

dmmarti

  • Sr. Member
  • ****
  • Posts: 106
    • View Profile
Smooth theme for scrolling Overview game descriptions
« on: November 23, 2019, 10:36:49 AM »
UPDATE: Theme is released along with repo for Overview files

I've uploaded the theme to Github along with another repo with Overview files for a lot of systems.

Youtube demo of released theme:

https://youtu.be/ZeSM8Kxwtdk

Download from Github

Click on the green Clone/Download button
Download the ZIP file
Extract
Copy the theme folder to Attract Mode’s layouts folder
Assign the theme to the various displays

https://github.com/dmmarti/am-theme-smooth

—
Additional downloads

These theme uses Overview files to show game descriptions..

These files should be placed in a sub-folder within Attract Mode with the following folder structure.

Attract Mode/scraper/(system)/overview

A special scraper/system folder (@) includes overview files to show a synopsis of various systems.

Here's a Github repo with a large amount of Overview files for various systems.

https://github.com/dmmarti/overview

Click on the green Clone/Download button
Download the ZIP file
Extract
Copy the scraper folder's contents to the Attract Mode scraper folder.




==========
-original post-

Here's a new theme I'm working on (will be given a proper name later) showing the scrolling of the Overview game descriptions.

Special thanks to @jedione for the help!

Getting the Overview files scrolling vertically was one thing I've always struggled with....but now I think I've got it!

https://youtu.be/td4E3xPnhLs
« Last Edit: November 25, 2019, 10:06:19 AM by dmmarti »

rand0m

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Re: (WIP) theme for scrolling Overview game descriptions
« Reply #1 on: November 23, 2019, 11:32:30 AM »
Great theme dmmarti, the overview text is a bit small though. Is the scrolling automatic or manual? I also struggled a lot with manual scrolling (press a button to scroll) but couldn't find a way to do it.

dmmarti

  • Sr. Member
  • ****
  • Posts: 106
    • View Profile
Re: (WIP) theme for scrolling Overview game descriptions
« Reply #2 on: November 23, 2019, 11:41:00 AM »
Yea, I need to make the description text a little bigger and probably the listbox text too.  I'm still testing with description text size - versus width size for that text box to get the best experience.

jedione's code works really good.

When you first enter into a display, the initial game you land upon, the overview text will just "be there" and will not scroll.  When you move to the next/previous game though, that's when the scrolling will begin working.  I don't know of a way to force scrolling upon first entering a display...but, I'll take whatever I can get!

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: (WIP) theme for scrolling Overview game descriptions
« Reply #3 on: November 23, 2019, 01:13:12 PM »
hey,  looking sharp...cool theme..

ps,  in the code under the animation part you will see somthing like

transition.ToNewSelection  change that to    transition.StartLayout  and try

that might make it kick in on start of layout...?
« Last Edit: November 23, 2019, 01:14:57 PM by jedione »
help a friend....

bundangdon

  • Sr. Member
  • ****
  • Posts: 212
    • View Profile
Re: (WIP) theme for scrolling Overview game descriptions
« Reply #4 on: November 23, 2019, 06:52:20 PM »
Great looking theme! I think I'd replace the image of the NES system with the boxart of each corresponding game-name instead, but that's probably more of a personal preference  :D

teeedubb

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: (WIP) theme for scrolling Overview game descriptions
« Reply #5 on: November 24, 2019, 12:53:23 AM »
Hi,

Skin looks good! I have been trying to get overview text to scroll without much avail - any chance you can share to code you used to make it happen?

Thanks

dmmarti

  • Sr. Member
  • ****
  • Posts: 106
    • View Profile
Re: (WIP) theme for scrolling Overview game descriptions
« Reply #6 on: November 24, 2019, 06:23:47 AM »
Update:

I think i'm getting closer to being done with the new theme.

made the listbox text bigger
made overview game description text bigger (might go a tad bigger maybe still)
added new option for either boxart or system flyer

here's a new demo of it:

https://youtu.be/9E4vuEzfhlg

@teeedubb - sure, if @jedione is okay with me sharing it, I certainly will.

Neosys

  • Full Member
  • ***
  • Posts: 50
    • View Profile
Re: (WIP) theme for scrolling Overview game descriptions
« Reply #7 on: November 24, 2019, 06:46:09 AM »
Hi,

now it looks better. Cool Skin and the overview scrolltext perfect.  8)

Do you share your Layout?

Thanks

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: (WIP) theme for scrolling Overview game descriptions
« Reply #8 on: November 24, 2019, 07:04:19 AM »
sharing is carring... ;)

thats what make AM great...
help a friend....

dmmarti

  • Sr. Member
  • ****
  • Posts: 106
    • View Profile
Re: (WIP) theme for scrolling Overview game descriptions
« Reply #9 on: November 24, 2019, 07:34:10 AM »
Awesome.

Let me get the layout.nut updated with some comments ... and I'll get it uploaded to Github here soon.


Thanks all!

dmmarti

  • Sr. Member
  • ****
  • Posts: 106
    • View Profile
Re: Smooth theme for scrolling Overview game descriptions
« Reply #10 on: November 25, 2019, 10:08:22 AM »
Theme has been released along with a Github repo of Overview files for a lot of systems.

Links are in the first post above.

Again, special thanks for @jedione for his help.

The theme is fairly simple...as I wanted to create a theme for having scrolling game descriptions.  i'm sure it could use some tweaks and/or more polish.  But hopefully this will be a good start for myself (and maybe others?) to now have working code for scrolling overview files.

teeedubb

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Smooth theme for scrolling Overview game descriptions
« Reply #11 on: November 26, 2019, 06:57:29 PM »
Thanks guys, I'll take a look at it

calle81

  • Sr. Member
  • ****
  • Posts: 184
    • View Profile
Re: Smooth theme for scrolling Overview game descriptions
« Reply #12 on: November 29, 2019, 11:22:28 PM »
Cool theme!  :)

teeedubb

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Smooth theme for scrolling Overview game descriptions
« Reply #13 on: December 04, 2019, 12:15:28 AM »
Thanks for sharing guys.
I have gotten it to work today, and I am a noob when it comes to AM, so I may be missing something, but it seems like it is not possible to set it up so it automatically adapts to long and short blocks of text? Eg, sometimes long blocks of text are cut short and short blocks of text have long periods before they cycle. I have been mucking around with the text box sizes and x y coordinates to no avail.

dmmarti

  • Sr. Member
  • ****
  • Posts: 106
    • View Profile
Re: Smooth theme for scrolling Overview game descriptions
« Reply #14 on: December 04, 2019, 04:04:23 AM »
Unfortunately it isn't that easy.

The text field has to be set at a specific width since there's currently no way to determine how long the actual text is within the Overview files.

That's why you have some longer text cut off early....and why short text seems to take forever to scroll/repeat/scroll.  The scrolling has to go through the entire length set in the width value before it repeats.

It's a compromise in finding a width that works for both.