dMZX Forums: Keyboard and editor improvements - dMZX Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Keyboard and editor improvements

#1 User is offline   zzo38 

  • Registered members
  • PipPipPip
  • Group: Members
  • Posts: 446
  • Joined: 16-May 08
  • Gender:Not Telling

Posted 04 July 2015 - 07:09 AM

My own fork (which is very old) makes a lot of improvements to the keyboard controls of the editor and of some other dialog boxes. (There are other runtime features too such as custom kind of pieces, but that is not relevant here, and these runtime features are somewhat buggy anyways and are also not enabled by default.) I post them here because even without the runtime feature these are kind of discussable ideas of mainly editor features.

Here is a list:
  • ALT+D toggles the "default color" flag, by default it is on (for compatibility) and affects placing some pieces from the menu.
  • CTRL+I allows setting the initial numeric values of INPUT and INPUTSIZE for the current board.
  • In any dialog box (except for the list of robot errors), the function keys can be used to activate the command buttons (usually F1=OK; another example, in the editor you can just push G F6 F6 to open the global robot editor).
  • SHIFT+F12 anywhere saves a screenshot as a 80x25 MZM file.
  • If the help menu on the bottom is hidden, a "floating bar" will display instead (except during SHIFT+F1/etc reveal or if debug menu is shown), which automatically moves to bottom/top, takes up just one row, and displays several things: the object in the buffer, the current tile (both under and normal layer), which directions lead to other boards, whether music is enabled (or listening mode or "*"), and a few other things.
  • After a block is selected by ALT+B, instead of pushing ENTER and selecting from a menu, you can use various letter keys as shortcuts (including a few new functions not otherwise available).
  • All three mouse buttons do various things depending on context (true mouse chording).
  • In various screens you can set a minimum of 0 instead of 1; if the minimum is supposed to be 1 it will automatically change to 1 after the dialog box is closed.
  • In the CHAR ID editor, you can set the value to 255; if it is a kind of object that doesn't normally have parameters, then the editor will ask for a character to display when it is being placed, if the CHAR ID value is set to 255.
  • You can push SHIFT+SPACE to place the object in the under layer (player, robots, scrolls, signs, and sensors can't go on the under layer).
  • In the robot editor, you can use CTRL+Z to delete a line or block, and CTRL+X to copy a line or block to the clipboard.
  • The board list now displays the board number in the corner.


I find most of these features extremely useful.

However, there are many things not done:
  • Various default settings for board and global should probably be configurable in the configuration file, including option to inherit previously loaded board. (I like many of the old defaults in DOS better.)
  • "Find on board" command, including go to X/Y position.
  • "ASCII set" should be called "PC ASCII set".
  • Allow typing wildcards and directory names where the filename goes like in standard Windows file dialog boxes.
  • Configuration setting to force allowing F2 and F4 menus (so that you can change music volume during the game, etc).
  • Fastforward key.
  • Allow changing sampled sound volumes in F2 menu independently of others (including to turn it off entirely).
  • Paranoid file access mode.


(I am also not likely to change my forked version anymore, anyways; nor to use the runtime enhancements in new world files, but I still use it because of the editor features)

This post has been edited by zzo38: 04 July 2015 - 07:19 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users