The JS Runtime Documentation mentions “gdjs.RuntimeGamePixiRenderer” which got a Method setSize to change the size of the current canvas but I simply can’t use the RuntimeGamePixiRenderer somehow.
I tried so far:
var m_canvas = gdjs.RuntimeGamePixiRenderer;
var m_canvas = gdjs.RuntimeGamePixiRenderer();
var m_canvas = gdjs.RuntimeGame; and then on the next line: m_canvas.prototype.setSize();
Here ist the link to the Documentation i mean: Click
I hope someone can help me…