Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

GMEdit

A high-end code editor for all things GameMaker · By YellowAfterlife

draw_rectangle/triangle_colour() problems with GMLive.js

A topic by Karlstens created Apr 09, 2021 Views: 223 Replies: 1
Viewing posts 1 to 2

Hello,

I've just noticed that draw_rectangle_colour() isn't drawing with all four colours, and only the first colour seems to be used for the entire draw command. 

In testing other commands such as draw_triangle_colour(), it doesn't seem to execute at all and crashes the app. Although draw_triangle() works without error. 

I think one of the main advantages of using GMLive.js is that it allows the user to quickly scratch together some boundary and colours for their projects, so I think to have colour commands working should be listed as important. 

Only tested on one system, not sure if others can duplicate this issue. 

Developer(+1)

GMLive.js uses GameMaker’s HTML5 runtime functions directly, meaning that these did not function as intended in GameMaker runtime itself as of ~1.4.1804 (“GMS1”) / 2.2.5 (“GMS2”) accordingly. You can try fiddling with version (try GMS2) / mode (try GL) settings, but if that is of no help - that’s it. Manually trying to fix bugs in obfuscated GameMaker runtime code is way too time-consuming.