How could I create a circular bordering around a rotating minimap, so that the map is only seen inside the border, and outside of the border is transparent.

JenniferLing
Thu, 11 Sep 2014 18:31:47 +0000
UI

Right now I have a minimap that I’ve drawn on the HUD with DrawTexture, which displays it as a square given the width-height dimensions. It also rotates, so it looks like spinning square depending on the player’s movements. However, I want to place a circular border around the minimap, so that the minimap and its rotations are contained within that bordering, and the outside of the bordering should be transparent to the gameplay.

7 posts - 1 participant