Windows System is a system for managing game windows, HUD (Heads-Up Display), and pop-ups, designed to create an interactive and dynamic user interface in games. It provides flexibility and extensibility, allowing developers to add and customize new interface elements easily.
Main Features
- Game Windows. Various interface elements include menu settings, inventory, and UI elements.
- HUD (Heads-Up Display). This displays constantly information such as health, mana, points, and other essential data.
- Pop-ups. Pop-up windows for notifications, warnings, tips, and other temporary messages.
Extensibility and Registration of New Windows
The system is designed so that developers can easily add new windows. This is achieved through a modular architecture and registration mechanisms. New windows can be added via configuration files or scripts and then automatically registered in the window system for simplified management and interaction.
Window Animation Methods
The system supports various methods for window animation, including:
- Unity Animations. Built-in Unity animations that can be configured in the editor.
- Timelines. A powerful tool for creating complex animations and scenarios.
- Tweening System. A lightweight library for animations that allows the creation of smooth and flexible transitions.
This gives developers the freedom to choose and use the most suitable method for a specific scenario.
Adaptation to Device Orientation
Windows System adapts to various device orientations (vertical and horizontal). The system can dynamically change the position and size of windows in real-time when the device orientation changes, ensuring optimal interface display regardless of screen position.
Use of Addressable Groups:
The module supports the use of addressable groups for managing window resources. This allows:
- Individual functional elements or events can be loaded from the Internet as needed, reducing the size of the initial game build.
- We are updating or adding new interface elements without the need to restart the application or release new game versions.
Out-of-the-Box Solutions
Windows System is easily integrated into projects and provides ready-to-use solutions, including:
- Loading Screens. Smooth transitions and display of game-loading states.
- Basic Info Pop-ups. Standard notifications and messages can be used for various purposes, such as instructions, warnings, and informational messages.
These features allow developers to quickly start using the system and adapt it to their needs, minimizing the time required for initial setup and implementation.