Scrolling options

  • #1, z gustySaturday, 20. April 2013, 20:28 hodinky 12 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?

    Fanoušek fóra

    159 Posts


  • #2, z afrlmeSaturday, 20. April 2013, 21:38 hodinky 12 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"

    Imperátor

    7285 Posts

  • #3, z gustySaturday, 20. April 2013, 22:07 hodinky 12 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?

    Fanoušek fóra

    159 Posts

  • #4, z afrlmeSunday, 21. April 2013, 02:01 hodinky 12 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.

    Imperátor

    7285 Posts

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

    Fanoušek fóra

    159 Posts

  • #6, z afrlmeTuesday, 23. April 2013, 18:49 hodinky 12 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.

    Imperátor

    7285 Posts

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

    Fanoušek fóra

    159 Posts

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

    Imperátor

    7285 Posts