Skip to content

Map Tab

BenGhahramaniUQ edited this page Oct 17, 2024 · 3 revisions

Overview

The MapTabComponent provides players with a detailed, larger-scale map when they press the 'M' key. It displays the player’s current location, nearby landmarks, and divides the map into three distinct sections representing different environments (grass, ocean, and sky). The map adjusts dynamically according to the current window size and maintains its aspect ratio.

Features

Toggle Visibility: Players can toggle the map on and off by pressing the 'M' key.

Dynamic Sizing: The map maintains its aspect ratio and adjusts according to the window size.

Blurred Regions: The ocean and sky sections can be blurred.

Player & Landmark Icons: Displays player and preloaded landmarks on the map.

Legend: The legend provides context for the player and landmark icons, including a north compass.

UML Diagram

image

Clone this wiki locally