Skip to content

Preview Manager

Zay Arriaga edited this page Jun 4, 2026 · 9 revisions

System Summary

Handles the "preview tile map", which is a transparent tile map in front of the main one that displays a preview of the object currently being placed.


Connected Systems

Connecting Systems:

Bugs

  • None

Feature List / Breakdown of Features

List of features and descriptions within system.

Standard Features:

  • Displays a single transparent tile in front of the mouse, corresponding with the currently selected object being placed.
  • Preview will be red if the object is not placeable (either being out of bounds or a tile being placed on an entity and vice versa.)
  • When moving entities with the cursor, preview is replaced with a fully opaque version of the entity being moved.

Box Brush Mode

  • Preview tiles will cover the entire box area when using the box brush tool.
  • Preview area will freeze after releasing the mouse, and then clear upon the placement/deletion of the tiles.
  • Preview appears red when deleting in a box area.

Future Work / Risks

List and description of upcoming work/risks.

Future Work:

  1. Implement tiles placed in editor carrying over to play mode
  2. Implement saving and loading of maps

Risks:

  • Risk 1

Miscellaneous Notes

A place for miscellaneous notes pertaining to this system.

  • Note 1
    • Subnote 1
  • Note 2

Clone this wiki locally