• 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!

Drawing with Web Export

S

samyem

Guest
I am trying to use the draw_rectangle method on the "Draw" event of an object. I can see it draw with the Test platform, but when exporting to web, the stuff drawn with draw_rectangle does not appear in the browser. I do not see this as a limitation spelled out in the HTML5 issues page so I assume I must be doing something wrong.. please help!

I've removed the link and it still says my post has been flagged?

Eventually found out that for the web export, it is required to first set draw_set_colour before the drawing is visible. This should have been noted in the documentation as it behaves differently in the test environment.
 
Top