How to setup views in game maker studio?

874 views Asked by At

How do I get rid of these black bars?

I've looked around and people say how to get rid of them but don't show how its done. This is what I have in my character Creation event.

`///Camera

view_wview[1]=611;//set wiew width
view_hview[1]=611;//set view height
view_enabled[1] = true;//enable view
view_visible[1] = true;//make visible
view_hborder[1]=1920;//set horizontal border for object
view_vborder[1]=1080;//set vertical border
view_object[1]=obj_Medic;//set object to follow
`
1

There are 1 answers

3
Daedric On

You could widen your view to fit your screen or set your game to fit the screen in the display options menu as shown: enter image description here

The stretching may cause distortions as you can see from my example, an unfinished project I made a while back (a RoTMG simulator).

Window: enter image description here

Stretched Fullscreen: enter image description here