You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while this snippet works OK in local ctx, in the web you won't see anything displayed on screen:
scr=pyv.surface_create((shared.SCR_WIDTH, shared.SCR_HEIGHT))
# ... do many operations that draw on scr, including pygame.draw.rect(scr, ...)pass# then finally: something likeview=pyv.get_surface()
view.blit(scr, (0, 5))
view.blit(shared.status_label, (0, 0))
Here, the variable scr was used as a manual buffer. This won't work in the current version of the KataGames system
The text was updated successfully, but these errors were encountered:
example of the bug :
while this snippet works OK in local ctx, in the web you won't see anything displayed on screen:
Here, the variable
scr
was used as a manual buffer. This won't work in the current version of the KataGames systemThe text was updated successfully, but these errors were encountered: