freenode :: #html5

7 Aug 2017
02:43JeZxLeeOpen-source HTML5/WebGL game: http://pacdudehero.com
19:28sedim trying to make an escape the room kind of game, so i need to be able to play animations. i chose to use an html5 canvas to do this
19:29sedright now im using a 2d context and drawimage() with all the frames of the animations set up in an array in js
19:29sedwhat is a better way of doing this
19:37sedthis solution seems to work but it has a small amount of stutter sometimes
19:43sedalso, it seems like the only way to load an image or video into a canvas is to declare an html image or video element and then putting it in a non visible div if you dont want it rendered. is there no better way of doing that?
8 Aug 2017
No messages
   
Last message: 14 days ago