keeperfx
keeperfx copied to clipboard
Quadruple THINGS_COUNT
From 8192 to 32767.
I assume it's a short?
Why this PR?
Support for big maps 170x170 that are 4 times larger than a standard sized map.
It works:
But I noticed that the game slowdown once I reach 16k+ things, but maybe it's the test map script at cause?
It spawns 240 Demonspawn per second then kill them instantly and each of them spawn 4 bag of gold.
Tested these 32k objects with Walter on my gaming PC with an I9 13900KF.
Whenever a new round of bags spawn it lowers the rate to 5fps, but with 32k objects without new spawning it seems stable at 17fps which is playable.
17 FPS with a high end gaming PC does not seem like such a great idea to me.
17 FPS with a high end gaming PC does not seem like such a great idea to me.
Well i just tested, just loading a map where i got nothing but imps and a dungeon heart. it is about 160 fps. But isnt the game limited to 24 fps anyways?
17 FPS with a high end gaming PC does not seem like such a great idea to me.
Well i just tested, just loading a map where i got nothing but imps and a dungeon heart. it is about 160 fps. But isnt the game limited to 24 fps anyways?
The game was limited to 20 fps (the same as the 20 ticks or turns per second) but now the framerate unlocked.