Optimise gauge classes to pick from an array with a simple equation rather than a bajillion mcreator procedures #2

Closed
opened 2026-05-12 14:26:45 +00:00 by halbear · 0 comments
Owner

there was like 50 procedures just for "if statements" on whether a specific gauge texture should show, i am NOT doing that for something-teen gauges so i WILL be rewriting them to fetch texture based on like

texture = TextureArray[(Value * someModifierToCorrectIncreaseRate) % GaugeTextureLength];

there was like 50 procedures just for "if statements" on whether a specific gauge texture should show, i am NOT doing that for something-teen gauges so i WILL be rewriting them to fetch texture based on like texture = TextureArray[(Value * someModifierToCorrectIncreaseRate) % GaugeTextureLength];
halbear added this to the Dynamic Gauges project 2026-05-12 14:26:45 +00:00
halbear moved this to Optimising in Dynamic Gauges on 2026-05-12 14:27:07 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: halbear/Hals-Exploration-Mod#2