FPS drops on platformer

0 favourites
  • 1 posts
From the Asset Store
320 high-quality cinematic sound effects for trailers and game scenes.
  • Hi,

    I've been on a project for some months now, it's a 2D platformer. It worked out great when I first started it, but lately, I've been getting FPS drops whenever I walk around. If I stand still I get 60fps, even if I jump, but if I try walking, the FPS drops to 30.

    I tried to pinpoint the problem by deleting most part of the code, layers, everything that could be slowing the game down, and it kinda worked, but still the FPS drops to around 50 whenever I'm walking. Also, my character kinda "shakes" if she's walking. Here's a gif:

    <img src="http://i.imgur.com/yc955bz.gif" border="0" />

    Does this happen to anyone else? Any hints as to what to do? I'd share my .capx but C2 crashed before I could save it and I spent a good ammount of time deleting pretty much everything..

    One more thing, I'm scaling the game to twice it's size. Is this not advisable? Wouldn't it be the same as to making every sprite twice as bigger? Or would it be less process-intensive?

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)