Scrollbereich Kulisse erhöhen? (links rechts)

  • #1, by darkconsulSaturday, 23. February 2019, 19:53 6 years ago
    Leider scrollt momentan bei mir die Szene erst, wenn ich ca. 1 px vom Rand entfernt bin. Wie erhöht man diesen Bereich?

    Newbie

    40 Posts


  • #2, by afrlmeSaturday, 23. February 2019, 21:44 6 years ago
    Insert one of these into an execute a script action part somewhere - maybe in the game launch actions section...

    Scroll when character moves:

    game.HorizontalScrollDistance = game.WindowResolution.x / 2
    
    game.VerticalScrollDistance = game.WindowResolution.y / 2


    Scroll when character is x distance from edge (change value [pixels])

    game.HorizontalScrollDistance = 100
    
    game.VerticalScrollDistance = 100

    Imperator

    7285 Posts