Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Disabling/enabling scene scrolling

  • #1, by Mateusz 8 years ago Zitieren
    I was wondering - is there a way to completly disable scene scrolling ("scrolling of scene when cursor is at screen edge") for a moment and later re-enable it?
  • #2, by afrlme 8 years ago Zitieren
    You can enable/disable scene scroll with mouse cursor with a line of Lua script.
    Scenes["example"].SceneScrollOnEdges = true

    or a more global approach which will enable/disable it for the currently displayed scene...
    game.CurrentScene.SceneScrollOnEdges = true

    Replace true with false to disable scrolling.

    You can execute these lines of code inside of an execute a script action part.
  • #3, by Mateusz 8 years ago Zitieren
    Thank you, works like charm.