Not clearing the screen at each frame #193
-
I want to implement a pattern of updating only when/where it needs to be updated on the screen and save some computation, but it seems Wasm4 clears the screen at the start of each frame so the whole screen needs to be redrawn. |
Beta Was this translation helpful? Give feedback.
Answered by
DenialAdams
Dec 12, 2021
Replies: 1 comment 2 replies
-
There is a system flag to change this behavior, see SYSTEM_PRESERVE_FRAMEBUFFER |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jaese
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a system flag to change this behavior, see SYSTEM_PRESERVE_FRAMEBUFFER
https://wasm4.org/docs/reference/memory