logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Simple Question on Desired Screen Behavior

    Scheduled Pinned Locked Moved
    Help and Support
    2
    5
    225
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ZuniSoftZ
      ZuniSoft
      last edited by ZuniSoft

      With screen following on, how do I get my player to reach the edge of the screen and stop? Super Mario like level behavior…

      I have tried walls and enabling/disabling screen follow. Still showing too much unusable screen space.

      This is a simplification of my other lengthy post.

      RobinsonXR 2 Replies Last reply Reply Quote 0
      • RobinsonXR
        RobinsonX @ZuniSoft
        last edited by

        @krdavis Disabling the screen follow should make the screen stop following the player. If you have an invisible wall, make sure it is a wall object. Scenery objects do not have collision.

        Note that this wall should be passable and be somewhere where the screen should stop following - because if your player is running into a solid (non-passable) wall and the screen stops following when the player collides with the wall, then you'll still see screen space.

        1 Reply Last reply Reply Quote 0
        • RobinsonXR
          RobinsonX @ZuniSoft
          last edited by

          @krdavis Another fix is to simply add more usable screen space so this wouldn't be an issue.

          ZuniSoftZ 2 Replies Last reply Reply Quote 0
          • ZuniSoftZ
            ZuniSoft @RobinsonX
            last edited by

            @RobinsonX thanks, I am back to playing with walls to enable/disable screen following. I keep having a screen shift on re-enabling following on the x and y axis that has me flummoxed.

            1 Reply Last reply Reply Quote 1
            • ZuniSoftZ
              ZuniSoft @RobinsonX
              last edited by

              @RobinsonX Got working by setting my player’s anchor to the correct value. It was causing the erratic behavior. Thank you for your input!

              1 Reply Last reply Reply Quote 1
              • First post
                Last post