Anonymous Login
2021-09-29 02:19 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002056OpenClonkEnginepublic2019-04-03 11:54
Assigned To 
Product Version 
Target VersionFixed in Version 
Summary0002056: Causing lots of explosions simultaneously causes lag from screen shaking
DescriptionSee the benchmarks scenarios: When you explode a lot of objects (100 or so) at the same time there is a huge lag, presumably because the ShakeViewPort function creates a huge offset.
TagsNo tags attached.
Attached Files




Marky (developer)

[09:39:24] Launched 1000 Firestone(s)
[09:39:41] ==============================
[09:39:41] Profiler statistics:
[09:39:41] ==============================
[09:39:41] 05779ms Firestone.Hit2
[09:39:41] 05779ms Global.Explode
[09:39:41] 03125ms Global.DoExplosion
[09:39:41] 02944ms Global.FxIntScheduleCallTimer
[09:39:41] 02547ms Global.ExplosionEffect
[09:39:41] 02358ms Global.CreateLight
[09:39:41] 00426ms Global.BlastObjects
[09:39:41] 00107ms Global.DoShockwave

Light creation makes up a lot of the effort, but limiting the shake strength also reduced the distortion. Being able to see a bit of the landscape (instead of seeing black only) is already an improvement.

-Issue History
Date Modified Username Field Change
2019-04-03 10:53 Marky New Issue
2019-04-03 11:54 Marky Note Added: 0006219
+Issue History