Skip to main content

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

[Fixed in 1.0.42+] Strange Glitch!

A topic by conceptAlpha created Feb 04, 2021 Views: 450 Replies: 2
Viewing posts 1 to 3
(1 edit)

Hi,

I have GMLive now appear to be running; but on the first few frames the game runs fine and does what I would expect.


 and then all the graphics change!


 and I get lots of errors.

Here is the Output from Game Maker!

live][Thu Feb  4 14:15:23 2021] Initializing...
[live][Thu Feb  4 14:15:23 2021] Indexing assets...
[live][Thu Feb  4 14:15:23 2021] Indexed OK!
layer_get_visible() - could not find specified layer in current room
layer_set_visible() - could not find specified layer in current room
layer_get_visible() - could not find specified layer in current room
layer_set_visible() - could not find specified layer in current room
layer_get_visible() - could not find specified layer in current room
layer_set_visible() - could not find specified layer in current room
Texture #3 2048,1024
[live][Thu Feb  4 14:15:24 2021] Ready!
[live][Thu Feb  4 14:15:24 2021] Reloaded objPlayer:Step_0.
[live][Thu Feb  4 14:15:24 2021] Loading roomGame...
layer_get_visible() - could not find specified layer in current room
layer_set_visible() - could not find specified layer in current room
layer_get_visible() - could not find specified layer in current room
layer_set_visible() - could not find specified layer in current room
layer_get_visible() - could not find specified layer in current room
layer_set_visible() - could not find specified layer in current room
tilemap_get_at_pixel() - couldn't find specified tilemap
tilemap_get_at_pixel() - couldn't find specified tilemap
tilemap_get_at_pixel() - couldn't find specified tilemap
tilemap_get_at_pixel() - couldn't find specified tilemap
tilemap_get_at_pixel() - couldn't find specified tilemap
tilemap_get_at_pixel() - couldn't find specified tilemap
tilemap_get_at_pixel() - couldn't find specified tilemap
tilemap_get_at_pixel() - couldn't find specified tilemap

The last line is then repeated until game is stopped.

Developer

If you are using layer_get_tilemap_id, see this topic.

Developer

Other part of the issue turned out to be that background layer colors are ignored due to json_decode/json_parse incorrectly decoding numbers over 2^31 that are not followed by a . character (ticket 180295), which is fixed in the new release.