Friday, August 5, 2016

html5 - What are good JS libraries for game dev?



If I decide to write a simple game both text and graphical (2d) what libraries would I use? (Assume we are using a HTML5 compatible browser)


The main things I can think of




  • Rendering text on screen

  • Animating sprites (using images/css)

  • Input (capturing the arrow keys and getting relative mouse positions)

  • Perhaps some preloading resource or dynamically loading resources and choosing order

  • Sound (but I am unsure how important this will be to me at first). Perhaps with mixing and chaining sounds or looping forever until stop.

  • Networking (low priority) to connect a user to another or to continuously GET data without multiple request (I know this exist but I don't know how easy it is to setup or use. But this isn't important to me. Its for the question).




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...