Sine 45% CPU

Bugs will be moved here once resolved.

Post » Sat May 11, 2013 5:12 pm

Link to .capx file (required!):
http://db.tt/5g6I3iQE

Steps to reproduce:
1. Create a sprite
2.- Add Sine
3.- Put it over other object.
4.- run

Observed result:
45% CPU usage

Expected result:
5% or even less

Browsers affected:
Safari
Opera

Operating system & service pack:
XP SP3
windows 7 32bit

Construct 2 version:
129
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Sat May 11, 2013 6:05 pm

this isn't a construct2 bug. It's the browser's rendering engine and HTML5 support.

Since the last window release of safari (5.1.7) the mac version have been getting improved HTML5 performance.

Opera is using the Presto engine as of Opera 12.15. If you go play other HTML5 games not even made by construct2 you can see how sluggish it is. Opera announced they are switching to webkit which is what chrome is using until they announced to use Blink which Opera is going to as well.
B
40
S
10
G
5
Posts: 102
Reputation: 6,602

Post » Mon May 13, 2013 2:39 pm

Closing: Safari and Opera don't support hardware-accelerated rendering, so the CPU is doing the rendering, hence high CPU usage. Use a better browser with hardware-accelerated rendering like Chrome.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests