Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hi! I recently tried out the engine and fired it up to test it out of the box, no tinkering around in it or anything. When I ran the game, it gave me an error: 

Object: obj_tile_init Event: Draw at line 18 : wrong number of arguments for function buffer_get_surface

The line of code in question is as follows: 

buffer_get_surface(_tile_buffer,_surf,buffer_surface_copy,0,0);

Which argument(s) should I remove or modify to correct the error?

Hey Scribbler, thanks for the bug report!
Seems that in 2.3.1 they updated the function to no longer need to specify the buffer constant used. You can now simply define the function as follows.


buffer_get_surface(_tile_buffer, _surf, 0);

Your fix works! Arigato!