+ 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
2 odpowiedzi
+ 1
Runtime Terror I did try a game loop but the same problem occured