v0.1.3
Added
- Added a new state-driven input binding system in
inputs.luauusingInputContext,InputAction, andInputBindinginstances, replacingContextActionServiceand direct event listeners. - Added
onSlotRenderAPI callback allowing dynamic customization of slot properties (BackgroundColor,BackgroundTransparency,Children,ItemNameText,ItemNameChildren). - Added experimental VR support, automatically adapting inputs, tool hotbar navigation, and screen bounds when a headset is active.
- Added a dedicated
attribution.luaumodule to decouple third-party licensing attribution.
Changed
- Refactored
useBackpack.luauto focus solely on managing backpack and character items, offloading input and event logic toinputs.luauandapp.luau. - Centralized
preferredInput,preferredTransparency, andvrEnabledreactivity insidestates.luauandapp.luauinstead of using separate custom hooks. - Flattened the
src/ui/hooks/backpack/hooks folder by moving all hook files directly intosrc/ui/hooks/. - Renamed the
categorybarcomponent tocategoryTabs. - Refactored
init.luauto load all API requires at the top of the file instead of inline. - Simplified
px.luauinternal scaling logic by removing viewport resize event connections and dynamic scale factor calculations.
Removed
- Removed direct dependency on
ContextActionServicefor handling hotbar key and gamepad inputs. - Removed custom hooks
usePreferredInput.luauandusePreferredTransparency.luauin favor of centralized states. - Removed the
selectSwapstate and its corresponding gamepad input action mapping.