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

Write API for screen transitions #13

Closed
bitbrain opened this issue Aug 27, 2016 · 1 comment
Closed

Write API for screen transitions #13

bitbrain opened this issue Aug 27, 2016 · 1 comment

Comments

@bitbrain
Copy link
Owner

bitbrain commented Aug 27, 2016

This feature allows transitions between 2 screens.

List of supported transitions

  • FadeTransition fades the alpha value of the current screen to 0 and the alpha value of the new screen to 1 simultaneously.
  • SwipeTransition moves the current screen to [top | left | right | bottom] and the next screen moves to the middle.
  • ColorTransition fades the current screen to a color specified and fades from the color to the next screen.

Notes and considerations

  • the buffer texture of the current screen can be obtained by the rendering pipeline
  • the buffer texture of the next screen could be obtained by the rendering pipeline. However it may not be configured correctly. Additionally the pipeline may depend on assets which are not loaded. Make sure to support screen transitions for lazy-loading of assets later on!
  • if a texture can not be obtained correctly, do not fade at all and show a warning in the log.
@bitbrain bitbrain added this to the Version 1.0.0 (Initial Release) milestone Aug 27, 2016
@bitbrain bitbrain moved this from Backlog to In Progress in Core Feb 12, 2017
@bitbrain bitbrain moved this from In Progress to Backlog in Core May 17, 2017
@bitbrain bitbrain moved this from Backlog to Icebox in Core May 17, 2017
@bitbrain bitbrain modified the milestone: Version 1.0.0 (Initial Release) May 26, 2017
@bitbrain
Copy link
Owner Author

The existing API is sufficient for now.

@bitbrain bitbrain moved this from Icebox to Deployed in Core May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Core
  
Deployed
Development

No branches or pull requests

1 participant