I was having the transparent image problem (HTML5), so I turned off WebGL, which made it work perfectly - but my shaders require WebGL to be on. Any idea if there's a way around turning off WebGL?
GameMaker & Construct 2 plugins to let user pick where to save screenshot(s). · By
Well, I guess you can insert the following into your index.html template before the game's < script > element
<script> (function() { var base = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.getContext = function(mode, attrs) { if (attrs && typeof attrs == "object") attrs.preserveDrawingBuffer = true; return base.apply(this, [].slice.call(arguments)); }; })(); </script>
It's a pretty strange hack but whatever.
Went on and checked what's the deal anyway, subsequently filing a bug: