How to set proper width and height in GDevelop5?

I am trying to practise with a small game. The below screenshot shows the game, in GDevelop 5.

I cantered the camera on the player(Jerry/Mouse in this case.)

When i open in preview / mobile, it it keeping the jerry at the centre of the screen and showing additional space around the border.

I don’t need the extra space outside walls.

My settings are like below

In a few video tutorials i saw there is an option to set game width and height. But in my case, i just see resolution but not width and height.

Someone please help me to remove additional spaces outside wall and still keeping the camera follow the player.

Add Camera limit take a look here you need to set the limits to the size, starting at 0,0 and x,x where x is your desire limits X and Y

1 Like