View Issue Details

IDProjectCategoryLast Update
0018957AI War 2Graphical BugMar 1, 2017 1:01 pm
ReporterZogheen Assigned ToChris_McElligottPark  
Severitytrivial 
Status resolvedResolutionfixed 
Fixed in Version0.102 
Summary0018957: Issue with zooming - will jump farther than normal.
DescriptionSometimes while zooming instead of the slower progression it will skip. This seems to correlate with how much load the game is under. at only a few squads it is barely noticeable/almost never happens. When I spawned 4300 enemy squads one mouse scroll tick would send me very far in the direction I scrolled.
Not really a major issue right now, it just gets annoying during some battles, and definitely would during larger, later-game battles.
TagsNo tags attached.

Activities

Chris_McElligottPark

Feb 28, 2017 4:24 pm

administrator   ~0045776

Is it an occasional thing, or is it something where under heavy load it constantly is faster? I'm not sure if this is related to one long frame (which I can compensate for), or if it's something that is related to slower frames in general (which means I have coded a bug of a different sort).

Zogheen

Feb 28, 2017 6:21 pm

reporter   ~0045780

I just went and tested it again while constantly scrolling. It's definitely related to load. The worse the load, the more it happens and the farther it scrolls. However, it begins to be noticeable around or just below 150 squads for me. Around 500-700+ squads it became very noticeable and annoying. At 1000 squads, every full scroll sent it rocketing about half the way in (versus about 10% or less normally).

Crap, I just remembered that I set my mouse scroll setting to 7 lines per tick. I'll test again to see if that's changing it.

Just tested it with changed mouse settings, and it didn't change the scroll speed at all. Also in this trial I found that it would happen even at only 60 or so squads on screen, although infrequently.

I can easily repeat it by starting a new game, increasing AIP to about 500-600, and then clicking the spawn AI wave button once a second or so. then I wait, and as more ships are brought in, it begins to happen.

I'm on a laptop:
OS: Windows 8.1
CPU: Intel i7-4710HQ
RAM: 8GB
GPU: NVidia 840M

Chris_McElligottPark

Feb 28, 2017 7:24 pm

administrator   ~0045782

Perfect -- that's just the information I needed, thank you! I should be able to work it out from that, although it's a bit more complex than I thought it might be.

Chris_McElligottPark

Mar 1, 2017 1:01 pm

administrator   ~0045797

Thanks!

* The keybindings for the mouse and keyboard zooms have been split, because they are at incredibly different granularities and need different math applied to them in order to work.
** Settings in the settings files now also allows for the speeds of these to be independently adjusted.

* A lot of the math for the zoom calculations has been redone in general, and is just all around smoother and more configurable.

Issue History

Date Modified Username Field Change
Feb 27, 2017 7:19 pm Zogheen New Issue
Feb 28, 2017 9:07 am keith.lamothe Assigned To => Chris_McElligottPark
Feb 28, 2017 9:07 am keith.lamothe Status new => assigned
Feb 28, 2017 4:24 pm Chris_McElligottPark Note Added: 0045776
Feb 28, 2017 6:21 pm Zogheen Note Added: 0045780
Feb 28, 2017 7:24 pm Chris_McElligottPark Note Added: 0045782
Mar 1, 2017 1:01 pm Chris_McElligottPark Note Added: 0045797
Mar 1, 2017 1:01 pm Chris_McElligottPark Status assigned => resolved
Mar 1, 2017 1:01 pm Chris_McElligottPark Fixed in Version => 0.102
Mar 1, 2017 1:01 pm Chris_McElligottPark Resolution open => fixed