RepostConvenienceMod v1.1

Drag Logic Optimization

A performance-focused improvement for selecting and dragging groups of items, reducing repeated work and UI refreshes.

NoLabel · uploaded by NicoUpdated Nov 10, 2026178 subscribers14 favorites582 views

Original release page ↗

Please download from the original page.

Loading related entries…

Prerequisites

The current package's manifest.xml lists no required mods.

This mod is a performance-focused improvement for selecting and dragging groups of items in the game, reducing repeated work during large selections, repeated UI-node creation during drag previews, and redundant layout and visual refreshes when placing many items. The author demonstrates with a stress-test scene holding 400 items across 1,700 cells, noting these numbers describe that test scene and do not indicate an FPS result or guarantee the same performance on every system. Optimizations include: a selection candidate cache that reuses the candidate-item list during a single box-selection gesture, filtering candidates first with a bounding rectangle and then confirming with the game's original occupied-cell overlap check; cost-based preview rendering that chooses between pooled outlines and the game's original cell highlights based on occupied-cell count and contour complexity; fewer preview rebuilds that reuse outline geometry while the selected formation stays unchanged; batched placement refreshes that combine some repeated target-layout and visual refresh work while preserving per-item add/remove callbacks and item-state checks, with an in-game option to disable the experimental batch validation and restore the original per-item validation; and low-overhead diagnostics that summarize timing after each drag gesture without per-frame logging or an OnUpdate loop. See the author's workshop page for details.

Comments

0

Loading comments…