How do I run the game smoothly?

Get help using Construct 2

Post » Sun Apr 19, 2015 8:00 pm

Hi,
I'm developing a mobile game for android. I just finished developing 5 levels out of 40. While testing, I noticed that my game is running slowly. How can I make it run as normal?
B
24
S
7
Posts: 335
Reputation: 2,220

Post » Sun Apr 19, 2015 8:11 pm

It's hard to say what's causing it without seeing the capx.

Try opening it with the build in debug and see if there are unexpected things happening..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat May 02, 2015 1:17 pm

After opening the build in debug I found that my game is having around 50% of CPU usage. I think it's because of collision checks (500(~8/tick)).

I feel like reducing collision checks might help. How do I do it?
B
24
S
7
Posts: 335
Reputation: 2,220

Post » Sat May 02, 2015 1:25 pm

go through your objects (Selecting them in right panel) and disable collisions for each on the left (for those that do not need collision)
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
41
S
14
G
12
Posts: 623
Reputation: 9,359

Post » Sat May 02, 2015 2:04 pm

oh thanks alot. After disabling unnecessary collision, my game CPU usage is reduced to 30%.

Now, could you tell me is there any other way to further reduce the CPU usage?
B
24
S
7
Posts: 335
Reputation: 2,220


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests