TIC-80
TIC-80 copied to clipboard
Saving and running in succession rapidly leaves the save banner visible during play
Just hit ctrl-s
and then ctrl-r
back-to-back quickly.
https://user-images.githubusercontent.com/746946/166694456-e4fd6a68-50f4-4ca3-9296-4f662310ce0b.mov
FWIW im unable to reproduce this running https://github.com/nesbox/TIC-80/commit/2a662a0ad38514210c313b518f7691aab227c06c on Linux
~I believe it happens for me with eb4e331455d8d3c0512f3d57a2d9daa61b96ff4b~
~Will try the latest.~
Ah no -- I misinterpreted. It doesn't happen for me.
I guess the video is showing an artifacted banner that remains on the screen. That doesn't happen for me.
This happens to me with carts in which I don't use cls
in TIC()
like https://tic80.com/play?cart=3430. It does not happen otherwise, which makes sense.
@TimotheeGreg thats a good catch! @massung its been a while since the original issue was opened, but do you think the original example cart could be missing a cls
call?
It was a while and I don't have it for reference any more (sorry).
But, I'm fairly confident that yes - it wasn't calling cls
each frame. However, if that was the case then it was drawing the entire frame such that it shouldn't have been needed.
I've downloaded the 1.0 version and tried replacing cls
in the startup script with rect
over the entire screen and everything works as expected.