1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-17 04:01:51 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
PFedak
6f56d77535
Aggregate map chunks in overlay. (#1247)
Overlay rendering performance seemed bottlenecked by drawImage calls. To
reduce both the number of calls and the number of different source
buffers, cache overlay buffers for squares of chunks. This adds a very
small extra cost for updates (one additional drawImage) and some cost
for drawing chunks outside of view, but this is more than made up for by
the savings.

By default, the aggregate are 4x4 squares of chunks.
2021-08-25 13:04:52 +02:00
tobspr
1ec8b4fe28 Only render shapes in map overview 2020-09-22 11:21:18 +02:00
tobspr
0274597a1c Fix tslint 2020-09-22 10:31:47 +02:00
tobspr
4636080dd7 Huge performance improvements 2020-09-21 18:09:27 +02:00
tobspr
1cd52f6dbd Fix tslint 2020-09-19 17:56:40 +02:00
tobspr
7bc45d8959 Improve buffer backlog performance, should speed up whole game 2020-09-19 09:28:29 +02:00
tobspr
b7efda9bf6 Further performance improvements 2020-08-15 22:44:15 +02:00
tobspr
b2880700e8 Huge rendering performance improvements and minor other changes, lots of refactorings 2020-08-15 22:32:55 +02:00
tobspr
b19b87a6c8 Improve map overlay rendering and raise zoom limit 2020-08-11 13:17:39 +02:00
tobspr
224bc6c7e5 Add ability to import savegames, add game menu, multiple smaller improvements 2020-05-16 17:57:25 +02:00
tobspr
85951615a9 Fix tslint errors 2020-05-14 08:56:18 +02:00
Tobias Springer
93c6ea683d Initial commit 2020-05-09 16:45:23 +02:00