HTML5 Html 5 object issue

yezac

Member
When testing my game in html5, I have a strange problem that involves 2 objects. Both of these objects are referenced in my game object that runs throughout the game. They are referenced in the create event as:
global.iCamera = instance_create_layer(0,0,layer,oCamera);
global.iUI = instance_create_layer(0,0,layer,oUI);

the first object is to reference the camera and view ports to make the camera follow the player
the second object is for my draw gui which involves Hp, level and save menus

when i run the game with HTML 5 it shoves the draw Gui to the top left way smaller and the camera object seems to stop working any advice?
 
Top