0
How do you create graphics in JavaScript? Can you?
Is it possible to make graphics in JavaScript? And once that happens, how to you make it into a playable character with buttons? How do you even make things move with buttons? I'm so confused, please help. They don't cover JavaScript buttons in the course as far as I know.
3 odpowiedzi
+ 3
JavaScript manipulates HTML, and HTML has buttons.
In HTML, there are many ways to create button-like elements (<button>, <a>, etc.).
Since you have so many questions and it would take quite a large number of characters to fully explain, I would recommend you go through the HTML course and CSS course. You should be able to use the search bar to find answers to most (if not all) of these questions once you are armed with some of the vocabulary.
+ 1
ok
0
Canvas is commonly used for that. If you want more options, I recommend you check out p5.js which is a JavaScript library with lots of functionality. https://p5js.org/