How do I avoid slow performance

Get help using Construct 2

Post » Sun Mar 26, 2017 2:20 pm

Ive heard some complaints about C2 having some performance issues
Like too slow when running the game, crashing, not working, etc. How do i prevent this from happening?
B
34
S
14
G
3
Posts: 138
Reputation: 4,353

Post » Mon Mar 27, 2017 1:22 am

use tile sheets
don't overuse 'every tick'

is key down vs on key pressed
the computer is constantly checking whether or not the key is down, so that takes a little more effort then on key pressed.
the same goes for similar events checking whether a condition is true or false.

using higher resolution sprites or a lot of animation frames can slow ya down a bit.
gigantic layouts take more effort as well.

particles and webgl effects can slow ya down as well.
https://www.youtube.com/watch?v=LIs0gZVt3CQ

try to space out the demands you place on the computer where possible.

in general just bear in mind, that the more you ask the computer to do the longer it will take.
B
25
S
16
G
26
Posts: 125
Reputation: 16,103

Post » Mon Mar 27, 2017 11:43 am

C2 comes with a profiler - use it! If you group your events, the profiler can tell you (roughly) how much % of CPU usage is being used by which groups. This is invaluable for testing purposes, and with careful use it should ensure you don't run into severe performance issues. That said - a lot of people try to use C2 for projects it wasn't designed for, and that the developers openly admit it doesn't support. It's mostly those people who're responsible for the reports of crashy, buggy, or laggy output.
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 245
Reputation: 2,314

Post » Mon Mar 27, 2017 1:26 pm

Is there anything else i need to know?
B
34
S
14
G
3
Posts: 138
Reputation: 4,353


Return to How do I....?

Who is online

Users browsing this forum: vino7733 and 30 guests