31
Scripting / Adding artwork: Forcing it to fade in? Or out?
« on: June 22, 2017, 03:57:06 AM »
Trying to get the ball rolling on tweaking a theme to better suit the idea of being able to judge a game's worth without having to wait for the video to fade in. Here are the things I need to ask how they might be done:
1. How to cause an artwork element to fade out at a set rate / over a set amount of time.
2. How to cause an artwork element to fade in at a set rate / over a set amount of time.
3. How to delay either of these operations by a set amount.
4. How to detect whether the video (as opposed to only a screenshot) for a given game is available, so that I can base the followup actions on the result of that query.
And, if it wasn't obvious by now, what I'm trying to do is set things up so that the theme loads the screenshot for a given game immediate, waits for a beat, and then fades it out while fading in the video of the game, if it is available.
1. How to cause an artwork element to fade out at a set rate / over a set amount of time.
2. How to cause an artwork element to fade in at a set rate / over a set amount of time.
3. How to delay either of these operations by a set amount.
4. How to detect whether the video (as opposed to only a screenshot) for a given game is available, so that I can base the followup actions on the result of that query.
And, if it wasn't obvious by now, what I'm trying to do is set things up so that the theme loads the screenshot for a given game immediate, waits for a beat, and then fades it out while fading in the video of the game, if it is available.