Rubbish Ambush
Rubbish Ambush

Reputation: 21

How to setup views in game maker studio?

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
`

Upvotes: 1

Views: 903

Answers (1)

Daedric
Daedric

Reputation: 500

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

Upvotes: 1

Related Questions