Isometric RTS unit performance test

Show us your completed creations made in Construct 2

Post » Wed Feb 19, 2014 12:07 pm

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.

Image

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
Last edited by Katala on Fri Feb 21, 2014 3:14 pm, edited 2 times in total.
B
34
S
9
G
3
Posts: 517
Reputation: 5,246

Post » Wed Feb 19, 2014 12:41 pm

This is so cool! Love the fog of war effect! :D No frame problems here, though I noticed that units will pass through walls if you place them while they're moving.
Last edited by TwinTails on Wed Feb 19, 2014 10:00 pm, edited 1 time in total.
B
25
S
6
G
3
Posts: 197
Reputation: 3,355

Post » Wed Feb 19, 2014 12:50 pm

You can use Tilemap for background
iso tilemaps
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

Post » Wed Feb 19, 2014 12:52 pm

@TwinTails, Thanks! That passing trough walls is because units wont recalculate their path finding when placing them. This is not feature of final game of course and wont be a problem. This would be a thing only when building structures.

@shinkan, I will look into that. Thanks!
B
34
S
9
G
3
Posts: 517
Reputation: 5,246

Post » Wed Feb 19, 2014 10:11 pm

Dell Latitude D510 - 1 fps when fog of war is on, maximum of 10 fps with everything off, 8 fps on average when moving units. You said older hardware yourself... : P
B
10
S
1
Posts: 163
Reputation: 1,436

Post » Wed Feb 19, 2014 10:20 pm

@shinkan, It seems it would be very hard to draw that tilemap from a file.

@Stiivais, Sadly that is out of scope :) Can you run some C2 game on that? Or well I get around 30 FPS on Firefox.
Last edited by Katala on Wed Feb 19, 2014 10:25 pm, edited 1 time in total.
B
34
S
9
G
3
Posts: 517
Reputation: 5,246

Post » Wed Feb 19, 2014 10:23 pm

@Katala yeah, it is a bit complicated... but one object is better then 1000 :)
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

Post » Thu Feb 20, 2014 9:24 am

Firefox results

Image

Image

Image



Chrome

Image

Image

Image

Image



Hardware
core 2 duo T6600 2,2ghz
4 gig ram
64bit windows 8.1
Ati mobility radeon HD4500
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Thu Feb 20, 2014 10:38 am

@lennaert, Thanks a lot! While I hope things will get smoother when Chrome 33 comes. That fog of war effect seems quite taxing at the moment. Also that map tile count could be problem for some machines.

It is not desired that you would need extremely up to date gaming machine to play a game that basically looks like Red alert 2 :) Still of course it is not possible to get that same performance, but at the moment it is not so excellent.
B
34
S
9
G
3
Posts: 517
Reputation: 5,246

Post » Thu Feb 20, 2014 5:03 pm

The fog of war seems seems to be a definate culprit here.

Can you try to make the fog none transparent ? (solid black where there is fog of war)

I believe the transparency might be be pushing it some... not sure though
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 3 guests