Skip to content

added more screenshot options #4

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

Merged
merged 1 commit into from
Feb 26, 2022
Merged

added more screenshot options #4

merged 1 commit into from
Feb 26, 2022

Conversation

aldernero
Copy link
Owner

added more screenshot options, mainly to enable saving the sketch area when DisableEraseBetweenFrames is used. By default the "s" key will take a screenshot, but saves the image via gg, which has the advantage of only saving pixels that have been drawn, i.e. PNG's with transparent backgrounds. The downside is that it has no memory of previous frames. There are now two addition screenshot options:

  • "q" key: saves sketch area as PNG, all pixels. It makes sense to set "SketchOutlineColor"="" in the config file so that the outline is not saved.
  • "Esc" key: uses ebiten's screenshot feature, that saves the entire window as a PNG with the screenshot_ prefix.

@aldernero aldernero merged commit e012ff4 into main Feb 26, 2022
@aldernero aldernero deleted the feature-no-erase branch February 26, 2022 01:31
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