everything is black
How'd you do that?
Maybe I used too much clones...
and stuck the ide in a megaton of load sprites
function fillLoop() {
requestAnimationFrame(fillLoop);
const canvas = document.getElementById('world');
const ctx = canvas.getContext('2d');
ctx.fillRect(0, 0, canvas.width, canvas.height);
}
requestAnimationFrame(fillLoop);
Fixed.
I didn't run this code...
I like april fool
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.