Camera View in the Center

Discussion in 'How Can I...?' started by trygiimusic, Oct 15, 2015.

  1. trygii

    trygii Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    307
    Likes Received:
    72
    Hey all,

    How can I make the camera view in the center? Like in Super Mario Bros, where you see Mario starting at the left, and once he walks to the right he sticks in the middle of the screen, even if he goes back to left.
    [​IMG]

    I also want to make it possible to let the player go up and down, while the player character is still in the middle of the screen. How can I create levels where I can drag this yellow thing down and up?

    [​IMG]

    What ''Gameplay Preset'' and ''Game Frame Settings'' do I need to use?

    To make it more clear, what @Kevin W has achieved:


    Thank you :D
     
  2. Phill Mason

    Phill Mason Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    880
    Likes Received:
    721
    Go to Settings > Gameplay > Game Frame Settings and adjust the borders until it tracks the screen how you want it too. This is essentially the camera tracking part of BB. If you want the camera to track in the middle, make a small square with the borders in the middle of this area. See screenshot.

    Screen Shot 2015-10-15 at 20.16.16.png
     
    Jamie likes this.
  3. trygii

    trygii Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    307
    Likes Received:
    72
    @Phill Mason It worked, but now I have an another problem. If the player continuously jumps, then the screen goes down little by little.
    And when the player dies, the player character falls below forever. How can I fix these 2 problems?

    When you look at Phases, the camera view looks perfect. How can I achieve this?
     
    Jayant Mall likes this.
  4. Sean Buildbox

    Sean Buildbox Serious Boxer

    Joined:
    Sep 24, 2015
    Messages:
    902
    Likes Received:
    1,076
    @trygiimusic The frame in Phases looks like this, but keep in mind there was no following up or down in Phases. The screen won't follow a character up and down in this set up
    [​IMG]
     
    Jamie and Phill Mason like this.
  5. trygii

    trygii Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    307
    Likes Received:
    72
    @seanjonathanconnor I see, thanks. I'll try to play around and see what happens.

    Thanks for the answers guys :)
     
  6. a5l

    a5l Boxer

    Joined:
    May 19, 2016
    Messages:
    20
    Likes Received:
    3
    How to do this in BB2?
     
  7. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,192
    Likes Received:
    540
  8. Miroslav

    Miroslav Boxer

    Joined:
    Jun 20, 2018
    Messages:
    20
    Likes Received:
    3
    How to make camera behave like in hollow knight for example, so you can go forward and backward?
     
  9. DariusGuerrero

    DariusGuerrero Avid Boxer

    Joined:
    Dec 22, 2016
    Messages:
    474
    Likes Received:
    399
    Play around with the game frame settings and camera smooth settings to achieve your desired effect.
     
  10. Jayant Mall

    Jayant Mall Boxer

    Joined:
    Nov 5, 2018
    Messages:
    32
    Likes Received:
    2
    Last edited: Nov 16, 2018

Share This Page