BigMo / KCMods

A collection of my mods for the game Kingdoms and Castles
8 stars 3 forks source link

QoL Improvements #7

Open Phedg1Studios opened 3 years ago

Phedg1Studios commented 3 years ago

Changed command group canvas from screenspace overlay to screenspace camera. Changed command entry time from time to unscaledTime. Changed mod menu scroll rect scroll sensitivity.

Currently the command groups ui will show over the top of all other ui's. This can make it difficult to read and use certain menus, such as the creative menu and the info panel for manor houses that have lots of bonuses. A screenspace overlay canvas will never go behind a screenspace camera canvas, so this had to be changed to resolve the issue.

Hotkey presses were calculated based on the amount of simulated time that had passed. The game changes the simulated timescale based on the speed of the game which meant a double tap was harder to achieve at 3x speed (it gave the user a much smaller window) and a single tap was never resolved when paused. Changing to unscaled time uses the amount of actual time passing without a timescale modifier.

ScrollRect's have a property that controls how fast a scroll on a mouse wheel scrolls. By default it is painstakingly slow, requiring users to click and drag the scroll bar instead. This makes it a much more reasonable speed so mouse wheel scrolling is a feasible alternative.