• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

HTML5 javascript native drawing functions on a GML surface

F

FrancisClase

Guest
Is there a way to use the native javascript drawing functions in a GML surface?

I am creating an on-screen drawing game and I would like to be able to use the native javascript functions to draw, since the stroke and performance are perfect ... if I had to implement a drawing algorithm with curves and smooth stroke in GML it would not be as optimal as the native.

I've done it in a "dumb" way: creating a canvas on top of the game and drawing there, but I don't think all browsers interpret it well and I feel it's a clumsy way ... I don't know why GMS doesn't use the native functions of HTML5 drawing.

Any ideas?

 
Top