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

Add functionality to allow the scaling of shadows #113

Merged
merged 4 commits into from
Feb 2, 2025
Merged

Conversation

KaliedaRik
Copy link
Owner

This PR addresses the suggested improvement raised in Issue #111 - Entity shadows: should they scale alongside the entity?

We've added a new flag - scaleShadow - to the mixin/entity.js file which will allow developers to switch on this new functionality for entitys. We've updated the demo tests canvas-060 to canvas-068 so we can test the new functionality.

Note the flag is set to default to false - this is to minimise the impact of the update on existing projects

scaleShadow = false

Screen.Recording.2025-02-02.at.12.30.16.mov

scaleShadow = true

Screen.Recording.2025-02-02.at.12.31.00.mov

@KaliedaRik KaliedaRik merged commit 0e349f4 into v8-dev Feb 2, 2025
@KaliedaRik KaliedaRik deleted the scale-shadows branch February 2, 2025 13:00
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.

1 participant