2025-07-21 12:07 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004838Spring engineGeneralpublic2015-06-27 08:07
Reporterraaar 
Assigned TojK 
PrioritynormalSeverityminorReproducibilitysometimes
StatusresolvedResolutionfixed 
Product Version98.0 
Target VersionFixed in Version 
Summary0004838: shields are shaky instead of being drawn precisely centered on fast moving units, sometimes
DescriptionMy game has aircraft and land units with small bubble shields around them

when I move them around sometimes there are bursts of frames where the shield rendering is shaky, like it's having trouble keeping up with the units' position instead of being perfectly centered on every frame

the problem occurs in 96.0 and 98.0+ but it works fine in 94.1
Steps To Reproduceyou can use the old version of metal factions which is still public : 0.7

http://springfiles.com/spring/games/metal-factions

start a game
- disable luarules (to stop gadget errors) on spring 98+
- /give 5 sphere_twilight (shielded heavy fighter aircraft)
- order them to move around and watch them for a minute or two

Additional Informationnote that this is unrelated to other visible aircraft shaking behavior.

that's another issue.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0014702

hokomoko (developer)

I believe this isn't an issue of the shields, but an issue of the unit having
brakerate=9;
maxvelocity=9;

~0014707

raaar (reporter)

don't think so. It also happens on my testbed version where those fighters have 0.09 brakerate.

(btw on that version I have code that divides aircraft's brakerate by 5 if > 0.5 on unitdefs_post)

~0014708

hokomoko (developer)

anyway, I don't see the shields shaking specifically, and I couldn't reproduce with ZK shielded units.

~0014718

raaar (reporter)

This is odd. The problem doesn't show on spring 99.0: there are still occasional bursts of stuttery movement sometimes (without drop in framerate), but the shields now seem perfectly centered with the unit.

I'm using vsync locked at 60 fps btw

Tested again and I confirm the problem did happen on 98.0.1-727-g986777d. It may have been fixed somehow.

~0014719

jK (developer)

was already fixed when you opened the ticket

https://github.com/spring/spring/commit/2ea58560b4dc8330dacba799278c44e47bd022c0
+Notes

-Issue History
Date Modified Username Field Change
2015-06-25 06:34 raaar New Issue
2015-06-25 17:35 hokomoko Note Added: 0014702
2015-06-26 04:02 raaar Note Added: 0014707
2015-06-26 10:27 hokomoko Note Added: 0014708
2015-06-27 07:20 raaar Note Added: 0014718
2015-06-27 08:07 jK Note Added: 0014719
2015-06-27 08:07 jK Status new => resolved
2015-06-27 08:07 jK Resolution open => fixed
2015-06-27 08:07 jK Assigned To => jK
+Issue History