Saturday, May 12, 2018

FMod - Work on multiple clipboards

Today I implemented a good chunk of the multiple clipboard functionality. There is now a clipboards palette that can be called with Ctrl+Alt+Up to store or Ctrl+Alt+Down to retrieve. Clicking the spaces under each header indeed stores or retrieves the clipboard in that slot. The next order of business is to actually draw the copied blocks in the palette.

I also wrote some functions to serialize and deserialize chunks of tiles to/from text for purposes of stashing the copied blocks in the project file. This is mostly done but not quite hooked up yet.

As a really quick minor feature, the period key now selects the zero tile in all active planes. This is especially helpful for the foreground because if Assimilate Infoplane is off, the zero tile doesn't actually appear in the tileset. It's not hard to select the zero tile from a blank spot in the level, but if there are tons of foreground tiles everywhere for some reason, it'd be nice to have a guaranteed quick way of getting the zero tile.

No comments:

Post a Comment