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

Refactor NoteBox to use Blitting instead of a DisplayList. #3

Closed
Zageron opened this issue Apr 8, 2020 · 1 comment
Closed

Refactor NoteBox to use Blitting instead of a DisplayList. #3

Zageron opened this issue Apr 8, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request performance Primarily focused on a performance improvement

Comments

@Zageron
Copy link
Member

Zageron commented Apr 8, 2020

Is your feature based on a frustration?
rCubed is a high precision engine with a large number of moving objects on screen. The display list doesn't lend itself to displaying tens of very rapidly moving objects. The issue is exacerbated with the addition of text on screen, some of which overlaps the arrows as they move up screen.

If so, Describe the solution you'd like
Instead of using Sprites and MovieClips, noteskins will be rendered into a cached bitmap and then painted onto a single bitmap image once per frame. That single bitmap will then be painted to the screen. This, at the very least, will allow the majority of the source of the lag to be mitigated. Receptors, accuracy, and borders may follow.

And, Describe alternatives you've considered
Literally nothing. Too laggy.

@Zageron Zageron added the enhancement New feature or request label Apr 8, 2020
@Zageron Zageron self-assigned this Apr 8, 2020
@Zageron Zageron added the performance Primarily focused on a performance improvement label Apr 9, 2020
@Zageron
Copy link
Member Author

Zageron commented Apr 10, 2020

Done!

@Zageron Zageron closed this as completed Apr 10, 2020
@Zageron Zageron reopened this Jun 1, 2020
@Psycast Psycast self-assigned this Jun 20, 2020
@Zageron Zageron closed this as completed Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Primarily focused on a performance improvement
Projects
None yet
Development

No branches or pull requests

2 participants