Skip to main content

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

I bought this and it wont let me run it due to an error with the camera object.


ERROR in

action number 1

of Create Event

for object oCamera:

Invalid surface dimensions

 at gml_Object_oCamera_Create_0 (line 7) - surface_resize(application_surface,global.gamewidth*global.zoom,global.gameheight*global.zoom);

############################################################################################

gml_Object_oCamera_Create_0 (line 7)

sorry to hear about your issue! in the first line of the camera object there should be a line:

global.gamewidth = display_get_width()/5;

global.gameheight = display_get_height()/5;

change the values at the end and it should work :)