Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Issues with ds_lists/buffers

A topic by seiglinde created Jul 30, 2023 Views: 79 Replies: 1
Viewing posts 1 to 2
(1 edit)

Hey!

I've got the shader up and running (using palette sprites only, and Windows as the only platform), but something within the initialise script is causing an issue with another game object that makes use of buffer_load, buffer_read and then json_decode to arrive as a ds_list that I use to load player save files.

I know its likely impossible to troubleshoot without seeing the project, but would appreciate any pointers or immediate thoughts into what to look into! So far I've only tracked it down to the initialise script itself (if I don't call it, the loading functionality works)

Update: commenting out the below variables seems to have done the trick - old functionality is restored, and the palette swapping is working nicely. Please let me know if there's likely to be issues that I've not spotted yet!

//_swapper.layer_priority = ds_priority_create();

//_swapper.layer_temp_priority = ds_priority_create();

//_swapper.layer_map = ds_map_create();

Developer

Yeah, as long as you aren't planning on using the layer swap feature, that should be fine.