Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: screencapture HUD for camera reel #2914

Merged
merged 87 commits into from
Dec 3, 2024
Merged

Conversation

popuz
Copy link
Collaborator

@popuz popuz commented Nov 28, 2024

What does this PR change?

It brings Screencapture HUD with respective buttons and visual effects. Also several polishing things were maid.
It includes:

  • sidebar button for entering camera mode
  • hiding all UI when entering camera mode
  • blocking and resetting raycasts when in camera mode
  • screencapture VFX when capturing screenshot
  • fixed cursor lock/unlock that is similar to normal cursor behaviour

How to test the changes?

  1. Launch the explorer and explore screencapture camera mode
  2. Open it via sidebar button and verify it behaves correctly
  3. Open-close via C button
  4. Exploratory testing of opening/closing via different modes and opening other tabs
  5. Capture screenshot via button and via shortcut - verify VFX and splash going down.
  6. Shortcuts menu open/close

Verify that without proper args it is not presented (sidebar and shortcuts doesn't work)

Note: known issues for further polishing

  • not all shortcuts are blocked when in camera mode
  • audio effects are behaving not always properly
  • vfx overlaps camera reel button at the end

Our Code Review Standards

https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

popuz added 30 commits October 30, 2024 21:10
# Conflicts:
#	Explorer/Assets/DCL/InWorldCamera.meta
…nd-metadata

# Conflicts:
#	Explorer/Assets/AddressableAssetsData/AssetGroups/Essentials.asset
#	Explorer/Assets/DCL/PluginSystem/Global/Global Plugins Settings.asset
#	Explorer/Assets/Scripts/Global/Dynamic/Bootstraper.cs
#	Explorer/Assets/Scripts/Global/Dynamic/DynamicWorldContainer.cs
Copy link
Contributor

@QThund QThund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, most of the comments are clarifications or minor things.

@popuz popuz requested a review from QThund November 29, 2024 18:06
Copy link
Member

@davidejensen davidejensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with some minor comments

Copy link

@DafGreco DafGreco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation added successfully on both platforms! ✅

All commands have been checked on both platforms and issues are going to be collected on a sheet.

@popuz popuz merged commit f08861a into dev Dec 3, 2024
5 checks passed
@popuz popuz deleted the feat/camera-reel/screencapture-hud branch December 3, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants