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: add new scene transition methods #46

Merged
merged 5 commits into from
Aug 27, 2024
Merged

Conversation

joaoborks
Copy link
Member

@joaoborks joaoborks commented Aug 26, 2024

Adds new scene transition methods as suggested on #45:

  1. TransitionToScenesFromScenes - unloads a group of scenes in the transition
  2. TransitionToScenesFromAll - unloads all loaded scenes in the transition

Progress

  • Feature development
  • Tests
  • Documentation

@joaoborks joaoborks self-assigned this Aug 26, 2024
@joaoborks joaoborks linked an issue Aug 26, 2024 that may be closed by this pull request
@joaoborks joaoborks marked this pull request as draft August 26, 2024 22:13
Copy link

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.07%. Comparing base (cd08e40) to head (e241521).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
+ Coverage   92.63%   93.07%   +0.44%     
==========================================
  Files          22       22              
  Lines         733      780      +47     
==========================================
+ Hits          679      726      +47     
  Misses         54       54              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joaoborks
Copy link
Member Author

@Clozent could you take a look at the PR and check whether it fits the expectations?

@Clozent
Copy link

Clozent commented Aug 27, 2024

I am currently unable to test and confirm for myself, but after taking a glance at the code, I think this is awesome!

The method names are a bit long, but this is just an aesthetic issue for me. I don't think there are better names for these methods anyways, but I wanted to point that out, in any case.

@joaoborks joaoborks marked this pull request as ready for review August 27, 2024 22:01
@joaoborks joaoborks merged commit de9ccb7 into main Aug 27, 2024
4 checks passed
@joaoborks joaoborks deleted the feat/new-transitions branch August 27, 2024 22:08
joaoborks pushed a commit that referenced this pull request Aug 27, 2024
# [3.1.0](3.0.2...3.1.0) (2024-08-27)

### Features

* add new scene transition methods ([#46](#46)) ([de9ccb7](de9ccb7))
@joaoborks
Copy link
Member Author

🎉 This PR is included in version 3.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Aug 27, 2024
* update scene loader interface

* add new transitions to scene loaders

* add transitiontoscenesfromscenes test

* add transitiontoscenesfromall test

* add documentation for new transition methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TransitionToScene (and variants) only unload the current active scene.
2 participants