We continue to improve the editor to make it easier to design large 3D and 2D games.
Context menu of each component (available if you click with right mouse button on a component in the hierarchy panel, on the left) contains now a menu “Change Class…”. This allows to change:
TCastleUserInterfaceclass to another
TCastleUserInterfaceclass (for example change empty group to a color rectangle),
TCastleTransformclass to another (for example change light type between point / spot / directional),
TCastleBehaviorclass to another (for example, change collider between sphere / box / mesh etc. in the upcoming physics work),
- any non-visual class to another (for example, change font class to a family of fonts with different bold / italic etc. versions).
You can now select multiple
TCastleTransforminstances by clicking on them with Ctrl key held down in the design (middle) panel (which shows 3D view in case of 3D viewports).
Multiple selected transformations are also better shown now.
This is great to select e.g. a number of light sources or scenes and change their properties (e.g. intensity or color of the lights).
Note: For now, you cannot transform (move/rotate/scale) a multi-selection using a gizmo. But we have made now a first step to enable this too in the future:)
Use Alt+1, Alt+2 etc. key shortcuts to quickly switch between interact / select / move / rotate / scale tools.
Use Escape key shortcut to reliably focus the design (middle) panel. This is great if you want to use e.g.
F(focus) or 1 / 3 / 7 key shortcuts. In case you stand on an edit box, the Escape key will reliably switch focus to the design.