Flood Gate Slider sliding with mouse button off
I believe it's something to do with the amount of button inputs the game allows at once, but sometimes when you click/drag the floodgate slider, it will stay sliding past lifting the mouse button. This means that I have (on multiple occaisions) accidentally flooded my districts when the slider went to something I did not intend
Comments: 6
-
22 Sep, '21
DojandoYepp, happened to me as well! I am not sure what the cause of the problem is though. Sometimes it feels tike the slider is stuck to the mouse after dragging it instead of clicking to the desired Hight directly.
-
23 Sep, '21
J BetteraijI encountered the same behavior. Daniel, were you playing the game in windowed mode, or on a multi-monitor set up? If so then this is likely the same bug.
Reproduction steps
- Using multiple monitors (with the application full screen on the left monitor) or windowed mode, press the slider with LMB, then move the cursor to the right until it leaves the application window, then release LMB. The slider continues to behave as though LMB is still held down, until the player once again presses and releases LMB inside of the application window. At this point the slider is released and the flood gate height is adjusted.
Notes on possible issue
This behavior suggest to me that the slider is listening to an event such as 'onMouseUp' but that it does not receive this event when the cursor is outside of the application window. I can't confirm this is the cause though, since when I attempted to replicate this behavior in unity I failed to get this to not work using the default unity slider. -
18 Oct, '21
ZeirlynnAlso seeing this, basically exactly what J Betteraij said. I have two monitors. Seems when i'm in a hurry to close flood gates, moving quickly, they often end up opening all the way to 0 instead of closing all the way. Maybe this will be fixed when borderless windowed option is added? Or please fix it somehow. Maybe buttons at the intervals, instead of a slider.
-
04 Dec, '21
LeeAlso happening here, Single monitor macbook pro in full screen.
-
06 Dec, '21
ZaggoThis happened to me multiple times as well. Almost died in a 9 day drought because I accidentally emptied my water reservation without noticing it. 70 / 100 beavers died during and after the last day of drought. I do have multiple monitors, but I can't recall my mouse going to the other monitor.
In my very basic knowledge of game engines: Isn't it checking the mouse button's state in the previous update() and then in the current update()? Don't see how moving out of the application window should interfere with this, unless it's bound to an actual mouse event which didn't fire. But that would mean it's not following common game engine logic, right? -
03 Jan, '22
shingbiAlso happened to me on a MacBook with no connected monitor.