Fix Camera Viewport Position?

Discussion in 'How Can I...?' started by blackswan, Oct 9, 2016.

  1. blackswan

    blackswan Avid Boxer

    Joined:
    Nov 14, 2015
    Messages:
    109
    Likes Received:
    45
    I just ran into something I think might be a bug
    Create new game type > Avoidance
    delete all enemies
    set all walls to preset 'Platform' so they are collide-able but the player will not be destroyed.

    When the character reaches the 1st scene move it as far left as possible. The camera will continue panning left even though the character is unable to move any further due to colliding with the left wall. Is there a setting to stop this from happening, something that locks the viewports' x position?
     
  2. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    It must be your game settings. turn on debug mode to see if anything is being followed by the camera. Also check your collisions sizes and shapes etc
     
  3. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    Select the start scene and then turn on the game field frame with the square looking icon from the icing set at the top right corner. That icon is the left most among those.

    Now you should see a frame where the character can stay. Walls has color with meaning: gray when character pass through camera follows. Orange where character cannot pass through. Red where character touches that it does instantly. You can change these colors by clicking on them. You can change frame size by dragging corners...
     
  4. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    MINIBOSSSSSSS!!!!! 1000th post!
     
    Jaky1, trudnai and Christoph like this.
  5. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    Lets get those 1k likes as well :D
     
    Jaky1 likes this.
  6. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    You and @heathclose are quite close to that - Go, go, go! :)
     
    Jaky1 likes this.
  7. blackswan

    blackswan Avid Boxer

    Joined:
    Nov 14, 2015
    Messages:
    109
    Likes Received:
    45
    Thanks for the responses.

    Thank you trudnai this fixed it! :cool:
    I wonder why it is turned off by default???
     
    Last edited: Oct 9, 2016
    trudnai likes this.

Share This Page