So a stress test with 200 units. Goal is to have something like 400 at least (total and not for one player). But for now this should be enough.
It would be very much appreciated if you could post some experiences from this. Specially from older machines. I have Intel Core i5-3570K, GeForce GTX 560 Ti TOP, 8GB RAM and running on Windows 7 ultimate.
On this machine using field of view and traffic control on 400 units FPS stays pretty much steady 60. Not so well on 500 or 600.
I get best results on Node-Webkit and Chrome.
UPDATE 2/21/2014
Hopefully some performance improvements
Controls:
Left mouse = select
Right mouse = move units
Arrows and screen edge = move camera
Middle mouse = add walls
For debugging:
F = toggle fog of far.
T = toggle "traffic control" bit more realistic movement
R = toggle animations. This was quite heavy performance hit before but it seems to be reasonable now.
Q = toggle Fullscreen scaling quality
Z = toggle Z order update
WEB TEST https://dl.dropboxusercontent.com/u/104893773/RTS%20test/RTS%20web2/index.html
OR DOWNLOAD EXE https://dl.dropboxusercontent.com/u/104893773/RTS%20test/RTS%20exe%20win32.zip