gbajs2 is a Game Boy Advance emulator written in Javascript from scratch using HTML5 technologies like Canvas and Web Audio. It is freely licensed and works in any modern browser without plugins.
That is, when I change the size of the canvas, the scale of the rendered image is not scaled proportionately. If I scale it to 0.5, only 1/4 of the half-size canvas is covered (the rest being a ghost of the last full-size frame). This gets in the way of adding a fullscreen button (since the image renders way off the screen).
That is, when I change the size of the canvas, the scale of the rendered image is not scaled proportionately. If I scale it to 0.5, only 1/4 of the half-size canvas is covered (the rest being a ghost of the last full-size frame). This gets in the way of adding a fullscreen button (since the image renders way off the screen).