How in the world do I get this style of interface?

I want to achieve a style of game interface where the game scene is in the corner and the borders are open for UI elements.

I don’t know what this style of HUD is called and I’m not sure what to google to get more info.
I keep just finding basic UI stuff.

Any info / help would be awesome!

I don’t thing it’s called anything — it’s just a particular arrangement of UI. There’s nothing special to it. Do the UI tutorials, and you’ll know everything you need to know.

2 Likes

To restrict the camera to render only in the area marked “Scene,” set its Normalized View Port Rect (see the Camera page in the manual).

However, you might find it easier to let the Camera default to rendering to the whole screen, and then draw the UI on top. If you use Unity UI (see Joe’s link to the tutorials), you’ll want to anchor the tall UI to the right edge of the screen and the wide UI to the bottom edge.

2 Likes

While the full scene rendering thing seems easier at first, it quickly can end up becoming offset hell when it comes to things like spell effects and hitscan weapons while also accommodating multiple resolutions/aspect ratios. It’s really worth learning the view port rect stuff first, I feel.

1 Like

Thanks for the feedback guys!

What I ended up doing was adjusting the Viewpoort Rect of my main camera.
I needed my player to be centered in the middle of that portion of the screen and this was by far the easiest way to accomplish that.

Luckily I am going for a 2D game that dosnt involve really anything other than text. no projectiles so I’ll be fine.

1 Like