Author Topic: Fade in/out without rocketlauncher.  (Read 6355 times)

Rymarllon

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Fade in/out without rocketlauncher.
« on: August 31, 2017, 08:29:11 AM »
Is there any feature in AM to add fade screen without rocketlauncher?

bundangdon

  • Sr. Member
  • ****
  • Posts: 212
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #1 on: August 31, 2017, 08:26:33 PM »
Most likely not, and I have never seen such a feature in other frontends either, thus making rocketlauncher your best (and only?) solution for now :)

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #2 on: September 01, 2017, 04:51:57 PM »
RocketLauncher uses autohotkey. I looked at the source, and its nutty as I would expect with anything hyper related.

I think the idea would be to create a new black window and use that to create the fade. I could create this, but I currently don’t have the time.

Heres a start: https://autohotkey.com/board/topic/66863-fade-any-window-in-on-open-and-fade-out-on-close/

It might be easy to create a plugin to create a fade to black transition in attract mode, but wouldn’t be able to handle fading with emulator. I personally rather have the immediate BAM without a fade.

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #3 on: September 02, 2017, 04:57:52 AM »
RocketLauncher uses autohotkey. I looked at the source, and its nutty as I would expect with anything hyper related.

I think the idea would be to create a new black window and use that to create the fade. I could create this, but I currently don’t have the time.

Heres a start: https://autohotkey.com/board/topic/66863-fade-any-window-in-on-open-and-fade-out-on-close/

It might be easy to create a plugin to create a fade to black transition in attract mode, but wouldn’t be able to handle fading with emulator. I personally rather have the immediate BAM without a fade.

I´m working on something similar setting "transitions".
Maybe you can use your "programming skills" to improve my idea.
Ill try to complete a wip working code on next weeks.

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #4 on: September 02, 2017, 05:34:00 AM »
RocketLauncher uses autohotkey. I looked at the source, and its nutty as I would expect with anything hyper related.

I think the idea would be to create a new black window and use that to create the fade. I could create this, but I currently don’t have the time.

Heres a start: https://autohotkey.com/board/topic/66863-fade-any-window-in-on-open-and-fade-out-on-close/

It might be easy to create a plugin to create a fade to black transition in attract mode, but wouldn’t be able to handle fading with emulator. I personally rather have the immediate BAM without a fade.

I´m working on something similar setting "transitions".
Maybe you can use your "programming skills" to improve my idea.
Ill try to complete a wip working code on next weeks.

We could definitely team up on something like this. You use github? Or send me what you have. Shouldn't be hard.

Edit: I actually have a similar plugin I never released. I could use it as a base and just add a layer with fade animation.

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #5 on: September 02, 2017, 08:45:53 PM »
Well... I created the plugin and it works. It currently only fades ToGame. I am not sure how FromGame would look as the emulator would be an instant quit. Any opinions? I will spruce up a readme and push it to github for testing tomorrow. Bed time... Zzzzzz…

Edit: Cant sleep. Made it fade ToGame and FromGame. Looks ok. Default time is 500 milliseconds, but is adjustable in UserConfig. Too bad I cant control the movie volume from attract mode scripts. That would make the effect better. Here it is: https://github.com/keilmillerjr/fadetogame-plugin

bundangdon

  • Sr. Member
  • ****
  • Posts: 212
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #6 on: September 03, 2017, 07:00:55 AM »
Nicely done! Even if you already use rocketlauncher with fade, this plugin-fade makes it look even smoother :)

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #7 on: September 03, 2017, 08:27:42 AM »
Nicely done! Even if you already use rocketlauncher with fade, this plugin-fade makes it look even smoother :)

Thank you! I just made a commit to adjust ToGame and FromGame fades separately. This is very useful if you have a sound play when you select a game and need the ToGame fade to run longer matching the sound duration.

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #8 on: September 03, 2017, 01:24:56 PM »
Nicely done! Even if you already use rocketlauncher with fade, this plugin-fade makes it look even smoother :)

Thank you! I just made a commit to adjust ToGame and FromGame fades separately. This is very useful if you have a sound play when you select a game and need the ToGame fade to run longer matching the sound duration.

Im working on this.

http://forum.attractmode.org/index.php?topic=1866.0

Maybe we can "mix" our ideas , let me finish mine "module" and i´ll send you the entire code.

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #9 on: September 03, 2017, 03:08:31 PM »
Nicely done! Even if you already use rocketlauncher with fade, this plugin-fade makes it look even smoother :)

Thank you! I just made a commit to adjust ToGame and FromGame fades separately. This is very useful if you have a sound play when you select a game and need the ToGame fade to run longer matching the sound duration.

Im working on this.

http://forum.attractmode.org/index.php?topic=1866.0

Maybe we can "mix" our ideas , let me finish mine "module" and i´ll send you the entire code.

I would be interested in seeing the code to your module. The plugin I scrapped was a loading screen as well. I scrapped it because I could not figure out a way to tell if the emulator has loaded. Then again, emulators load almost instantly on even my rpi2 - negating the need for a loading screen.

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Fade in/out without rocketlauncher.
« Reply #10 on: September 07, 2017, 07:57:19 AM »
Nicely done! Even if you already use rocketlauncher with fade, this plugin-fade makes it look even smoother :)

Thank you! I just made a commit to adjust ToGame and FromGame fades separately. This is very useful if you have a sound play when you select a game and need the ToGame fade to run longer matching the sound duration.

Im working on this.

http://forum.attractmode.org/index.php?topic=1866.0

Maybe we can "mix" our ideas , let me finish mine "module" and i´ll send you the entire code.

I would be interested in seeing the code to your module. The plugin I scrapped was a loading screen as well. I scrapped it because I could not figure out a way to tell if the emulator has loaded. Then again, emulators load almost instantly on even my rpi2 - negating the need for a loading screen.

Posted here  ;)

http://forum.attractmode.org/index.php?topic=1866.0
« Last Edit: September 07, 2017, 07:58:52 AM by qqplayer »