for Ludum Dare 35 I made a game called windowframe, where the game window follows the player around the screen. a few levels in you gain the ability to pin and drag the edges of the window, reshaping the dimensions of the game and creating temporary walls, floors and ceilings to avoid dangers or reach otherwise inaccessible areas. some people have expressed interest in how this was done, and since it’s surprisingly straightforward to do (in GameMaker: Studio, at least) I thought I’d write a short tutorial which covers the basics of this effect.
this is what we’ll end up with: