Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMEdit

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

Bug - Constructors

A topic by Karlstens created Jan 24, 2021 Views: 169 Replies: 2
Viewing posts 1 to 3

Hello YellowAfterlife and crew, 

I think I found a bug, where the creation of a simple constructor fails, prior to applying it to an array variable.
https://yal.cc/r/gml/?mode=2d&ver=GMS2&tabs_lz=NobwRAdghgtgpmAXGALnAzisAaMBjAewB...

This code works perfectly fine in GameMaker Studio 2.3 (latest version) but fails to execute within GMLive.js

Developer(+1)

GMLive.js is not GMS2.3 - although it has “structs”, these are based on JS objects rather than native GML features and were done years before structs were introduced in GML.

I do not know when I’ll update GMLive.js to be 2.3-compatible since the runtime had seen substantial changes (e.g. all operators use function calls now) and covering everything requires decades of hours of work.

Thanks for getting back so quickly, and completely understand the effort involved. I'll continue to use the GMLive plug-in for the time being as that has always worked well.