Scrolling not showing my ground

  • Hi all,

    New to all this and hoping for some help.

    Creating a metroidvania style platformer/exploration game and doing some early tests. The problem I'm running into is this:

    I have created a controlled sprite, with behaviours of Platform and ScrollTo. When I had a small level I could always see the bottom of the screen while running a playtest. I've now made my level taller and when I run a playtest the "camera" is slightly higher, I can't see the floor and at the initial position it is cropping my sprite.

    Why is this happening and how do I fix it?

    Also, I apparently can't post URLs so I don't know how to add an image to this post to explain my point.

    Likewise, HELP!

  • Is your screen big enough for the taller level?

    What way have you set the scaling in project properties?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Posting an image would definitely help - use image tags ([.img] and [./img] tags (without the .))

    Generally for platformers I've found that it's best to use a separate invisible sprite as the camera scroll-to object anyway. Otherwise you have that nasty thing of a camera following the character when they jump - an almost universally undesirable effect.

    Set the object to follow the character's X but not Y (maybe with some lerp to smooth out its movements, too), and only update its Y when necessary (like when moving to a new vertical screen or jumping onto a major platform) with markers around the level.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)