Fusion3 Blog - Customization is A/C/E (Patreon)
Content
Custom A/C/E Editor & More
We've mentioned in previous blogs that F3 lets you create your own Actions, Conditions, and Expressions (A/C/Es), but we hadn't shown the UI for that yet because it was still too underdeveloped back then. Not any longer, though, Linky has come hot off the Frame Editor and turned his attention to fleshing out the custom A/C/E settings UI.
Currently we're experimenting with two separate UIs that show the same things in different ways. One is visible in the property pane, and gives a quick overview of all the actions, conditions, and expressions that you've created for the selected object, frame, or app. The other is the settings panel, shown below the event editor for the A/C/E, and is where you'll define all the details like parameter names, types, and descriptions, among other things. For now, we'll be referring to these as the Basic and Full A/C/E editors.
One of the things the Full A/C/E Editor lets you tweak is the Event Display: the human-readable text of an Action or Condition that appears in the Event Sheet. A default display is created automatically, but you can edit it by typing into the text field and dragging parameters around within the textbox (WYSIWYG). You can then toggle a preview mode to see how it'll all look using sample values without having to find the Action or Condition in use.
Parameters can be added quickly in the Basic Editor by choosing a Name and Type. In the Full Editor, you have additional control, such as the ability to define a Description, reorder or delete Parameters, and change their Name or Type at any time.
The object picker dialog from F2.5 makes its return in F3 with new functionality, now including primitive types like integers, mathematical vectors, and more when editing parameters and return types for custom A/C/Es, as well as object properties and frame/global values. Different categories of types are grouped into sections, and there's different view options and a panel for detailed descriptions and help. We took special care to provide enhanced search and keyboard navigation functionality, with some improvements over how it works in F2.5.
The Full A/C/E Editor is divided into collapsible sections, the first of which is the General section. This section provides an overview of basics like Name, Kind (if Action, Condition, or Expression), Return Type for Expressions, Usage Count, and potentially more information in the future. In addition to collapsing each section within, the Full A/C/E editor panel can be collapsed to make more room for the event editor.
To help prevent accidental modifications (e.g. dangerous changes such as deleting a Parameter), changes made in the Full view are first kept as a draft. A caution-striped area appears above the Full Editor with Apply and Revert options, and the Basic Editor also displays a warning if there are unsaved changes.
These UIs aren't final, we're still playing with them and making adjustments to best suit Fusion3's workflow. For example, we're still thinking of how best to communicate Static/Virtual/Abstract and how the UI should be presented to disallow invalid combinations. If you have suggestions for any UI changes, let us know!
Ruler Guidelines
Previously we showed that Rulers were added to the frame editor. Now, we've added a feature to create custom guidelines by clicking on the Ruler, which are helpful for aligning multiple objects in specific areas.
Clicking an empty part of the Ruler adds a Guideline. Clicking on the Ruler where an existing Guideline is will delete it, unless you're dragging it to reposition it. If the Frame Editor viewport is rotated when the Guideline is created, it will have the same rotation as the viewport, which you can adjust later.
Guidelines spawn in with different colors that are customizable at any time. Right clicking a Guideline opens its color panel where you can choose a color of your preference.
Guideline visibility can be quickly toggled via a toolbar button, similar to grid lines and rules. Guidelines will also be available in other editors like the Collision Polygon Editor, for example.
Finally, Rulers are now aware of Viewport rotation and their Markers rotate accordingly. You can also click and drag on empty regions of rulers to scroll, which has a different behavior compared to scrolling with the scrollbar or panning.
Hierarchy Navigator
Previously we discussed Child Objects, a feature whereby every object can have its own inner "frame" of sorts where you can also put more nested objects. The nesting can go arbitrarily deep, so we've created the Hierarchy Navigator, a simple breadcrumb bar that shows you what the Frame Editor is editing currently. It also allows you to easily jump between things, similar to the path bar in Windows' File Explorer app.
Depending on your Reduce Motion setting, a quick Zoom & Blur animation helps convey entering/exiting an Object. The effect is available for use in your own apps as well due to being part of Nucleus.
We've also made some tweaks to how child objects are displayed in the parent scope, giving them a translucent appearance by default. More display modes will be available in Preferences. We're experimenting with how best to differentiate child objects vs parent objects, so if you have suggestions, let us know! We plan to have plenty of options for you to toggle between while editing.
More
Like an iceberg, most of our work is not easily seen. A lot of development effort happens below the surface, where it's too dark and murky even for flash photography. Recent examples include Anders dealing with macOS quirks, Linky polishing up code from the prior blog, and LB fussing with cross compilation functionality (e.g. building Windows executables while running Fusion 3 on Linux). You'll have to use your non-visual imagination, since those aren't really things you can take a picture of, but we are getting it done!