Scrolling options

  • #1, by gustySaturday, 20. April 2013, 20:28 8 years ago
    Hello, is there an option to scroll the screen not by the character's center point (as default) but manually when I point a cursor on the edge of the screen?

    Forum Fan

    159 Posts


  • #2, by afrlmeSaturday, 20. April 2013, 21:38 8 years ago
    http://www.visionaire-studio.net/forum/thread/problem-with-s...

    also there's an auto-scroll feature which scrolls the scene is larger than the game resolution by moving mouse cursor to edge of the screen - you have to activate this in each scene properties tab - it's at the very bottom of the properties > "Scroll scene if the cursor is at screen edge"

    Imperator

    6846 Posts

  • #3, by gustySaturday, 20. April 2013, 22:07 8 years ago
    Thanks AFRLme, that "Scroll scene if the cursor is at screen edge" function works fine, but I don't like when I stop scrolling (cursor leaves the edge) then it's autoscrolling back to the character's center. I would like to fix the position in the screen just where I leave the edge and it stays no matter of where the character is. Would it be possible?

    Forum Fan

    159 Posts

  • #4, by afrlmeSunday, 21. April 2013, 02:01 8 years ago
    read the thread I linked.
    Cross achieved what you want by executing a single line of code in Lua.

    it's late now otherwise I would explain it a bit better.

    Imperator

    6846 Posts

  • #5, by gustyTuesday, 23. April 2013, 17:12 8 years ago
    Could you please explain it better now? I'm really terrified of programming and scripting.

    Forum Fan

    159 Posts

  • #6, by afrlmeTuesday, 23. April 2013, 18:49 8 years ago
    actually I'm a daft git, really (so bloody obvious - no idea why I was trying to find a solution with Lua)

    in scenes that you want it to scroll; go into the scene properties tab & tick the "Scroll scene if the cursor is at screen edge" check-box at the bottom & then in a "at begin of scene" action > scenes > center scene on character permanently (current character with clear centering check-box ticked)

    this will prevent the scene from scrolling back to the character.

    Imperator

    6846 Posts

  • #7, by gustyWednesday, 24. April 2013, 21:44 8 years ago
    It's works perfectly! Thank you AFRLme!

    Forum Fan

    159 Posts

  • #8, by afrlmeWednesday, 24. April 2013, 22:48 8 years ago
    no problem wink

    Imperator

    6846 Posts

Write post