0
What is <canvas> used for? And how do I use it when I'm making a game?
Please dont bomb me with codes and scripts. I just need plain-text.
1 Odpowiedź
+ 2
canvas allows you to draw lines and images and basic shapes onto the screen.
It's a pretty simplistic tool. If you want to make games with it you can, but you have to do eeeverything yourself.
I'd say, try to find a tutorial that suits you to understand the basics. Then try to see if you can make simple animations using `window.setInterval` (or even better, `window.requestAnimationFrame`). Then take it from there.