NoxyMods-Noxys_Math_Engine icon

Noxys Math Engine

A core performance API that optimizes mathematical calculations and UI rebuilds for mods that dynamically swap cards.

Last updated 6 hours ago
Total downloads 174
Total rating 0 
Categories
Dependency string NoxyMods-Noxys_Math_Engine-0.5.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack_ROUNDS-5.4.1900 icon
BepInEx-BepInExPack_ROUNDS

BepInEx pack for ROUNDS. Preconfigured and ready to use.

Preferred version: 5.4.1900

README

Noxy's Math Engine

A foundational performance and optimization library for ROUNDS modding. If you are building complex mods that dynamically add, remove, or modify cards mid-game (such as loadout swappers or copy abilities), this API serves as your mathematical safety net.

✨ Features

  • Stat Calculation Optimizer (WIP): Intercepts the CharacterStatModifiers.Configure method to cache mathematical states. This prevents the game from executing O(N) recalculations and completely eliminates the massive frame-freeze that happens when abilities are swapped mid-air.
  • CardBar Lag Fixer (WIP): Safely intercepts CardBar.AddCard logic to prevent the game's UI from unnecessarily instantiating new visual objects when a card is temporarily added mid-round (e.g., Yuta's Copy ability).

🛠️ How to use (For Players)

  1. Install the mod via Thunderstore Mod Manager.
  2. If another mod (like Noxy's Radial Menu or JJK Cursed Techniques) requires this as a dependency, it will work automatically in the background to ensure your game stays at 60+ FPS during intense battles.

💻 How to use (For Modders)

Currently, the hooks are implemented defensively. In future updates, you will be able to reference NoxyMathEngine.dll and register your dynamic cards to the Engine so that it automatically skips expensive UI rebuilds for temporary cards.

Dependencies

  • BepInEx
  • HarmonyX