I need to create a simple game for the browser, and all the graphics are ready. I'm wondering if I should create with canvas or can I do it with javascript manipulating regular divs. I mean I don't need to draw anything on the canvas how does the canvas help me?
If you are new to Javascript and HTML5: Don't use Canvas. Don't use divs. Use some existing Javascript gaming library:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.