0 Favourites

Optimising - Too many objects?

  • I've read through the performance tips and other posts on optimising, but I'm not sure about 1 thing.

    My game is running fine at 60fps, but it's jerky on Firefox (I hear this may be a FF issue rather than my game) and runs below 40fps on an older PC (with no graphics card, so perhaps this isn't a surprise). However, I decided to do some optimising and I have one question.

    My game had 1100 objects (I reduced this to 700), but now I need to add more. Most of these are text objects on seperate screens to the arcade screen (the only one which NEEDS to be running at 60fps, the others are static so fps isn't important).

    If I add extra objects which are off-screen and not even referenced by any events from the arcade screen, will they have any performance impact on the arcade screen? Is there any internal process in C2 which does checks or anything on objects which are basically inactive?

    I should point out that there's no way my game will run on mobiles, so the issue of memory probably isn't important.

  • Off-screen objects that are not referenced by events will have negligable performance impact. If you want to check yourself, try removing them and seeing if you can measure a difference in the framerate.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • I did remove 400 text objects and saw no change, so I thought as much. Thanks Ashley.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
167 14,518
DMT2005's avatar
DMT2005
Unread hot topic
123 14,877
Zebbi's avatar
Zebbi
Unread hot topic Locked topic
78 38,335
Ashley's avatar
Ashley Construct Team Founder