paperlined.org
games > pc > Spelunky > wiki
document updated 15 years ago, on Jan 26, 2009
        > the 'step' event fires after each frame is rendered       http://gamemaker.wikicomplete.info/event:step
        X so, is it possible to pause the game in response to that?
                > yes, keyboard_wait();
        - is it possible to create an event from a script?
                > ...   maybe...  no?
        > BUT!  It IS possible to 1) set step-rate to 1-step-per-second, and THEN:
            - give focus to the debug window
            - give focus QUICKLY to the game window, and then BACK to the debug window
            - you can see that the focus changes there, and back, but it's lagged, and when you see
              the focus actually visually return to the debug window, you can use that to confirm
              that one step has been taken.
                    > And THAT is easily automatable with AHK!

    http://www.sheeptech.com/convert-screencast-to-animated-gif-easily
            That actually works pretty well, as long as you:
                    - install the lossless compression codec
                    - slow down the room speed slightly, because it can't record at full-speed
            Running it through GIFmation optimizes it *pretty* well, HOWEVER, it does *not* remove duplicate frames.
                    http://www.bluegartrls.com/forum/ffxi-media-center/54207-want-animated-gif-requests-gif-guide.html
                    suggests that most duplicate-frame-removers "suck ass".
            Try "remove unnecessary frames" on this?  http://software.visicommedia.com/en/products/gifmoviegear/support/optimisation.html


    Fuck, that doesn't work either.  Okay!  Modify the source code to save a snapshot of EVERY frame
            in the 'step' event.  That should work well?
                    (but only record frames when caps-lock is turned on
    http://gamemaker.wikicomplete.info/gml:screen-save
        "Never attempt to save a screenshot using keyboard_check() as the trigger. If you do, Game Maker will attempt to create a screenshot every step."
    Just what we want then.

    BUT it only saves in .bmp.  Is there a dll to save in .png or .gif?
        http://gmc.yoyogames.com/?showtopic=128263
        http://gmc.yoyogames.com/?showtopic=206328
        http://gmc.yoyogames.com/lofiversion/index.php/t210380.html
        http://gmc.yoyogames.com/index.php?showtopic=249311&st=20&p=1741459&#entry1741459