Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: Bgoulette on August 13, 2015, 09:56:45 PM
-
Hey all,
I'm curious to learn if there's a way to filter based on, say, games released before or after a certain year. Basic greater than/less than comparators. But I'm not sure how (if?) they might be implemented in the filters. I have other filters working, but not sure what to do for this (assuming it's even possible)! If there is a way to do this, I'd also use it in games that can be either 1 or more (e.g., 1, 2, 3, 4) players, etc. Anyway, thanks!
-
Yes you can. You can filter within a filter. Say Figthing games...but only street fighter.
Or say shooters but only the one made in '83 '87.
For the second example :
You filter by category .. equals Shooter / Flying Vertical
then within the same category rule you add a second rule:
filter by year equals 1983
then still in the first filter rule set filter again
year equals 1987
-
Thanks for the response. I was afraid it might be something like that :( I was hoping there was a one-line (rule) approach, but assuming we're doing regex under the hood, it makes sense that math operators wouldn't work. All right, thanks again!
-
It's really not that bad, really. Think of the filters as progressive refinement the it will make more sense. Each filter line can use the OR operator "|".
You can always pre-filter your list before it even gets to AM. See my other post if you're interested in this approach:
http://forum.attractmode.org/index.php?topic=315.msg2256#msg2256 (http://forum.attractmode.org/index.php?topic=315.msg2256#msg2256)
cheers,
-tomek