Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

[Fixed] A few bug reports

A topic by kgm created May 31, 2018 Views: 504 Replies: 1
Viewing posts 1 to 2
(1 edit)

Hello! I just bought the extension today and after some testing I noticed some strange behaviors:

- I got "Expected a statement, got ident" error when I try to pass a hexadecimal to a variable (example: var a = 0x5;). It works fine if I use "$" instead of "0x".

- The output window filled with "Couldn't find instance `<a number>`" if I tried to access deactivated instances.

- If a script return without value, it got "Expected a value, got semico" error.

Developer

1. I thought I had fixed that one, will take a look.
2. This is as per doc, GMLive uses `with (inst) variable_instance_...` kind of code to mimic built-in behaviour and work at remotely acceptable speeds, although I guess having a slower solution as fallback is better than having an error...
3. Wasn't aware that you could write `return;` instead of `exit` - apparently a GMS2 change, but I can't find any release notes on this. I'll fix that.