+ 1

Why can't I redraw on my canvas after clearing it in JavaScript?

I loaded sprites into my canvas to make it look better. I've searched up online how to properly load images on canvases and learnt that I must use the .onload method. Are there any other ways I can load images more conveniently? https://code.sololearn.com/WYy1C393QY62/?ref=app

18th Jun 2021, 3:41 PM
Purple Requiem
Purple Requiem - avatar
2 Réponses
+ 1
Runtime Terror I did try a game loop but the same problem occured
19th Jun 2021, 2:36 AM
Purple Requiem
Purple Requiem - avatar