Menu
Login
Language
DE EN FR ES IT CZ
Back

Scrollbereich Kulisse erhöhen? (links rechts)

  • #1, by darkconsul Saturday, 23. February 2019, 19:53 7 years ago Quote
    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 afrlme Saturday, 23. February 2019, 21:44 7 years ago Quote
    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

    7290 Posts