Strange slowdown

Discussion and feedback on Construct 2

Post » Mon Nov 21, 2011 9:19 pm

Hi so I started playing about with Construct 2, I made this scene http://dl.dropbox.com/u/3317708/A%20T%20T%20R%20A%20C%20T/index.html

And it ran super smooth, fast and flawlessly in Chrome.

For some reason now it chuggs at really low performance I have no idea what's causing it.

Any ideas? Did google update chrome recently with something sh*t?

cheers,
Mik
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

Post » Tue Nov 22, 2011 4:37 am

Ran poorly for me, too. Did the project change between when it was smooth versus slow? Also, I'm sure someone will ask for a .capx to verify there isn't something sinister running behind the scenes.
B
20
S
5
G
7
Posts: 151
Reputation: 4,830

Post » Tue Nov 22, 2011 12:31 pm

It looks like you're using Physics - that's the most likely cause of slowdown. From the Physics Basics tutorial:

[quote]Physics simulations are very CPU intensive. It can take a lot of processing to work out the proper motion. To make sure your game runs fast, it's recommended that you don't use too many objects at once.[/quote]
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,498

Post » Wed Nov 23, 2011 1:14 pm

Yeah I would agree with this if it wasn't running perfectly fast and smooth before.

There were no changes in this version, it ran smoothly on multiple different systems running Chrome but seemed to almost overnight switch to being very sliggish.
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

Post » Wed Nov 23, 2011 1:42 pm

@CrudeMik what is the version of construct?Because ive noticed slowdowns in my physics game when i started using version r68, in r67 it rans very smoothly.I'll try r69 and see what happens.cesisco2011-11-23 13:44:19
B
33
S
11
G
9
Posts: 381
Reputation: 10,153

Post » Wed Nov 23, 2011 3:30 pm

If it changed overnight without us doing anything, then I guess it's not something in Construct 2... performance is a tricky issue, there may be something else on your computer slowing it down perhaps... hard to say what.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,498

Post » Wed Nov 23, 2011 8:02 pm

I would put a debug test showing the objectcount variable. Often slowdown can be caused by accidentally spawning a stream of objects.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Jan 13, 2012 9:41 am

It's fine with the latest version of Construct.
B
39
S
12
G
8
Posts: 580
Reputation: 7,108


Return to Construct 2 General

Who is online

Users browsing this forum: glerikud and 9 guests