Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: liquid8d on February 11, 2017, 11:26:15 AM

Title: Icon class WIP
Post by: liquid8d on February 11, 2017, 11:26:15 AM
I wanted to make it easy to add images based on either game info or tags, so I worked on an "Icon" class.

I currenly have extended classes for ESRBIcon, RegionIcon, GenreIcon and SystemIcon, this is what it looks like so far:
(http://i.imgur.com/cZlPrP6.png)

It's based on either searching game info, tags or list name - a mix right now.. I'll have to decide what's best for each. Code is as simple as this:
Code: [Select]
local esrb = ESRBIcon(20, 60, 90, 127)
local system = SystemIcon(121, 60, 160, 128)
local region = RegionIcon(291, 60, 160, 128)
local genre = GenreIcon(461, 60, 160, 128)

Feel free to provide feedback or suggestions for other "icon" ideas :P

Here's the images I'm working on:
(http://i.imgur.com/ABF7J44.png)

(http://i.imgur.com/yWyqTzz.png)

(http://i.imgur.com/PeTqsei.png)

(http://i.imgur.com/VEABaYw.png)

Title: Re: Icon class WIP
Post by: rand0m on February 11, 2017, 02:02:28 PM
Its looking awesome. Uniform sized/ themed icons will look really well in any setup
Title: Re: Icon class WIP
Post by: l0ck0 on February 13, 2017, 10:16:18 AM
suena interesante, a ver si es facil de usar jeje
Title: Re: Icon class WIP
Post by: verion on February 13, 2017, 01:13:08 PM
I was wondering - maybe it would be better to put that description at the bottom. Than you can make it more unified with rating icon.

like this:
Title: Re: Icon class WIP
Post by: verion on February 13, 2017, 01:45:51 PM
and for WORLD you could use earth globe the same size as on Japan/Brasil.
Title: Re: Icon class WIP
Post by: liquid8d on February 13, 2017, 04:06:14 PM
I could probably generate sets both ways, but anyone can create the 'spritesheet' for the images to look however they want <hint,hint> :) I'll be providing the PSDs for these. Working out a few more kinks on this, it is functional now - but Region and ESRB requires the user to tag.. Region I could probably try to pull from the title, but ESRB isn't scraped AFAIK, so that would likely still have to be tagged.
Title: Re: Icon class WIP
Post by: verion on February 14, 2017, 02:29:31 AM
I could probably generate sets both ways

nah.... like you've said, anyone can generate a set customised to his liking. If you like them sideways - just make 1 set that you like.
Title: Re: Icon class WIP
Post by: jedione on February 15, 2017, 06:54:29 AM
this is a great idea cant wait to use it......thanks