Skip to main content

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

GMRoomPack

Package GameMaker rooms and load them as you please · By YellowAfterlife

GM 2.3 Error

A topic by pixelplant_studios created Sep 02, 2022 Views: 219 Replies: 2
Viewing posts 1 to 2
(2 edits)

Hi,

I've tried to get this working with a simple room, but I get the following error on loading (no matter what kind of export I used) 

ds_list_find_value argument 1 incorrect type (undefined) expecting a Number (YYGI32)  at gml_Script_room_pack_raw_add_layer (line 231) -                         var l_td=l_qtd[|l_qti++]; ############################################################################################ gml_Script_room_pack_raw_add_layer (line 231) gml_Script_room_pack_raw_run_impl2 (line 360) -         room_pack_raw_add_layer(l_lrs[|l_lrk]); gml_Script_room_pack_load_map (line 62) -     room_pack_raw_run_impl2(l_map); gml_Object_obj_pp_debug_KeyPress_13 (line 14) - room_pack_load_map(_map, _player.x, _player.y);

The function room_pack_raw_add_layer tries to access the map property  TileSerialiseData, which does not exist (e.g. the exported json does not feature a property of that name in the tiles-data)

Any idea what's going on here?

Developer

If you are using GMS2 beta, it had recently removed TileSerialiseData from tilemaps in favor of some compressed one - I haven’t researched it yet.

On point. I am using GMS2 beta.