Author Topic: Grid Pro Theme (v1.6 released) - Filter sub menu bar  (Read 2350 times)

kent79

  • Sr. Member
  • ****
  • Posts: 355
    • View Profile
Re: Grid Pro Theme (v1.5 released) HD & 4:3 version with system logos
« Reply #30 on: August 19, 2017, 07:16:00 AM »
The theme update to version 1.5. This is so amazing using Jedione's video to grid theme.

Also, I upload all files with system logos in this time. Hope you enjoy.

Original Jedione's theme Post
http://forum.attractmode.org/index.php?topic=1248.msg9042#msg9042

- add image, video or snap options to be backgroup artwork
- improve some animation effect
- fix bugs

v1.5 Preview
https://youtu.be/sWO3kxMlLus

« Last Edit: August 19, 2017, 07:25:18 AM by kent79 »

jedione

  • Sr. Member
  • ****
  • Posts: 295
  • punktoe
    • View Profile
Re: Grid Pro Theme (v1.5 released) HD & 4:3 version with system logos
« Reply #31 on: August 19, 2017, 07:28:17 AM »
i love it ,,  im thinking of putting some large dinosaurs grazing in the background with
some ambient music playing.

great work ,  i have a feeling its not over yet..
thanks for the update.
help a friend....

jedione

  • Sr. Member
  • ****
  • Posts: 295
  • punktoe
    • View Profile
Re: Grid Pro Theme (v1.5 released) HD & 4:3 version with system logos
« Reply #32 on: August 19, 2017, 07:46:41 AM »
i love your timer to go back to the menu so much ,,,i made it into a .nut file by its self

just drop it in any theme , and add    fe.do_nut("timer.nut");  to the end of your theme script
and your good.

https://www.dropbox.com/s/e4c186rzy5th75q/timer.nut?dl=0
help a friend....

kent79

  • Sr. Member
  • ****
  • Posts: 355
    • View Profile
Re: Grid Pro Theme (v1.5 released) HD & 4:3 version with system logos
« Reply #33 on: August 19, 2017, 04:50:25 PM »
Sound Great  :)

@jedione

I would like to add sound while click a button. But it is not work. Do you know how to do that? I suspect it is a bug for a AM. 

http://forum.attractmode.org/index.php?topic=1667.msg11831#msg11831

jedione

  • Sr. Member
  • ****
  • Posts: 295
  • punktoe
    • View Profile
Re: Grid Pro Theme (v1.5 released) HD & 4:3 version with system logos
« Reply #34 on: August 19, 2017, 06:33:40 PM »
sorry,,  looks like your on the right track,,,but this is beyond me
help a friend....

kent79

  • Sr. Member
  • ****
  • Posts: 355
    • View Profile
Re: Grid Pro Theme (v1.51 released) HD & 4:3 version with system logos
« Reply #35 on: August 23, 2017, 04:33:52 AM »
update to v1.51 --- fixed minor bug

jalobaba

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Grid Pro Theme (v1.51 released) HD & 4:3 version with system logos
« Reply #36 on: August 25, 2017, 06:39:01 AM »
I'm thinking of making my own layout and came across yours which is pretty close. The main difference would be that once you pick an emulator (e.g. MAME) you then are presented with another grid of the filters, you click on one of those, and then see the games that are in that filter. I use the filters to sort the many games into the standard categories (Run&Jump, Fighter, etc.) and would have an image or just even the name of the category in a 2D grid.

This would make finding a game more of a hierarchical experience which would I think is more intuitive.

kent79

  • Sr. Member
  • ****
  • Posts: 355
    • View Profile
Re: Grid Pro Theme (v1.51 released) HD & 4:3 version with system logos
« Reply #37 on: September 01, 2017, 06:49:51 PM »
I'm thinking of making my own layout and came across yours which is pretty close. The main difference would be that once you pick an emulator (e.g. MAME) you then are presented with another grid of the filters, you click on one of those, and then see the games that are in that filter. I use the filters to sort the many games into the standard categories (Run&Jump, Fighter, etc.) and would have an image or just even the name of the category in a 2D grid.

This would make finding a game more of a hierarchical experience which would I think is more intuitive.

This is still thing how to write a code  :-[

kent79

  • Sr. Member
  • ****
  • Posts: 355
    • View Profile
Re: Grid Pro Theme (v1.51 released) HD & 4:3 version with system logos
« Reply #38 on: September 02, 2017, 05:48:42 AM »
I know sub menu is good for frontend. But I didn't know how to write the code. Finally, I develop a filter sub menu bar to be instead of. This is still WIP. What do you think ?

Demo
« Last Edit: September 05, 2017, 05:16:27 PM by kent79 »

kent79

  • Sr. Member
  • ****
  • Posts: 355
    • View Profile
Re: Grid Pro Theme (v1.51 released) - Filter sub menu bar is WIP
« Reply #39 on: September 05, 2017, 05:17:56 PM »
Happy to say version 1.6 was released , below is filter menu bar setup guide, Enjoy

Demo 1.6
https://youtu.be/tqTNhgoRAJE

- add filter bar
- bugs fix

1. Create Filter - edit attact.cfg

example:

Code: [Select]
display MAME
layout               GridPro
romlist              MAME
in_cycle             yes
in_menu              yes
filter               All
filter               Favourites
rule                 Favourite equals 1
filter               Action
rule                 Category contains Fighter
filter               Shooting
rule                 Category contains Shooter
filter               Racing
rule                 Category contains Driving
filter               Sports
rule                 Category contains Sports
filter               Puzzle
rule                 Category contains Puzzle


2. Edit Filter Bar Part I in layout.nut

example:

It controls a text initial name of filter shown in the bar.

Code: [Select]
local fbt1 = fe.add_text ("ALL", -18, 30, 73, 18);
local fbt2 = fe.add_text ("FAV", 52, 30, 73, 18);
local fbt3 = fe.add_text ("ACT", 122, 30, 73, 18);

3. Edit Filter Bar Part II in layout.nut

You need to update below value to match your system filter name

Code: [Select]
case "All":
...
case "Favourites":
...
case "Action":

4.  Assign button for Previews Button & Next Button on AM option-> Controls

5. Enjoy


« Last Edit: September 05, 2017, 07:33:23 PM by kent79 »

bundangdon

  • Sr. Member
  • ****
  • Posts: 121
    • View Profile
Re: Grid Pro Theme (v1.6 released) - Filter sub menu bar
« Reply #40 on: September 06, 2017, 12:47:53 AM »
Great work once again! Thank you!