Skip to content

v0.7.2

Compare
Choose a tag to compare
@ramokz ramokz released this 05 Jun 11:38
· 3 commits to main since this release
ba55607

✨ New Features

Phantom Camera Manager

phantom-camera-manager

A singleton class that can be accessed from all scripts. It allows for accessing all the PCams and PCamHosts in a given scene.

# Returns all PhantomCamera2D nodes in a scene
PhantomCameraManager.phantom_camera_2ds

# Returns all PhantomCamera3D nodes in a scene
PhantomCameraManager.phantom_camera_3ds

# Returns all PhantomCameraHost nodes in a scene
PhantomCameraManager.phantom_camera_hosts

This also marks the foundational work for getting Camera Noise (#126) and Multi PCamHost / Split Screen support (#26) working.

PhantomCamera3DResource Projection Types

image

It's now possible to set the Projection type to Perspective, Orthogonal and Frustum, and their associate properties within the PhantomCamera3DResource resource. Previously limited to just Persepctive.

If tweening between two PCam3D that both use Orthogonal or Frustum, then the Size and Frustum Offset will be tweened when switching.

Near and Far properties have also been added. They, too, will be tweened if the values differ between PCams.

Thanks @Jegber for the proposal (#218).

⬆️ Enhancements

Muted Updater

editor-updater-panel

After some feedback that the current updater being too 'in-your-face' whenever new releases are out, the changes here will now prevent the updater prompt from appearing on start-up.

Instead, it will now change the viewfinder panel button to include an icon with a changed text color. The update button can then, like in previous releases, be accessed from the top-right side of the Viewfinder panel, which will trigger the updater prompt.

Thanks @kelteseth for the feedback (#271).

🛠️ Fix & Improvements

  • Improved the PCam and PCamHost detection for the viewfinder. This was most apparent in scenes where multiple Camera2D or Camera3D nodes present (#307).
  • PCamHosts will now show a warning in the scenetree when it isn't a child of a Camera2D/3D and not spam errors in the Output tab.
  • Added suffix, such as m or °, to the appropriate Camera3DResource properties.
  • Resolved an issue where Tween on Load would trigger even if disabled for Third Person Follow when instantiated via code (#319).
  • Fixed an issue where setting FollowMode to None would not make a PCam movable in the editor (#320).
  • Added support for disable_3d export templates. This should allow 2D games that want to exclude 3D specific nodes to be exported without errors (#311).