javascript troubleshooting in canvas using console.log [closed]

console.log don’t log things in the canvas, it will output on explorer’s developer console F12, if you want to debug things in the canvas, you could use the fillText method to output a text with a variable on your canvas.

example:

ctx.fillText(some_variable, screen_x_position, screen_y_position);

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top