What is the best way to have an aspect ratio locked gamefield surrounded by UI widgets for Shmup game

Godot Version

4.4.1

Question

I want to make a shmup style game that has a vertical playfield locked in a certain aspect ratio, showing a 3d scene used for gameplay. Ideally, the whole screen would be able to have a UI layer that would be rendered on top of the 3d gameplay with a wallpaper image covering up everything that isn’t gameplay.

I’ve attached an image of the kind of thing I’m after below from the video game Blue Revolver.

Is this possible in Godot?

This is possible, you could use a subviewport or draw your UI over the game.

1 Like