creating a control panel in a game

Hi

What would be the best way to achieve creating some sort of UI within a Blender game - not a panel in Blender.
For example, say I wanted a spaceship window onto a world and be able to see a speedometer/compass heading… maybe even some controls operated by a mouse.

I’ve been googling but can’t find any examples or strategies to achieve this.

Thanks in advance.

Kevin