Hello,
does anybody have an updated tutorial for creating a simple plugin?
The "https://www.scirra.com/tutorials/352/plugins-roll-your-own-with-the-javascript-sdk" Tutorial doesn´t work with the current version, because of the .draw function call in the "instanceProto.drawGL = function (glw)"!
As i heard, we should only use the drawGL function, but is there an example? My test was:
ctx.strokeStyle="#FF0000";
ctx.strokeRect(20,20,150,100);[/code:hx0youwk]
in the .draw function -> how do i adapt this to the drawGL?
Thanks in advance