Unwanted vertical scrolling

  • #1, by birenberggThursday, 25. May 2017, 11:22 3 years ago
    Hi!

    I make a game with background 356*200 and a LucasArts-like bottom verb interface (56*200). When my character gets too close to the interface area the background (with the character) slides up and reveals a black space under it.

    If I remove the interface, this problem doesn't occur.

    The issue happens both on VS4 and VS5.

    Did anyone gets this problem too? Any ideas how to solve it?

    Newbie

    7 Posts


  • #2, by sebastianThursday, 25. May 2017, 11:32 3 years ago
    The engine thinks you want to see the space underneath it... 

    just set the interfaces position to "absolute" and its y coordinate to "height of game resolution " - " height of interface " and it should work as expected. 

    Thread Captain

    2337 Posts

  • #3, by birenberggThursday, 25. May 2017, 11:35 3 years ago
    The engine thinks you want to see the space underneath it... 

    just set the interfaces position to "absolute" and its y coordinate to "height of game resolution " - " height of interface " and it should work as expected. 

    It worked, thanks a lot!

    Newbie

    7 Posts

Write post