Welcome Banner


Window Manager Script

Window Manager Script - A top-down 2D RPG map shows a party of four anthropomorphic characters standing on a snowy, icy landmass surrounded by blue water. The characters are in the center, with the party leader, a red-clad character, at the front. Behind them are a blue, a purple, and a white character. The land is dotted with snow-covered trees and patches of ice. A dialogue box at the top left reads, 'You are cold!'

Last edited: 6/17/25 (EU Date: 17/6/25)



This custom module allows you to create and remove windows containing text on any part of the game window.

WARNING: This script isn't recommended for use by developers of other scripts! Please, for the love of anything, make your own windows instead of using my bad script.


Download link: here.


Creating a Window

Use the following script call to create a new window:

TDRP_WindowManager.create_window(:id, "message", x, y)

Parameters:

Example usage:

TDRP_WindowManager.create_window(:greeting, "Howdy!", 0, 0)

Disposing a Window

To remove an existing window, use:

TDRP_WindowManager.dispose_window(:id)

Parameters:

Example usage:

TDRP_WindowManager.dispose_window(:greeting)

Dispose All Windows

Use the following call to remove all created windows:

TDRP_WindowManager.dispose_all

You don't have to give me credit for this script! :D