Use cls() instead of rectfill() to try and reduce 'black screen' errors.

This commit is contained in:
Anna Rose Wiggins 2019-12-11 00:38:46 -05:00
parent 53896b0f0e
commit 2ca23a7b4e
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ function _update()
end
function _draw()
rectfill(0, 0, 127, 127, 0)
cls()
-- the screen is 128x128 pixels, so it fits 16x16 sprites
map(camera_pos_x, camera_pos_y, 0, 0, 16, 16)
draw_player()