stigmund77
Member
After using the game_save() and game_load() functions tile data stops returning the correct data. for example
if tilemap_get(map_id, mx, my); would return 1 before using the loading function after it would return 524287. I've reported this bug but i'm interested if others have experienced this problem?
Edit: after some more testing it doesnt seem to matter what tile is fed into the tile function above the returned value will always be set as 524287 after using the game_load() function.
Edit: after more testing it seems the function layer_get_id("layer_tile_foliage") now returns -1 after using the game_load function, it is this that faults everything down the line. There doesn't seem to be any way to ID layers after loading a game.
Last Edit: Quick Fix for anyone having trouble with this, simply use the function
layer_set_target_room(room) to return outputs off all layer_tile functions to normal.
Cheers!
if tilemap_get(map_id, mx, my); would return 1 before using the loading function after it would return 524287. I've reported this bug but i'm interested if others have experienced this problem?
Edit: after some more testing it doesnt seem to matter what tile is fed into the tile function above the returned value will always be set as 524287 after using the game_load() function.
Edit: after more testing it seems the function layer_get_id("layer_tile_foliage") now returns -1 after using the game_load function, it is this that faults everything down the line. There doesn't seem to be any way to ID layers after loading a game.
Last Edit: Quick Fix for anyone having trouble with this, simply use the function
layer_set_target_room(room) to return outputs off all layer_tile functions to normal.
Cheers!
Last edited: