Loading animations before the fade-in?
Hey, now that my INI issue was figured out, I was wondering if it's possible to load the animations before the fade, as make the fade seem more natural. Is this possible or is it just a downside of using the fade function?
I was thinking it may be possible with global objects and actually loading the animation value on the previous frame, but with my limited understanding of global-anything I could just be wrong.
Re: Loading animations before the fade-in?
Is there anyway to fake a transition? It's a simple fade transition, so it can't be that hard.
Re: Loading animations before the fade-in?
You can perform a fade in-like transition by using a black rectangular active object that covers the whole screen and gradually increasing its semitransparency (under Visibility in the event editor) - it doesn't slow the game down nearly as much as you might think, provided your resolution is reasonably low.
Re: Loading animations before the fade-in?
I tried adding a black active and destroying it at the start of the level with its fade out as a fade, but it doesn't produce the same effect at all.
Oh well, I'll figure something out.
Re: Loading animations before the fade-in?
1. Any actions which happen in a "Start of Frame" event will occur before the frame fade-in.
2. If you refer to any extensions (e.g. the INI object) in your "Start of Frame" event then you must go to its properties and enable "Create before Frame fade-in transition" in the "RunTime Options" tab.
Re: Loading animations before the fade-in?
Hey Joshtek, thanks for the response, but I just don't see it working. Without giving up the source, here's what I'm currently doing:
INI enabled to be created before fade-in transition (it crashed me otherwise)
Load animation value from INI
Fade in from background to game.
When I run it, the full fade (which is about half a second) runs before the animation changing, making the animation look 'forced' (because it jumps to it after the .5 seconds) rather than smooth and transitional.
Perhaps there is an option somewhere to rectify this that I'm missing?
edit: http://download.yousendit.com/D255B56B5497895A here's an example.
2 Attachment(s)
Re: Loading animations before the fade-in?
Okay, made an example. I'm on Build 247.
Quote:
edit: http://download.yousendit.com/D255B56B5497895A here's an example.
Your example seems to work fine for me. What build are you on? I know some bug was fixed relating to the Start of Frame event back in Build #244 last year.
If you are using an old build of MMF2 then download an update (link on the sidebar to the right). If you are using the demo then it was updated to 247 back in December last year.