Improved the widget performance.
- The platter is now texture based. (no performance impact, but it's smoother)
- Now doesn't loop through all visible units every single frame.
It does it less often, at the moment it is configured to do it once every X gamesframes dependent on FPS, or more often when camera position has changed.
Must notice that performance at start is way more than endgame. (3.5x and endgame just 1.33x, but tested as spec...which renders more enemyspotters anyway)
EnemySpotter widget
Moderator: Moderators
EnemySpotter widget
- Attachments
-
- enemyspotter.zip
- 18 february 2015
- (7.31 KiB) Downloaded 8 times
Last edited by Floris on 19 Feb 2015, 08:23, edited 1 time in total.
Re: EnemySpotter widget
Doesent work- in as does not draw teamplatter
Re: EnemySpotter widget
? worksforme
Re: EnemySpotter widget
- further improved performance while (constant) camera changes with up to 1.5 - 2.5x
(picasso comment has probably something to do with: viewtopic.php?f=23&t=32956&start=20#p565897)
(picasso comment has probably something to do with: viewtopic.php?f=23&t=32956&start=20#p565897)