Performance Improvements
Performance improvements are my next big goal. For the past couple of weeks I've been working on rendering performance, which is wrapping up today.
A screenshot of a world in 2.5.2.2. This is fully zoomed out, centered around the town of Naash.
The same view, with the latest performance work. A couple things have changed, the Line of Sight shading is gone, and the borders are drawn differently. Most notably, render time is down from 12 ms to just 5ms.
And there's a new level of rendering, allowing you to zoom out much further. (I'm not quite happy with the art assets yet). The town of Naash is the small cluster in the upper-right.
What's Next
My next performance target is the world simulation. Rendering was the easiest thing to address performance wise, but world simulation tends to be the culprit behind most of the slowdowns players have been seeing. The chief cause is the javascript script API. Javascript can't be multithreaded, and the script engine that BronzeAge uses is annoyingly slow. To solve both of those issues I'll be defining a new C# API for script logic.
For now the C# API will be only used internally, but after release I plan on making it available for mods. Mod support will include sandboxing to keep you all safe from any malicious actors, and an example mod project to help mod authors get started with their own C# mods. The javascript API will remain for now, but it will be removed eventually.
Get Bronze Age
Bronze Age
A City Builder / RTS
Status | Canceled |
Author | Commodore Shawn |
Genre | Strategy |
Tags | 2D, City Builder, Real time strategy, Sandbox |
Languages | English |
More posts
- Post Mortem and What's NextJul 30, 2021
- Stuck in a RutJun 28, 2021
- 3.2.0 Release: Tactical Combat (part 1)May 08, 2021
- 3.1.4.2 and 3.2 UpdateFeb 05, 2021
- Plans - Near Term and Long TermJan 04, 2021
- 3.1.2 Release - Royal CourtDec 17, 2020
- 3.1.1 Release : Shontu and Ghul ReworkSep 25, 2020
- 3.1.1 Preview : Legitmacy and ProvincesAug 24, 2020
- 3.1.0 Release: CultsAug 06, 2020
- 3.1 Update PreviewMar 28, 2020
Comments
Log in with itch.io to leave a comment.
Finally! Cooool step!
I'm so happy for this
Sounds great Shawn, I can't wait to build larger empires. Keep up the good work!