1
\$\begingroup\$

Because of sheer experimentation, I'd like to make a game that contains a tilemap - without using the Canvas API provided for HTML5. Instead, I'd rely on CSS and Javascript (with jQuery).

Is there any chance that I can create it? If yes, how?

I have some ideas, such as placing lots of <img> tags and changing their sources constantly, but there might be better methods out there.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ You can also use Scalable Vector Graphics. \$\endgroup\$
    – Anko
    Commented Dec 17, 2016 at 21:01
  • \$\begingroup\$ @Anko oh my God, this is what SVG stands for? I've never had an idea. \$\endgroup\$ Commented Dec 18, 2016 at 3:12

1 Answer 1

1
\$\begingroup\$

image tags with absolute positioning via css.

better solution is canvas... but that requires canvas :)

even better solution is webgl, but again, that requires canvas.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .